jupyterhub / jupyterhub/nbgitpuller

nbgitpuller binder link generator not working with repos other than GitHub.com

Open
#286 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
237
Forks
86
PR merge metrics
No merged PRs in 30d

Description

### Bug description

The [nbgitpuller link generator](https://jupyterhub.github.io/nbgitpuller/link?tab=binder) 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 with `https://mybinder.org/v2/gh/` instead of `https://mybinder.org/v2/gl/` and does not turn `fkohrt/RMarkdown-sandbox` into `fkohrt%2FRMarkdown-sandbox`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.