Migrate tag2distrepo Repository from Pagure to Forgejo #13092

Closed
opened 2025-11-18 09:10:09 +00:00 by jnsamyak · 12 comments
Owner

tag2distrepo is used to map tags to distrepos and is tied closely to Koji workflows. As part of the Sprint 5 plan for migrating RelEng sub-repositories, we need to evaluate and migrate this repository to Forgejo within two weeks.


Phase 1: Investigation (Week 1)

Tasks:
Identify all scripts and automation paths that depend on tag2distrepo.
Review integration points with Koji, especially any API calls or hooks.
List open issues, branches, or PRs that need to be accounted for.
Validate compatibility with Forgejo migration tooling.

Phase 2: Implementation (Week 2)
Tasks:

  • Execute migration to Forgejo.
  • Verify the following post-migration:
    - All branches and commit history
    - Working scripts & tag mapping functionality
    - Koji workflows not broken by URL changes
  • Update references in Koji-related SOPs and scripts.
  • Close Pagure repository and replace with README redirect.

Acceptance Criteria

  • Repository migrated with no data loss.
  • Koji continues to correctly reference tag → distrepo mappings.
  • All tooling updated to use Forgejo URLs.
  • Pagure repository disabled and cleaned.
tag2distrepo is used to map tags to distrepos and is tied closely to Koji workflows. As part of the Sprint 5 plan for migrating RelEng sub-repositories, we need to evaluate and migrate this repository to Forgejo within two weeks. --- **Phase 1: Investigation (Week 1)** Tasks: Identify all scripts and automation paths that depend on tag2distrepo. Review integration points with Koji, especially any API calls or hooks. List open issues, branches, or PRs that need to be accounted for. Validate compatibility with Forgejo migration tooling. **Phase 2: Implementation (Week 2)** Tasks: - Execute migration to Forgejo. - Verify the following post-migration: - All branches and commit history - Working scripts & tag mapping functionality - Koji workflows not broken by URL changes - Update references in Koji-related SOPs and scripts. - Close Pagure repository and replace with README redirect. **Acceptance Criteria** - Repository migrated with no data loss. - Koji continues to correctly reference tag → distrepo mappings. - All tooling updated to use Forgejo URLs. - Pagure repository disabled and cleaned.
Author
Owner

Forgot to add one item, please also make sure to look out for the mailing list if connected, always make sure to send out an annoucment for this before moving, once you start working on it, make sure to send out "when" it will be moved so community knows about it.

Forgot to add one item, please also make sure to look out for the mailing list if connected, always make sure to send out an annoucment for this before moving, once you start working on it, make sure to send out "when" it will be moved so community knows about it.
Member

It seems that this is now integrated directly in Koji as a plugin, introduced by this commit [1] and promptly removed from Ansible in this commit [2].

My conclusion is that this repo is no longer needed, there is no need to migrate it, I think the best way to handle it would be to set it in read-only mode on Pagure and put a few words in the description.

[1] https://pagure.io/koji/c/7785be7758244016c860a84fa609acc6efb34eaf?branch=master
[2] https://pagure.io/fedora-infra/ansible/c/265d40b4f25157da79612fbdae3a4a90232c225f

It seems that this is now integrated directly in Koji as a plugin, introduced by this commit [1] and promptly removed from Ansible in this commit [2]. My conclusion is that this repo is no longer needed, there is no need to migrate it, I think the best way to handle it would be to set it in read-only mode on Pagure and put a few words in the description. [1] https://pagure.io/koji/c/7785be7758244016c860a84fa609acc6efb34eaf?branch=master [2] https://pagure.io/fedora-infra/ansible/c/265d40b4f25157da79612fbdae3a4a90232c225f
Member

Repository is now in read-only mode and I made some changes to the README.

https://pagure.io/releng/tag2distrepo/pull-request/10

Repository is now in read-only mode and I made some changes to the README. https://pagure.io/releng/tag2distrepo/pull-request/10
jnsamyak reopened this issue 2025-12-10 14:49:33 +00:00
Member

I sent out an e-mail to devel-announce, devel and test-announce mailing list with my findings and the decision NOT to migrate it, and asking people to chime in here if they disagree.

If nobody replies within the foreseeable future I reckon we can close this.

I sent out an e-mail to `devel-announce`, `devel` and `test-announce` mailing list with my findings and the decision NOT to migrate it, and asking people to chime in here if they disagree. If nobody replies within the foreseeable future I reckon we can close this.
Member

I did reply on list, I'd like these things migrated as archived repos.

I did reply on list, I'd like these things migrated as archived repos.
patrikp reopened this issue 2026-01-12 08:41:48 +00:00
Member

@ngompa This is supposed to be brought up in a FESCo meeting so that a decision may be reached about whether to migrate these repos for archival purposes or not.

@ngompa This is supposed to be brought up in a FESCo meeting so that a decision may be reached about whether to migrate these repos for archival purposes or not.
Member

Why is this a FESCo issue? It seems fairly obvious to me that we should carry them over and archive them.

Why is this a FESCo issue? It seems fairly obvious to me that we should carry them over and archive them.
Member

@jnsamyak @humaton Any chance either of you could weigh in here? Thank you.

@jnsamyak @humaton Any chance either of you could weigh in here? Thank you.
Owner

@patrikp go ahead migrate and archive the source repository.

@patrikp go ahead migrate and archive the source repository.
Author
Owner

I have migrated and archived this repository, this can be found here: https://forge.fedoraproject.org/releng/tag2distrepo

I have migrated and archived this repository, this can be found here: https://forge.fedoraproject.org/releng/tag2distrepo
Member

maybe create a new space under releng repo so it won't spam releng repos structure, like releng/archive/tag2distrepo

maybe create a new space under releng repo so it won't spam releng repos structure, like `releng/archive/tag2distrepo `
Member

That seems kind of silly? We could ask our forge developers to add a default filter instead.

That seems kind of silly? We could ask our forge developers to add a default filter instead.
Sign in to join this conversation.
No milestone
5 participants
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
releng/tickets#13092
No description provided.