Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it work for private repos? #5

Open
sdelquin opened this issue Mar 6, 2019 · 8 comments
Open

Does it work for private repos? #5

sdelquin opened this issue Mar 6, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@sdelquin
Copy link

sdelquin commented Mar 6, 2019

I have access to my students's private repos, and i usually need to download specific folders of their repos. This tool seems great, but it apparently does not work with private repos (i do have access though).

@sdushantha
Copy link
Owner

I have not tested this on private repos. But I think we would have to pass the credentials (username and password) with the requests in order for you to access the private repo. I will try find a way to make a way to let users login if it a private repo :)

@sdushantha
Copy link
Owner

@sdelquin Do you know how to login to GitHub with Python? Im not able to do it for some reason.

@sdelquin
Copy link
Author

sdelquin commented Mar 7, 2019

Not really :/

@sdushantha sdushantha added the enhancement New feature or request label Mar 25, 2019
@sdushantha
Copy link
Owner

@sdelquin I dont think private repos will work. Also, I dont plan to support private repos. 😿

@SelfhostedPro
Copy link

You can login to GitHub using the python GitHub API https://github.com/PyGithub/PyGithub

@sdushantha sdushantha reopened this Jun 13, 2020
@sdushantha
Copy link
Owner

@SelfhostedPro Very interesting! I will have to take a look at the documentation to see it is able to get files from a branch or get the files of folder in a the given repo

@sdushantha
Copy link
Owner

This is something we have to be aware of: https://developer.github.com/changes/2020-02-14-deprecating-password-auth/

@SelfhostedPro
Copy link

PyGithub enables you to use Access tokens so you don't need to worry about that deprecation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants