m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
425 stars 196 forks source link

Pushing 2 git repositories to the bare #1334

Closed RNourshargh closed 5 years ago

RNourshargh commented 5 years ago

Question

Is there a way to push experiments from 2 git repositories to the artiq dashboard?

Category: git

Description

I have made 2 git repositories to store my artiq code, one public and one private. The private repository (stored on the one computer currently running artiq) is integrated with artiq (pushing to a bare repository as per the instructions) and committed, pushed experiments appear in the dashboard and run as expected. I am hoping that I can push experiments from my second repository (this one public and containing simple examples to share with fellow beginners) to the dashboard as well but don't know how to do this. I tried importing the public repo as a submodule in the private repo but the experiments didn't appear even after the commit was pushed. Any advice on this would be greatly apreciated.

sbourdeauducq commented 5 years ago

No, this isn't implemented. But you can tell the master to use one repository or the other using its command-line arguments.

RNourshargh commented 5 years ago

Ok. Thank you. I've just managed to get that working.