Skip to content
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

Changelogs are limited to 20 issues #12

Open
AwsmOli opened this issue Dec 10, 2019 · 3 comments
Open

Changelogs are limited to 20 issues #12

AwsmOli opened this issue Dec 10, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@AwsmOli
Copy link

AwsmOli commented Dec 10, 2019

When i try to generate a Changelog for a Tag that has more than 20 issues closed i just get 20 issues.

From the code i would say its the pagination from gitlab that limits the Request when fetching issues.

https://docs.gitlab.com/ee/api/README.html#pagination

if you add per_page=100 the limit would be increased to 100 issues which should be fine for most people

@jk1z jk1z added the bug Something isn't working label Dec 13, 2019
@jk1z
Copy link
Owner

jk1z commented Dec 13, 2019

Thanks for the bug report, I will have to look into it tomorrow. because I did implement a function in gitlab.js to iterate all issues and merge request until the next header is not available for the paginated request.

@jk1z
Copy link
Owner

jk1z commented Dec 14, 2019

image

Hmm tried to generate a changelog against a repo that has over 20 merge requests...and it worked...I cannot reproduce the problem. I will try to make 20 more issues tomorrow to see if I can reproduce the bug. Hmm... but they all used the same pagination iterating algorithm

@mprintemps-wisekey
Copy link

Having the same issue. Seems like the Gitlab API limit the returned results to 20.
Is there any plan to fix this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants