Skip to content

Releases: PatNei/GITHUB2FORGEJO

v1.2.0

Choose a tag to compare

@PatNei PatNei released this 16 Mar 21:16

What's Changed Since v1.1.0

New Features

  • Skip Fork Functionality - Added option to skip forked repositories during migration (MIGRATE_FORKS environment variable)
  • Dry Run Mode - Added ability to preview actions without executing them (DRY_RUN environment variable)
  • Linting and Formatting - Added code quality tools for better maintainability

Bug Fixes

  • Fixed bug where dry run message didn't appear on a new line

Improvements

  • Testing Script Enhancement - Updated testing script to run through all permutation combinations using dry-run mode
  • Known Issue Documentation - Added disclaimer about Forgejo mirror bug where authentication credentials are not properly saved

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@PatNei PatNei released this 15 Jan 20:23

Release Notes

This release introduces significant improvements to the migration process, including support for GitHub Organizations, enhanced security for secret inputs, and the ability to preserve repository archive status.

🚀 New Features

  • GitHub Organization Support: You can now migrate repositories directly from GitHub Organizations. The script attempts to auto-detect if the source is an organization, but you can also manually specify this using the GITHUB_IS_ORG environment variable.
  • Archive Status Transfer: When using the clone strategy, the archived status of repositories is now preserved during migration. This is enabled by default (MIGRATE_ARCHIVE_STATUS=Yes).
  • Secure Input for Secrets: Interactive prompts for GITHUB_TOKEN and FORGEJO_TOKEN now mask your input and obscure the values in the console output to prevent accidental exposure in logs.

📚 Documentation

  • Repository Filtering: Added a guide to the README on how to use fine-grained GitHub tokens to effectively filter which repositories are migrated.
    🛠 Configuration Changes
  • New environment variable: GITHUB_IS_ORG (true/false) - Force organization mode.
  • New environment variable: MIGRATE_ARCHIVE_STATUS (Yes/No) - specific to the clone strategy.

Full Changelog: v1.0.1...v1.1.0

v1.0.1

Choose a tag to compare

@PatNei PatNei released this 15 Jan 18:19

What's Changed

  • Added command check function to verify required tools. by @conner-s in #2
  • Fix Private Repositories on not working in newer Forgejo versions.
  • Added test environment that starts and configures a Forgejo docker instance.

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@PatNei PatNei released this 19 Apr 16:05
1e04e46

🚀 Initial Release – v1.0.0

This is the first release of the GitHub ➡️ Forgejo Migration Script, fully rewritten in Bash.

🔁 Inspired by [RGBCube's original version](https://github.com/RGBCube/GitHub2Forgejo), now repurposed for Bash users.

✨ Features

  • 🔄 Full GitHub-to-Forgejo repo migration
    • Supports both public and private repositories.
  • 🧠 Two migration strategies:
    • Mirror: Keep your Forgejo repos synced with GitHub.
    • Clone: One-time migration with no future sync.
  • 💬 Interactive prompts OR set via environment variables.
  • 🧹 Force sync option: Remove Forgejo repos that no longer exist on GitHub.
  • 🌈 Colored terminal output for readability.