Port all migrated repos to standard priority labels #1

Closed
opened 2026-01-28 17:34:59 +00:00 by adamwill · 3 comments
Owner

As part of the Pagure migration process, each repo had priority labels created. But we have 'standard' priority labels in Forgejo, created at the instance level and forked for each org as it's created. It would be good to use those labels instead of the per-repo labels created by the migration process, for consistency across the whole of Forge.

I'm writing a script to do this, copying chunks of code from the ones kparal wrote already. It shouldn't be difficult.

As part of the Pagure migration process, each repo had priority labels created. But we have 'standard' priority labels in Forgejo, created at the instance level and forked for each org as it's created. It would be good to use those labels instead of the per-repo labels created by the migration process, for consistency across the whole of Forge. I'm writing a script to do this, copying chunks of code from the ones kparal wrote already. It shouldn't be difficult.
adamwill added this to the Sprint 2 project 2026-01-28 17:34:59 +00:00
Author
Owner

I got the script working yesterday and converted a couple of smaller repos. Will polish it up a bit and run it on the other repos on Monday I guess.

I got the script working yesterday and converted a couple of smaller repos. Will polish it up a bit and run it on the other repos on Monday I guess.
Author
Owner

OK, I've now converted every repo except https://forge.fedoraproject.org/quality/tickets and submitted #3 with the script in it. I figured I'd wait till tomorrow's meeting to see if anyone sees any problems with the already-migrated repos or the script itself, before running it on the quality/tickets repo, since that's the biggest and most important.

OK, I've now converted every repo except https://forge.fedoraproject.org/quality/tickets and submitted https://forge.fedoraproject.org/quality/forge-helpers/pulls/3 with the script in it. I figured I'd wait till tomorrow's meeting to see if anyone sees any problems with the already-migrated repos or the script itself, before running it on the quality/tickets repo, since that's the biggest and most important.
Author
Owner

OK, https://forge.fedoraproject.org/quality/tickets is done now. #3 just needs review by @kparal . Closing this.

OK, https://forge.fedoraproject.org/quality/tickets is done now. https://forge.fedoraproject.org/quality/forge-helpers/pulls/3 just needs review by @kparal . Closing this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/forge-helpers#1
No description provided.