feat: Add support for tag migration#212
Merged
gridhead merged 2 commits intofedora-infra:mainfrom Jul 15, 2025
Merged
Conversation
4b4fa4e to
c971366
Compare
Fetch tags from source repo and migrate all/specified tags to the destination repo Signed-off-by: Shounak Dey <shounakdey@ymail.com>
c971366 to
75b0e99
Compare
Test the tag migration functionality Signed-off-by: Shounak Dey <shounakdey@ymail.com>
75b0e99 to
ad951c7
Compare
gridhead
approved these changes
Jul 15, 2025
Member
gridhead
left a comment
There was a problem hiding this comment.
Thanks for working on modularizing the parts of the codebase on the top of the requested feature. I will now merge this because I suspect that the secrets are not made available to the contributions that come from outside the origin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
This PR introduces support for migration of tags from source repository to destination repository.
Migration of tags uses similar approach which was uitilised for migrating the branches along with tests for checking the functionality.
As the tests uses repository gitlab.com/gridhead/protop2g-test/ as destination for migrating the the branches, same is used for migrating the tags.
Tags form centos/rpms/systemd and fedoraproject/rpms/systemd are migrated to gitlab/gridhead/protop2g-test.
Note: As the source repository pagure/protop2g-test-srce didn't have any available tags in it, complete testing of migrating tags in modules
test_repo_fedoandtest_unit_repowere not possible.@gridhead, will it be possible to create a couple of releases in pagure/protop2g-test-srce? This would help in testing the migration of tags from
pagure.io. Having the source changed and changing all the test seems unfeasible.The tests are passing locally (ref. the below snapshot).
But the same tests seems to be failing in the GitHub's CI.
The failures of this CI run seems very similar to the failure of CI run for PR which we believed was causing by the unavailability of the
pagureservices due to AI scraper attacks.Not sure what the root cause might be now, as the
pagureservices seems to be working.Thank you for reviewing the PR at your convenience.
Fixes: #187