joflux documentation · v0.1.9
Move the whole org.
Verify every repo.
joflux moves a GitHub organization’s repositories into Forgejo or Codeberg. Each of its five stages
is its own command and writes its results as JSON, so you can check what happened before the next
one, and archive only touches GitHub once you’re happy.
$ brew tap netspeedy/joflux && brew install joflux$ joflux --config joflux.toml export 02:39:52 - INFO - Fetching repositories from GitHub org: my-github-org 02:39:52 - INFO - Found 14 repositories 02:39:52 - INFO - Inventory saved: migration_output/repos-inventory.json 02:39:52 - INFO - Exported 14 repositories (3 private, 1 forks, 1 archived)
# writes migration_output/repos-inventory.json $ joflux --config joflux.toml export # writes migration_output/migration-log.json $ joflux --config joflux.toml migrate # writes migration_output/migration-status.json $ joflux --config joflux.toml monitor # writes migration_output/verification-report.json $ joflux --config joflux.toml verify # writes migration_output/archive-log.json $ joflux --config joflux.toml archive
# joflux.toml [github] org = "my-github-org" # token = "ghp_your_github_token" # Prefer JOFLUX_GITHUB_TOKEN in the environment for real migrations. [forgejo] url = "https://codeberg.org" org = "my-forgejo-org" # token = "your_forgejo_or_codeberg_token" # Prefer JOFLUX_FORGEJO_TOKEN or JOFLUX_CODEBERG_TOKEN in the environment. [migration] poll_interval = 30 max_wait_time = 3600 log_level = "INFO" output_dir = "migration_output" metadata = true
Browse the docs
From a first export to every config key.
Getting started
Install it and export a first inventory.
The five stages
Export, migrate, monitor, verify, archive.
Guides
Plan the move and set up the config.
Reference
Look something up.