-
Notifications
You must be signed in to change notification settings - Fork 11
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
page size 100 #9
Conversation
1 All 6 ACCESS_TOKEN are invalid and used in the wrong way? document 2
It's very confusing. It took me a lot of time to understand the original meaning of this code. It just so happens that the default pagesize is 30, so you use the NUMBER_OF_SAMPLES constant? 3 I got this compilation error of grpc in the windows. Unless you downgrade to node v10 or update firebase to the latest version. So I updated all the packages to the latest version using npm-check by the way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we split this dependencies upgrade? I mean as a separate pull request?
Ad.1 Yes - the Github deprecated the approach (https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters) but I think these tokens should be removed at all (those tokens are not active anymore). I think the right approach would be to add some login screen to user Github auth in order to retrieve the token (without scopes - they are not needed in this case) or some additional modal to provide access token in order to increase rate limit - otherwise there will be the problem. Ad.2 The constant I would split this changes int smaller separte changes. Ad. 3. Lets upgrade it as separate PR. Will you do that or should I? |
I built a new pull request. In fact, I prefer the way auth token works in this project. There are many star-history projects that are authorized by the user OAuth elsewhere. But I think the current way of using Auth token is advantageous and convenient enough for the product. OAuth is always a threshold. If we can collect 20 token, we can have 100,000 requests/per hour , it's enough. And over time, the cache hit ratio of popular repo will become higher and higher. |
No description provided.