-
Notifications
You must be signed in to change notification settings - Fork 196
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
Contributors list is empty - error? #112
Comments
Hmm, I've also tried it on
So, according to that, we're well under |
@jywarren I tested after going back in commits (recent ones) and it's working properly at that point...I believe 2 of the recent commits (which include changes in |
also we may not be on a very recent version in gh-pages, so perhaps we
should start versioning more consistently -- you should be able to check
package.json at least though...
…On Thu, Jan 3, 2019 at 10:39 AM Rishabh Rawat ***@***.***> wrote:
@jywarren <https://github.com/jywarren> I tested after going back in
commits (recent ones) and it's working properly at that point...I believe 2
of the recent commits (which include changes in dist/) are the cause, let
me just be sure enough then I'll update you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJyKkYJn9WpH6wVLqqlJnapNuyqj2ks5u_iQfgaJpZM4ZnV9J>
.
|
github api server is showing 403 error |
it's showing that { |
i don't think that this is because of last commits |
Hi @jywarren, I just tested I wonder what's the cause...what do you think might it be? |
Hmm. Here's what i see in logs: https://gist.github.com/jywarren/d1e74c754a52cc51db709f7c4d0a13f7 It still looks like the 403 exhausted queue. How long should it take for my queue to refill?
|
Anyways glad most people aren't seeing this! |
After every 60min queue gets refilled... |
ok!
…On Mon, Jan 7, 2019 at 10:40 AM Rishabh Rawat ***@***.***> wrote:
After every 60min queue gets refilled...
Can you please try once again when your quota get refilled (takes 1hr to
refill), just remove everything from your localStorage and then visit the
site (make sure to visit the URL after removing the localStorage)...if it
still throws 403, something wrong is in the code then...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ8ByyKpPSm1Vnq8LZBKhTVJdFocjks5vA2pGgaJpZM4ZnV9J>
.
|
@jywarren Hmm, I see...I've also tested it on another computer and it's still showing these 403s...I saw how all this is all happening (plots2 sends 4 requests and fetching all the contributors takes ~40 requests not 20 😕, according to network tab)... I guess to resolve this problem I should make my changes live somewhere so that people can test it before actually merging it because it includes changes in almost every part of the project...what do you think, should I make my MVC work live somewhere first (in order to check it) once complete it? |
@jywarren I've found why we're hitting the limits of API almost everytime 😄 I'll be refactoring the code now...Mainly the focus will be,
And, after above things get done...there'll be 1 remaining thing to which is, showing recent contribs and normal contribs according to repository filter provided in the URL...but this will be covered in my "MVC" PR... |
wow this is super awesome work!!! Thank you so much!
Hmm. Could we... get more complete data for fewer repositories? Like 4
pages from the top 10, or top 8?
…On Thu, Jan 10, 2019 at 10:10 AM Rishabh Rawat ***@***.***> wrote:
@jywarren <https://github.com/jywarren> I've found why we're hitting the
limits of API almost everytime 😄
Actually, we're making 2 requests per repository...first to collect total
number of pages that the request gives us back and then iterating on those
pages to collect the data of contributors...so we're making ~40 requests
for 20 repos and 20 is consumed by the data of recent contributors and some
extra requests for fetching repos and issues. Hence, we're going above 60.
I'll be refactoring the code now...Mainly the focus will be,
-
Reducing the requests per repo so that we make ~20 requests for 20
repos (we might sacrifice preciseness of contributors count, the biggest
difference will occur in plots2 contributors' data because its
response contains 4 pages of data & we'll be getting data from only 1 page
if we want to reduce the requests count...it would be a tradeoff)...[*suggestion
needed*]
-
Reducing the number of requests we make for showing recent contributors.
Currently, code makes 10 requests for fetching contributors last week and
10 for contributors last month...I'll try to do all this with 10 requests
for contributors last month and filtering out contributors last week out of
them.
And, after above things get done...there'll be 1 remaining thing to which
is, showing recent contribs and normal contribs according to repository
filter provided in the URL...but this will be covered in my "MVC" PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJxv8pS0DXkmt7xFEaWY-YeuIuLQ7ks5vB1e4gaJpZM4ZnV9J>
.
|
Actually, I'm also thinking this way :) I'll take a look at the contribs count once again for each repo to be sure...I guess we'll able to allow few repos to make more than 1 requests... |
Hi @jywarren, can you please take a look at https://rishabh570.github.io/community-toolbox/ |
Hmm, maybe i have to wait an hour before doing it?
…On Fri, Jan 11, 2019 at 12:25 PM Rishabh Rawat ***@***.***> wrote:
Hi @jywarren <https://github.com/jywarren>, can you please take a look at
https://rishabh570.github.io/community-toolbox/
I've done some modifications and pushed them to my gh-pages branch and
they're live at above URL...can you please visit this and check if
everything is working fine or not (hopefully 403 shouldn't be there now)...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ1R9EwPwgSWQefUOXYW_gZbsK6Xzks5vCMjPgaJpZM4ZnV9J>
.
|
@jywarren Yes, quota should be full... |
@jywarren Is it working fine? I would be opening a PR for it if its working okay... 🤞 |
Hmm, at https://code.publiclab.org#r=all, i'm seeing nobody in the contributors list; same in incognito mode. I haven't loaded it for days, so I don't think it's queue exhaustion. Anyone have ideas? @Rishabh570 maybe?
Thanks!
The text was updated successfully, but these errors were encountered: