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
On the Binder tab for https://jupyterhub.github.io/nbgitpuller/link setting a branch on the Git Environment Repo also sets the same branch on the Git Content Repo in the generated URL even when this is not intended (i.e. branch for Content Repo is left as master).
I can edit the link manually (as I have done here) and obtain the correct behaviour.
Additionally, some quick checking suggests that:
Specifying a branch on the Git Content Repo but not the Environment Repo does not update the Binder link with the branch information for the content. The URL remains unchanged.
Having different branches specified for the Environment and Content repos results in the Binder link having the Environment Repo branch specified for both repos.
The fact that the links can be manually corrected to do the 'right' thing suggests to me that it's a 'simple' JavaScript issue on the link page (I've not touched JS since about version 1.1 so I'm not keen to start now). I don't have any other platforms on which to test to see if it's somehow specific to Chrome on OSX.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Bug description
On the Binder tab for https://jupyterhub.github.io/nbgitpuller/link setting a branch on the Git Environment Repo also sets the same branch on the Git Content Repo in the generated URL even when this is not intended (i.e. branch for Content Repo is left as
master
).Expected behaviour
Using the following parameters:
https://mybinder.org
https://github.com/kingsgeocomp/code-camp-env
notebook-v1.0
https://github.com/kingsgeocomp/code-camp
I would expect the autogenerated link to be:
https://mybinder.org/v2/gh/kingsgeocomp/code-camp-env/notebook-v1.0?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fkingsgeocomp%252Fcode-camp%26urlpath%3Dtree%252Fcode-camp%252F%26branch%3Dmaster
I can edit the link manually (as I have done here) and obtain the correct behaviour.
Additionally, some quick checking suggests that:
The fact that the links can be manually corrected to do the 'right' thing suggests to me that it's a 'simple' JavaScript issue on the link page (I've not touched JS since about version 1.1 so I'm not keen to start now). I don't have any other platforms on which to test to see if it's somehow specific to Chrome on OSX.
Actual behaviour
The link that was actually generated was:
https://mybinder.org/v2/gh/kingsgeocomp/code-camp-env/notebook-v1.0?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fkingsgeocomp%252Fcode-camp%26urlpath%3Dtree%252Fcode-camp%252F%26branch%3Dnotebook-v1.0
How to reproduce
Your personal set up
The text was updated successfully, but these errors were encountered: