Open fkohrt opened 1 year ago
Thanks for opening this! This only applies to the binder tab, right?
I never used the other tabs so I don't know if they have a similar issue, I noticed it when using the Binder tab.
Also I just noticed that this is not limited to GitLab.com, but in fact applies to all providers other than GitHub.com. Here's a small collection of repos that work with mybinder.org but not with the nbgitpuller link generator:
https://framagit.org/prof_sabra/seconde-snt.git
0db14ba2da1198cbca74d37ce97fc60d9de9ba7c
https://codeberg.org/LadueCS/Intro-to-Python.git
ea6c32c16e8713e7f8f35e6e6c4ec0b913526f4f
https://git.sr.ht/~hww3/pike-binder-example
df3fa933205c13a8a0efc6e04293de848d7adf91
Note that actually launching Sourcehut repos currently does not seem to work, see jupyterhub/binderhub#1590.
https://bitbucket.org/ueacomputervision/image-labelling-tool.git
101af660416f35070e59da3a44a5e57f2b7e2397
Bug description
The nbgitpuller link generator makes it look like you can enter any "Git Environment Repository URL", while in fact no working links are generated for GitLab.com repositories.
Expected behaviour
Either a correct label such as
GitHub Environment Repository URL
or actually working links.Actual behaviour
If I enter e.g.
https://gitlab.com/fkohrt/RMarkdown-sandbox
and some content repository (e.g.https://github.com/binder-examples/r
), the resulting link starts withhttps://mybinder.org/v2/gh/
instead ofhttps://mybinder.org/v2/gl/
and does not turnfkohrt/RMarkdown-sandbox
intofkohrt%2FRMarkdown-sandbox