Fixes
- Labels created again on every sync (#670, #671, thanks @zwimer). Newer Gitea versions, like 1.27, return only the first 30 labels of a repository unless the list is read page by page, and the issue and pull request passes read it in one request. In a repository with more than 30 labels, the ones later in the alphabet, such as
pull-requestandquestion, looked missing and were created again,pull-requeston nearly every sync. Issues mirrored at the same time could also create the same new label twice, on any version. Labels are now read page by page and each one is created once. - Existing duplicate labels are cleaned up. The first sync of each repository after the update merges labels that share a name into the oldest one: issues carrying a copy get that label first, then the copies are deleted, so no issue loses a label. It reads the mirror's issues once to do this, only while copies exist, and asks GitHub for nothing.
Changes
- Labels created for mirrored issues now get their GitHub color instead of gray, as labels created for pull requests already did.
Notes
- No database migrations.
As always, back up your Gitea before upgrading.
Full changelog: v3.68.0...v3.68.1