Warning
Disclaimer: Vibe coded with Claude Code
Make sure you have your API tokens set:
$ gh auth status
$ export PAGURE_TOKEN=yourSecretToken
$ [ -n "$PAGURE_TOKEN" ] || (echo "Please set \$PAGURE_TOKEN" && false)
Migrate a project:
$ SRC="foo"
$ DST="frostyx/foo"
$ gh repo create "$DST" --public
$ python main.py -p "$SRC" -g "$DST" --create-github-issues-and-prs
$ python main.py -p "$SRC" -g "$DST" --close-pagure-issues-and-prs
After the migration is done:
- Copy the original project description to GitHub
- Push the code to the new repository.
- Push all the git tags to GitHub
- Create a branch like this in the old project and set it as default: https://pagure.io/copr/copr/tree/MIGRATED
- Archive the old project
- https://github.com/fedora-copr/copr-frontend-redhat (migrated 2026-02-26)
- https://github.com/fedora-copr/license-validate (migrated 2026-02-25)
- https://github.com/fedora-copr/rpkg-util (migrated 2026-02-25)
- https://github.com/fedora-copr/prunerepo (migrated 2026-02-24)