- edited description
index all repositories in a group, not only the first 20
Problem We have 80 repositories in a group and this plugin seems amazing for us as it allows us to configure jira integration for all repositories for a group in one place.
Problem is the jigit plugin seems to only index commits in the first page of repositories (using default sorting "last created" in gitlab). There are 20 repositories default in a page in gitlab.
Solution proposal To avoid pagination issues when using the gitlab api set the per_page request parameter to 100. This is a very simple solution that will allow users to have a maximum of 100 rather than 20 repositories in a group and still use the jigit plugin successfully.
example https://git.svt.se/api/v4/groups/example-group/projects?per_page=100
an more complete solution is to use the page parameter to properly paginate
Best Regards Johan
Comments (4)
-
reporter -
reporter - edited description
-
repo owner Hi Johan,
Thanks for reporting. Of course it's better to fully support pagination.
-
repo owner - changed status to resolved
Fixes
#43: index all repositories in a group, not only the first 20→ <<cset f88c21b0de9a>>
- Log in to comment