jupyterhub / binderhub

Run your code in the cloud, with technology so advanced, it feels like magic!
https://binderhub.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.54k stars 388 forks source link

GitHubRepoProvider not working #1642

Open AdrianSanchezLopez opened 1 year ago

AdrianSanchezLopez commented 1 year ago

Bug description

Using helm chart 1.0.0-0.dev.git.3025.h276be90 I try to configure repo authentication for GitHub with:

config: BinderHub: GitHubRepoProvider: access_token: <token>

Expected behaviour

Capability to clone private repositories

Actual behaviour

Error, BinderHub cannot clone the git repository: Could not resolve ref for gh:<edited-user>/<edited-private-repo>.git/HEAD. Double check your URL. GitHub recently changed default branches from "master" to "main".

How to reproduce

Deploy a local BindeHub instance on minikube, with GitHubRepoProvider and the provided helm chart version

Your personal set up

minikube version: v1.28.0 BinderHub helm chart: 1.0.0-0.dev.git.3025.h276be90

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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. welcome 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! :wave:
Welcome to the Jupyter community! :tada: