[IMP] postgtresql-version option
This commit is contained in:
parent
4536c52558
commit
846d2f631b
2
newsfragments/postgresql-version-prompt.feature
Normal file
2
newsfragments/postgresql-version-prompt.feature
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
* Avoid to crash if postgresql-version is not set, adding prompt option.
|
||||
* add extra text to mention postgresql version constraints.
|
||||
|
|
@ -39,11 +39,15 @@ from odoo_openupgrade_wizard.tools.tools_system import (
|
|||
@click.option(
|
||||
"--postgresql-version",
|
||||
required=True,
|
||||
prompt=True,
|
||||
help="The version of postgresql that will be used"
|
||||
" to create the postgresql container.Ex : '9.1', '16', ..."
|
||||
" The version should be available in docker hub."
|
||||
" (https://hub.docker.com/_/postgres)"
|
||||
" avoid the 'latest' version if you want a deterministic installation.",
|
||||
" avoid the 'latest' version if you want a deterministic installation."
|
||||
" Key Point: If your current production server uses Postgresql version A"
|
||||
" and if your future production server usees Postgresql version B,"
|
||||
" you should select here a version X, with A <= X <= B.",
|
||||
)
|
||||
@click.option(
|
||||
"--extra-repository",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user