1
1
Fork
You've already forked srht2forgejo
1
Migrate todo.sr.ht tickets to Forgejo
  • Go 100%
Find a file
Maxwell G 5570f8b8bf
Add -forgejo-owner flag to support Forgejo orgs
I needed to migrate an issue tracker from todo.sr.ht to a Forgejo
repository that was in an organization, not my personal user namespace,
hence this patch.
When the flag is not passed, it defaults to the user namespace like it
did before this change.
2026年04月24日 08:53:01 -05:00
gitea.go Initial commit 2025年12月28日 12:58:42 +01:00
go.mod Initial commit 2025年12月28日 12:58:42 +01:00
go.sum Initial commit 2025年12月28日 12:58:42 +01:00
http.go Initial commit 2025年12月28日 12:58:42 +01:00
LICENSE Initial commit 2025年12月28日 12:58:42 +01:00
main.go Add -forgejo-owner flag to support Forgejo orgs 2026年04月24日 08:53:01 -05:00
README.md Initial commit 2025年12月28日 12:58:42 +01:00
srht.go Initial commit 2025年12月28日 12:58:42 +01:00

srht2forgejo

Migrate todo.sr.ht tickets to Forgejo.

Usage

hut export archive/ https://todo.sr.ht/~<user>/<tracker>
srht2forgejo -srht-archive archive/ -forgejo-token <token>

Note, Codeberg heavily rate-limits new issues and comments, so the migration might take a good while.

License

GPLv3 only

© 2025 Simon Ser