Support pulling from a private repo
See original GitHub issuenbgitpuller
is presumably intended for use with public repositories, but is there also a way of pulling files down from a private repo?
Presumably this would require a key adding to the repo URL, ideally set from a read-only account on the repo?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:15 (5 by maintainers)
Top Results From Across the Web
git - Clone A Private Repository (Github) - Stack Overflow
Open a git shell then git clone https://github.com/user/repo . Enter username and password when prompted. No need to setup a SSH key.
Read more >Accessing private GitHub repos - UC Berkeley's JupyterHubs
Go to the GitHub app for the hub you are interested in. · Click the 'Install' button. · Select the organization / user...
Read more >Using Private Git Repositories - Ping Identity DevOps
In GitHub, go to Settings --> Developer Settings --> Personal access tokens . · Click Generate new token and assign the token a...
Read more >When making a private GitHub repository public, audit the pull ...
When making a private GitHub repository public, audit the pull requests · Cycle all the credentials · Rewrite the git history to remove...
Read more >[Support Guide] How do I access private repositories in the ...
The link from your repository to our service only authenticates us against the “main” repo that you first configured, and won't automatically ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@betatim Thanks for the tips. To expand a bit on what I had to do to get the nbgitpuller link to work:
Create a Personal Access Token following these directions and copy the key to some place safe
Use the nbgitpuller constructor to help build the URL
In the Repo_url field add your
GitHubUserName : SecretToken @
between the http:// and your git branch URL(no spaces, I just added those for emphasis. Don’t forget the .git at the end of the URL pathI’ve got it working with github.com/yuvipanda/git-credential-helpers. There’s some helpful config here, here. https://github.com/utoronto-2i2c/jupyterhub-deploy#pulling-from-private-github-repos-with-nbgitpuller describes the final workflow.
Would love for someone to write this up! I’ll try and find some time in the next month for it…