diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d689fc..da6a26b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,7 @@ pytest: before_script: - apk add git - pip install poetry + - poetry --version - export PATH="$HOME/.local/bin:$PATH" - poetry install --all-extras script: diff --git a/CHANGES.rst b/CHANGES.rst index db75fea..b1f70b6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,25 @@ This file compiles releases and changes made in .. towncrier release notes start +odoo-openupgrade-wizard 1.0.0 (2024-09-30) +========================================== + +Features +-------- + +- Add option ``p`` (SQL format) allowing use from ``--database-format`` CLI. + This allows you to restore database in SQL format (used by odoo full backup) + (add-sql-option-for-database-format-cli) + + +Bugfixes +-------- + +- Allow to run multiple `post-*.py` script for each steps. + (allow-run-multiple-post-scripts) +- Fix metadata of the python package on PyPI. (fix-package-metadata) + + odoo-openupgrade-wizard 0.7.0 (2024-05-02) ========================================== diff --git a/README.md b/README.md index 54fc29c..ed29d61 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ and provides helpers to run (and replay) migrations until it works. * [Command ``pull-submodule``](#command-pull-submodule) * [Command ``get-code``](#command-get-code) * [Command ``docker-build``](#command-docker-build) - * [Command ``run`` (BETA)](#command-run) + * [Command ``run``](#command-run) * [Command ``install-from-csv``](#command-install-from-csv) - * [Command ``upgrade`` (BETA)](#command-upgrade) - * [Command ``generate-module-analysis`` (BETA)](#command-generate-module-analysis) - * [Command ``estimate-workload`` (BETA)](#command-estimate-workload) + * [Command ``upgrade``](#command-upgrade) + * [Command ``generate-module-analysis``](#command-generate-module-analysis) + * [Command ``estimate-workload``](#command-estimate-workload) * [Command ``psql``](#command-psql) * [Command ``copydb``](#command-copydb) * [Command ``dropdb``](#command-dropdb) @@ -258,7 +258,7 @@ odoo-openupgrade-wizard-image---my-customer-10-12---10.0 latest 9d94dce2bd4 -## Command: ``run`` (BETA) +## Command: ``run`` **Prerequites:** init + get-code + build @@ -308,7 +308,7 @@ psql -c "copy (select name, shortdesc from ir_module_module where state = 'insta -## Command: ``upgrade`` (BETA) +## Command: ``upgrade`` **Prerequites:** init + get-code + build @@ -336,7 +336,7 @@ For each step, it will : -## Command: ``generate-module-analysis`` (BETA) +## Command: ``generate-module-analysis`` **Prerequites:** init + get-code + build diff --git a/newsfragments/add-sql-option-for-database-format-cli.feature b/newsfragments/add-sql-option-for-database-format-cli.feature deleted file mode 100644 index e101a5e..0000000 --- a/newsfragments/add-sql-option-for-database-format-cli.feature +++ /dev/null @@ -1 +0,0 @@ -Add option ``p`` (SQL format) allowing use from ``--database-format`` CLI. This allows you to restore database in SQL format (used by odoo full backup) diff --git a/pyproject.toml b/pyproject.toml index 9027a27..e5ea477 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,15 @@ [tool.poetry] name = "odoo-openupgrade-wizard" -version = "0.7.0" +version = "1.0.0" description = "CLI tool to manage Odoo Major Upgrades" authors = [ - "GRAP, Groupement Régional Alimentaire de Proximité", + "Sylvain LE GAL ", + "Rémy TAYMANS ", + "Simon MAILLARD ", ] maintainers = [ - "Sylvain LE GAL", + "Sylvain LE GAL ", + "Rémy TAYMANS ", ] readme = "README.md" repository = "https://gitlab.com/odoo-openupgrade-wizard/odoo-openupgrade-wizard" @@ -14,15 +17,18 @@ keywords = ["cli", "odoo", "openupgrade"] classifiers = [ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Intended Audience :: Developers", - "Development Status :: 2 - Pre-Alpha", + "Development Status :: 4 - Beta", "Operating System :: Unix", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Framework :: Odoo", ] +[project.urls] +Repository = "https://gitlab.com/odoo-openupgrade-wizard/odoo-openupgrade-wizard" + [tool.poetry.scripts] oow = "odoo_openupgrade_wizard.cli.cli:main" odoo-openupgrade-wizard = "odoo_openupgrade_wizard.cli.cli:main"