course-starter-python icon indicating copy to clipboard operation
course-starter-python copied to clipboard

Using gitlab doesn't work

Open NixBiks opened this issue 5 years ago • 1 comments

Hi @ines

It seems that the juniper settings in meta.json is only valid for GitHub repositories?

Looking in src/components/juniper.js I see that you have

const binderUrl = `${url}/build/gh/${repo}/${branch}`

But when I visit the Binder ui then it seems the url are

https://mybinder.org/v2/gl/nixd%2Fpython-starter-course/binder

instead of

https://mybinder.org/v2/gh/nixd/python-starter-course/binder

I get v2 instead of build, gl instead of gh and %2F instead of / (last can be fixed in ${repo})

EDIT

Seeing your answer in this thread I might just have my juniper in a github repo but itself (if that works - still a bit confused about those links).

NixBiks avatar May 21 '19 09:05 NixBiks

I think the main difference here is gl instead of gh? %2F == / and I think the build URL is just the internal Binder URL to connect to from JupyterLab? You could just try and change it and see what happens?

ines avatar May 21 '19 17:05 ines