Skip to content

[DOCS][IMP] run_migration: Recommended command#5842

Open
SirPyTech wants to merge 1 commit into
OCA:documentationfrom
PyTech-SRL:docs-rem_upgrade_path
Open

[DOCS][IMP] run_migration: Recommended command#5842
SirPyTech wants to merge 1 commit into
OCA:documentationfrom
PyTech-SRL:docs-rem_upgrade_path

Conversation

@SirPyTech

Copy link
Copy Markdown

The --upgrade-path option is automatically added in

if not config.get("upgrade_path"):
path = get_module_path("openupgrade_scripts", display_warning=False)
if path:
logging.getLogger(__name__).info(
"Setting upgrade_path to the scripts directory inside the module "
"location of openupgrade_scripts"
)
config["upgrade_path"] = os.path.join(path, "scripts")
.

I have always been using the --upgrade-path option because it is the "Recommended command", and then a few days ago @HekkiMelody points me out this piece of code 👀
Should we change the "Recommended command"?

The --upgrade-path option is automatically added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant