-
Notifications
You must be signed in to change notification settings - Fork 4
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
limit of 600 PR ? #10
Comments
https://showmyprs.com/user/shurcooL says 722 PRs, so that means 600 cannot be an explicit limit. There may be another issue causing not all PRs to be displayed though. Where did you get the 1204 number from? |
Here's an idea, are any of your PRs made in private repositories? showmyprs wouldn't be able to show those, since it uses public data only. |
I see, then there's definitely some sort of issue in showmyprs. I can confirm that https://github.com/search?q=type%3Apr+author%3Apborreli+is%3Apublic&type=Issues finds 1210 public PRs for your username: I'll leave this to @karanjthakkar to investigate further. It seems the issue should be somewhere in this code: Lines 87 to 181 in a651f26
However, I'm not spotting any issues there just by looking at it. It's also possible some network connectivity issue caused the for loop to break out early (because |
thanks @shurcooL for the help 💯👍 |
@pborreli Sorry for getting back to you so late about this. I have been travelling thee past few days.
In case 1, I am planning to fix by giving the user an option to login with their account so that I can use their access token for it. This should fix the incomplete PR count issue. In case 2, however, there is no way for me to bypass the 1000 search results hard limit set by Github. I will investigate more on whether there are other ways to fetch your PR's without querying the search API. Sorry if I can't fix this sooner but I hope this gives you more clarity on what the issue is. cc: @shurcooL Just FYI :) Thanks for chipping in before and helping investigate this with @pborreli 💯 |
wow thanks for the investigation, I would log without problem is the scope is readonly and public, Maybe the solution without the need of login would be the search the api looping on year ? like in this answer ? |
@pborreli Thanks for searching for a workaround this issue. I think this is doable. I might need to refactor some logic of recursively fetching newer search pages. I'll add this to my list of todos. Alternatively, if you would like to take a shot at a PR for this, I'd be more than happy to help you out with that! |
https://showmyprs.com/user/pborreli indicates
Total pull requests sent: 600
It should be ~1204 instead
And it says :
Total contributed repositories: 459
It should be >800
The text was updated successfully, but these errors were encountered: