ideas icon indicating copy to clipboard operation
ideas copied to clipboard

python bindings and GUI integration for reposurgeon

Open KOLANICH opened this issue 2 years ago • 0 comments

Project description

https://gitlab.com/esr/reposurgeon is an awesome tool by ESR. Unfortunately its CLI is hard to use and error prone.

For example, in order to rewrite a commit into a merge commit one has to:

  • identify the commits first in a standalone git gui app
  • find a way to get their reposurgeon ids by making a selector for them (it seems I cannot select them by their hash)
  • show a list of them, copy it into a text editor
  • select the ones you need from the list
  • inspect them
  • from the inspection result (which prints a lot of unneeded info, it'd be niceto have a command to print just parents) take only the info you need (list of previous commits, from)
  • make a command doing what you need reparent <ids from from>, <ids to add>, <target commit id> --use-order

It is too labour intensive for a single editiing op and is too error prone. It would be better if one has to select the commit to transform into a merge one and the parent commits in a git GUI client.

Relevant Technology

  • https://gitlab.com/esr/reposurgeon
  • gui toolkits
  • Git GUIs internals

Complexity and required time

Complexity

  • [x] Intermediate

Required time (ETA)

  • [x] Medium work - A week or two
  • [x] Much work - The project will take more than a couple of weeks and serious planning is required

Categories

  • [x] Frontend/UI
  • [x] Developer Tooling
  • [x] Design/UX

KOLANICH avatar Jan 11 '22 07:01 KOLANICH