A feature that’s currently missing from @forgejo (and thus @Codeberg) is the ability to move issues between repositories (see https://codeberg.org/forgejo/forgejo/issues/1280).
Thankfully, Benjamin Melançon created Forego Helpers with a move_issue.py script that does this using the Forgejo API. Sadly, the script has a bug in it (a tiny regression introduced during a refactor) and their Forgejo instance doesn’t have signups so I couldn’t create a pull request, so here is a fork for the time being that you can use:
https://codeberg.org/aral/forgego-helpers
While fixing the bug, I also updated the project to use uv (https://docs.astral.sh/uv/) – think of it as a single tool that’s the equivalent of nvm and npm in Node.js that makes Python, well, usable out of the box.
So to move issue #299 from kitten/app to kitten/site on Codeberg, for example, you’d run the following in your terminal:
```shell
uv run move_issue.py kitten app 299 kitten site
```
That will move the issue (including comments), comment on both the old and new issues to link them together, and then close the old issue.
Enjoy!
#forgejo #codeberg #issues #repositories #git #movingIssues #python #uv #tools