Forgejo migration: script to mass comment on tickets when migrating to Forgejo

Hi everyone,

The Join SIG recently migrated to Forgejo. As part of this, we hacked up a quick script to mass comment on pagure tickets to note that they’d been moved to Forgejo. The script is here if you want to use it:


Notes:

  • commenting on tickets sends out notifications to all repository subscribers. I’m not sure if there’s a way to turn this off. I did go to repository settings on pagure and uncheck any options related to notifications, but I’m not sure that’s sufficient. So, if you are mass commenting, it’s worth giving everyone a quick heads-up.

  • once the repo had been migrated, we noted the new forgejo url in the readme, disabled pull requests and made the issue tracker read-only (also from settings).

2 Likes