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
max-items
is just used for issues, but not for others
#755
Comments
max-items
is just useful for issues, but not for othersmax-items
is just used for issues, but not for others
Thanks for opening the issue @xiao623. From what I understand is, GitHub treats
I think this is unrelated to perceval and I'm afraid if the problem is from the github side. apache/spark#27058 has 197 comments
apache/spark#5694 has 406 comments
I would like to hear more comments from the other community members as well. |
@xiao623 - Maybe the value
I agree with @vchrombie that the problem is from the GitHub side |
Yes, I agree that the problem is from the Github side, and I ask for help in Before they fix the problem, we need to modify |
grimoirelab-perceval/perceval/backends/core/github.py
Line 731 in 4a65ece
The value of
max-items
is only used forissues
method, so what is the point of setting this value?For example:
grimoirelab-perceval/perceval/backends/core/github.py
Line 711 in 4a65ece
when we called
https://api.github.com/repos/apache/spark/pulls/27058/comments?per_page=100&direction=asc&sort=updated
, we gotServer Error
.But if
per_page
is 50, the response is 200.It should also be used in others methods so that we can set
per_page
what we want.The text was updated successfully, but these errors were encountered: