Skip to content

Clean way to override or modify openupgrade modification script #3231

Answered by legalsylvain
maximead asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @maximead.

I think that your need could be done via code management.

  • clone openupgrade project
  • fork it
  • make custom modifications on your branch and commit.

Then you can use some tools like gitaggregate to merge all the branches you want. (the OCA one, yours branches, etc...).
https://pypi.org/project/git-aggregator/

./src/openupgrade:
  remotes:
    OCA: https://github.com/OCA/OpenUpgrade
    maximead: https://github.com/maximead/OpenUpgrade
  target: OCA 12.0-target
  merges:
    - OCA 12.0
    - maximead YOUR-CUSTOM-BRANCH

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maximead
Comment options

Answer selected by maximead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants