Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

build.sh: Increase GitLab tag fetch limit to 100 per page

Jackeagle requested to merge 3437-master-increase-tag-limit into master

Description

Adjusted the GitLab API call used to check tag existence by appending ?per_page=100 to fetch up to 100 tags in a single request. This avoids missing tags due to GitLab’s default pagination limit of 20 per page.


Issue(s)

https://gitlab.e.foundation/e/os/backlog/-/issues/3437


Test procedures

  1. Trigger a release build using old release tag
  2. Verify that the tag is successfully detected and repo init is successful if it exists in the first 100 tags.

Technical details

  • GitLab API limits tag listing to 20 results per page by default.
  • per_page=100 added to retrieve more results without implementing full pagination.

Check list

  • Self review
  • Test procedure explained
  • Tested on fresh install
  • Tested applied as an update

Merge request reports

Loading