-
Notifications
You must be signed in to change notification settings - Fork 249
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
Fetch private repo #107
Comments
I think this http://stackoverflow.com/a/22314262 has some useful information. If I had time, I would implement this. |
Until this and the broader #51 are fixed, here is my quick hack around this issue to support private Github repos: https://github.com/mrinalwadhwa/raw-github |
private repos should definitely happen. it'll require a bit of a rewrite, but it's worth it. unfortunately, i've had little-to-no OSS time lately. i am, however, accepting PRs ;) |
This is the URL format that works for private repos "https://api.github.com/repos/#{user}/#{repo}/contents/#{path}?ref=#{version}&access_token=#{token}" |
This should be easy to support in clib-package, but:
|
@stephenmathieson Thanks for your response. |
You can now do this with personal access tokens by providing a |
Now, clib fetch raw file directly, so when i develop some stuff that included in a private repo, I just can not add that private repo as my new private repo dependency.
I wonder if clib can git clone the full repo then pick up and keep the files.
The text was updated successfully, but these errors were encountered: