You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devbox plugins are great, however I would like to retrieve privately hosted Devbox plugins that are stored on my Gitlab server. If this is possible, it's not clear how to go about using the correct address & protocol. It doesn't appear Devbox even supports public facing plugins hosted on Gitlab.
What solution would you like?
Support the same protocols and syntax flakes currently do:
Since GitLab allows for self-hosting, you can specify host as a parameter, to point to any instances other than gitlab.com.
Some examples:
gitlab:veloren/veloren
gitlab:veloren/veloren/master
gitlab:veloren/veloren/80a4d7f13492d916e47d6195be23acae8001985a
gitlab:openldap/openldap?host=git.openldap.org
So I think the right reference for your private hosted Gitlab would be:
@Lagoja thank you for the recommendation. My exact situation adds some complexity since the GitLab server I'm attempting to access is done via tunnel using the aws ssm start-session subcommand (I don't expect awareness/understanding of that CLI). However, it unfortunately seems that using the a scheme other than gitlab returns an error of the form:
Error: unsupported flake reference URL scheme: X
After starting the tunnel, repos are cloned using git clone ssh://git@localhost:1234/namespace/repo (the port may differ), and attempted this:
{// other sections in the devbox.json"include:"["gitlab:namespace/repo?host=localhost:1234&dir=plugin"]// other sections in the devbox.json}
Below are a few of the others I tried, and returned a message of Error: unsupported flake reference URL scheme: X or Error: unsupported ref type "X".
What problem are you trying to solve?
Devbox plugins are great, however I would like to retrieve privately hosted Devbox plugins that are stored on my Gitlab server. If this is possible, it's not clear how to go about using the correct address & protocol. It doesn't appear Devbox even supports public facing plugins hosted on Gitlab.
What solution would you like?
Support the same protocols and syntax flakes currently do:
ie.:
Alternatives you've considered
If this is not currently supported, I'm more than happy to create a PR with the feature.
The text was updated successfully, but these errors were encountered: