Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mergiraf along with oca-port #60

Open
rvalyi opened this issue Nov 21, 2024 · 1 comment
Open

use mergiraf along with oca-port #60

rvalyi opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rvalyi
Copy link
Member

rvalyi commented Nov 21, 2024

Hello,

this might may be not impact the source code of oca-port directly, but I would like to make sure you guys heard about the mergiraf git conflict resolution tool. From my little testing mergiraf is REALLY AWESOME, like may be it's fixing 80% or more of the git conflicts I usually encounter while doing ports in the OCA...

  1. The tool: https://mergiraf.org/
  2. Install: https://mergiraf.org/installation.html
  3. Usage: https://mergiraf.org/usage.html

I proposed some initial Python support here https://codeberg.org/mergiraf/mergiraf/pulls/44
You can test my branch by checking it out and doing cargo build; cargo install --path .
So far it worked great for me...

So for oca-port, the whole point will be ensuring the computer where oca-port will run will have mergiraf configured (if that's on an OCA bot for instance). As it will automate most of the git cherry-pick command which have conflicts. This is really something that made me have much more faith we will be able to have effective commit porting bots in the OCA...

@rvalyi rvalyi added the enhancement New feature or request label Nov 21, 2024
@sebalix
Copy link
Collaborator

sebalix commented Nov 22, 2024

That's really something I would like to see one day: a GH Action responsible to automatically port changes, the pain point was indeed the resolution of conflicts which wouldn't make this feature working very often.

We have to look at mergiraf then, thanks for the hint!
FYI oca-port is doing git format-patch, not git cherry-pick, I don't know if it's an issue for tools like mergiraf as we play with intermediate patches, not commits. To test...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants