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

Authorize GitHub calls #509

Closed
sergey-tihon opened this issue Jan 3, 2015 · 7 comments
Closed

Authorize GitHub calls #509

sergey-tihon opened this issue Jan 3, 2015 · 7 comments

Comments

@sergey-tihon
Copy link
Member

Unauthorized API calls has very small call per hour limit:

Unauthenticated requests will be limited to 60 per hour ... To enjoy the default rate limit of 5,000 requests per hour, you’ll need to authenticate via Basic Auth or OAuth

It is very annoying when you has GitHub dependencies
image

As workaround I would like to be able to create paket.exe.config and specify my GitHub username and password. This should allow me work without limits and delays.

@forki Your thoughts about this?

@forki
Copy link
Member

forki commented Jan 4, 2015

Related: #510

@sneal
Copy link

sneal commented Apr 15, 2015

I'd prefer to use a GitHub API key instead of my username and password.

@JonCanning
Copy link
Contributor

Just been looking at this, we would like to use a token to retrieve files from private repos. The possibilities seem to be:

Adding the token to the top of the dependencies file:
source https://github.com/forki/FsUnit token

Adding it in line:
github forki/FsUnit FsUnit.fs token

Or adding it to the paket.config

Any thoughts/guidance?

@forki
Copy link
Member

forki commented Oct 2, 2015

I guess the config would be most helpful.

@baronfel
Copy link
Contributor

baronfel commented Oct 2, 2015

For bonus points, once we have the concept of github tokens we could use the github releases api in the bootstrapper instead of HTML parsing, if the token was present.

@forki
Copy link
Member

forki commented Oct 2, 2015

I don't think that's needed. Would just introduce more stuff to the
bootstrapper
On Oct 2, 2015 14:39, "Chester Husk III" [email protected] wrote:

For bonus points, once we have the concept of github tokens we could use
the github releases api in the bootstrapper instead of HTML parsing, if the
token was present.


Reply to this email directly or view it on GitHub
#509 (comment).

@forki forki closed this as completed Oct 5, 2015
@forki
Copy link
Member

forki commented Oct 5, 2015

released in 2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants