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

Able to rename a module during a migration #11

Open
sebalix opened this issue Oct 20, 2022 · 0 comments
Open

Able to rename a module during a migration #11

sebalix opened this issue Oct 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sebalix
Copy link
Collaborator

sebalix commented Oct 20, 2022

Is your feature request related to a problem?
Able to rename a module during a migration. E.g. OCA/knowledge#367

Describe the solution you'd like
Add an option --rename-to:

$ oca-port 15.0 16.0 knowledge --rename-to document_knowledge

We could also rename the module in the past git history, so under the hood it could perform a
git filter-branch --tree-filter 'if [ -d old_module_name ]; then mv knowledge document_knowledge; fi' HEAD

@sebalix sebalix added the enhancement New feature or request label Oct 20, 2022
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

1 participant