Skip to content

fedora-copr/pagure-to-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Migrate your Pagure project to GitHub

Warning

Disclaimer: Vibe coded with Claude Code

Usage

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

Migrated projects:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages