-
Notifications
You must be signed in to change notification settings - Fork 135
Support an API token for rate limit release #74
Comments
Yea, this was bound to happen one day. I'm looking into adding an OAuth token. We have a For this I need to find the correct OAuth scope that only boosts the public rate limit without giving access, because the Also note: there was also a issue with the cache not keeping as long as expected, this is fixed for |
Update: Github has the limited OAuth scope I needed and I have a basic test working here. Need a little to make it nice but is definitely in next version. |
Preview landed: https://github.com/DefinitelyTyped/tsd/releases/tag/0.5.7-alpha See the readme for info. Does this work for you? |
@Bartvds Great! 👍
It seems to works fine! |
Good to hear. I'll try to push 0.5.7 to npm soonish. Side note: I'm almost though with converting all the code to modules (import/require). (in a branch so 0.5.7 is still old style) |
@Bartvds good idea. |
I also got rate limit again 😖 |
Sorry, my bad: I was making 0.5.7 ready earlier but got side tracked on a node 0.11 bug (I needed node 0.11 here for other things). I try to make it next day, it is time. |
@vvakame I just published 0.5.7 to npm |
😸 that's great! |
For build environments like Travis, it would be great if the token could be retrieved from an environment variable instead of needing to be in a file. If GitHub finds a token in plaintext committed to a repo, the token will be revoked. |
👍 For environment variable. Almost every third build crashes due to 403. |
You can ever use standard |
Please support an API token for rate limit release.
https://github.com/DefinitelyTyped/tsd#github-rate-limit
This problem happened in the office that there is me.
with grunt-tsd
Check for a response from github.
and my tsd.json
my Gruntfile.js
homebrew's solution
http://stackoverflow.com/questions/20130681/setting-github-api-token-for-homebrew
It may be another problem, but it is willing cache is not enabled?
not exists
0854df3b0f7187ae445453aaad2563a97b70df08
$ find ~/.tsd-cache /Users/vvakame/.tsd-cache /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/51 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/83 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/83/83b1e137418a79e2e25c07eac78a6ffa1f3727f2.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/83/83b1e137418a79e2e25c07eac78a6ffa1f3727f2.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/_info.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-api-v3.0.0-fmt1.0/b5 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/19 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/19/1971aa9c880b2211f1fdc822f83a5a4395f3f23a.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/19/1971aa9c880b2211f1fdc822f83a5a4395f3f23a.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/_info.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/be /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/be/be6cc5afc78efdc17f57a5aa3b1caac2e9e435b4.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/be/be6cc5afc78efdc17f57a5aa3b1caac2e9e435b4.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/cb /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/cb/cb06387a0110f30d73b5f464bb3c1b9c148f8763.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/cb/cb06387a0110f30d73b5f464bb3c1b9c148f8763.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d5 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d5/d5a3a92bfabd1164b0f5b9c924a45f4085d102ab.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d5/d5a3a92bfabd1164b0f5b9c924a45f4085d102ab.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d8 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d8/d86bd51b08cd92414fc1cc7b28a9355d1f293c6d.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/d8/d86bd51b08cd92414fc1cc7b28a9355d1f293c6d.raw /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/e5 /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/e5/e55ce68613cf6993929335d66a61d0b6e94d177d.json /Users/vvakame/.tsd-cache/borisyankov-DefinitelyTyped/git-raw-fmt1.0/e5/e55ce68613cf6993929335d66a61d0b6e94d177d.raw
The text was updated successfully, but these errors were encountered: