Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 3 days ago

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

Codeberg.org

forgego-helpers

Fork of Forgejo Helpers by Agaric with bug fix and uv support.

uv

uv is an extremely fast Python package and project manager, written in Rust.
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login