Created
June 3, 2014 18:51
-
-
Save sirkkalap/436290047375919ccfee to your computer and use it in GitHub Desktop.
What to do when your homebrew reinstall exceeds github rate limit?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
petrisi@karnak ~ brew search subversion | |
subversion | |
Error: GitHub API rate limit exceeded | |
Solution: | |
Visit github.com -> settings -> applications and add a authentication token for homebrew | |
Visit the given key to check it is ok | |
petrisi@karnak > ~ > curl -i -H "Authorization: token xxxxxxx" https://api.github.com/users/sirkkalap | |
HTTP/1.1 200 OK | |
Server: GitHub.com | |
Date: Tue, 03 Jun 2014 18:38:16 GMT | |
Content-Type: application/json; charset=utf-8 | |
Status: 200 OK | |
X-RateLimit-Limit: 5000 | |
X-RateLimit-Remaining: 4990 | |
X-RateLimit-Reset: 1401824145 | |
export the key for homebrew | |
export HOMEBREW_GITHUB_API_TOKEN=xxxxxxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to http://rcmdnk.github.io/blog/2013/12/05/mac-homebrew/