Migrate todo.sr.ht tickets to Forgejo
|
Maxwell G
5570f8b8bf
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. |
||
|---|---|---|
| gitea.go | Initial commit | |
| go.mod | Initial commit | |
| go.sum | Initial commit | |
| http.go | Initial commit | |
| LICENSE | Initial commit | |
| main.go | Add -forgejo-owner flag to support Forgejo orgs | |
| README.md | Initial commit | |
| srht.go | Initial commit | |
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