jk1z / gitlab-release-note-generator

A Gitlab release note generator
MIT License
97 stars 37 forks source link

Changelogs are limited to 20 issues #12

Open AwsmOli opened 4 years ago

AwsmOli commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 1 year ago

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