Merge branch 'imp-pyproject-file' into 'main'

[REF] Update pyproject.toml file + remove "Beta" in README file

See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!78
This commit is contained in:
Rémy Taymans 2024-09-30 16:51:05 +00:00
commit 457117f265
5 changed files with 40 additions and 15 deletions

View File

@ -68,6 +68,7 @@ pytest:
before_script: before_script:
- apk add git - apk add git
- pip install poetry - pip install poetry
- poetry --version
- export PATH="$HOME/.local/bin:$PATH" - export PATH="$HOME/.local/bin:$PATH"
- poetry install --all-extras - poetry install --all-extras
script: script:

View File

@ -6,6 +6,25 @@ This file compiles releases and changes made in
.. towncrier release notes start .. 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) odoo-openupgrade-wizard 0.7.0 (2024-05-02)
========================================== ==========================================

View File

@ -34,11 +34,11 @@ and provides helpers to run (and replay) migrations until it works.
* [Command ``pull-submodule``](#command-pull-submodule) * [Command ``pull-submodule``](#command-pull-submodule)
* [Command ``get-code``](#command-get-code) * [Command ``get-code``](#command-get-code)
* [Command ``docker-build``](#command-docker-build) * [Command ``docker-build``](#command-docker-build)
* [Command ``run`` (BETA)](#command-run) * [Command ``run``](#command-run)
* [Command ``install-from-csv``](#command-install-from-csv) * [Command ``install-from-csv``](#command-install-from-csv)
* [Command ``upgrade`` (BETA)](#command-upgrade) * [Command ``upgrade``](#command-upgrade)
* [Command ``generate-module-analysis`` (BETA)](#command-generate-module-analysis) * [Command ``generate-module-analysis``](#command-generate-module-analysis)
* [Command ``estimate-workload`` (BETA)](#command-estimate-workload) * [Command ``estimate-workload``](#command-estimate-workload)
* [Command ``psql``](#command-psql) * [Command ``psql``](#command-psql)
* [Command ``copydb``](#command-copydb) * [Command ``copydb``](#command-copydb)
* [Command ``dropdb``](#command-dropdb) * [Command ``dropdb``](#command-dropdb)
@ -258,7 +258,7 @@ odoo-openupgrade-wizard-image---my-customer-10-12---10.0 latest 9d94dce2bd4
<a name="command-run"/> <a name="command-run"/>
## Command: ``run`` (BETA) ## Command: ``run``
**Prerequites:** init + get-code + build **Prerequites:** init + get-code + build
@ -308,7 +308,7 @@ psql -c "copy (select name, shortdesc from ir_module_module where state = 'insta
<a name="command-upgrade"/> <a name="command-upgrade"/>
## Command: ``upgrade`` (BETA) ## Command: ``upgrade``
**Prerequites:** init + get-code + build **Prerequites:** init + get-code + build
@ -336,7 +336,7 @@ For each step, it will :
<a name="command-generate-module-analysis"/> <a name="command-generate-module-analysis"/>
## Command: ``generate-module-analysis`` (BETA) ## Command: ``generate-module-analysis``
**Prerequites:** init + get-code + build **Prerequites:** init + get-code + build

View File

@ -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)

View File

@ -1,12 +1,15 @@
[tool.poetry] [tool.poetry]
name = "odoo-openupgrade-wizard" name = "odoo-openupgrade-wizard"
version = "0.7.0" version = "1.0.0"
description = "CLI tool to manage Odoo Major Upgrades" description = "CLI tool to manage Odoo Major Upgrades"
authors = [ authors = [
"GRAP, Groupement Régional Alimentaire de Proximité", "Sylvain LE GAL <sylvain.legal@grap.coop>",
"Rémy TAYMANS <remy@coopiteasy.be>",
"Simon MAILLARD <simon@ogesta.fr>",
] ]
maintainers = [ maintainers = [
"Sylvain LE GAL", "Sylvain LE GAL <sylvain.legal@grap.coop>",
"Rémy TAYMANS <remy@coopiteasy.be>",
] ]
readme = "README.md" readme = "README.md"
repository = "https://gitlab.com/odoo-openupgrade-wizard/odoo-openupgrade-wizard" repository = "https://gitlab.com/odoo-openupgrade-wizard/odoo-openupgrade-wizard"
@ -14,15 +17,18 @@ keywords = ["cli", "odoo", "openupgrade"]
classifiers = [ classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Development Status :: 2 - Pre-Alpha", "Development Status :: 4 - Beta",
"Operating System :: Unix", "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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Odoo", "Framework :: Odoo",
] ]
[project.urls]
Repository = "https://gitlab.com/odoo-openupgrade-wizard/odoo-openupgrade-wizard"
[tool.poetry.scripts] [tool.poetry.scripts]
oow = "odoo_openupgrade_wizard.cli.cli:main" oow = "odoo_openupgrade_wizard.cli.cli:main"
odoo-openupgrade-wizard = "odoo_openupgrade_wizard.cli.cli:main" odoo-openupgrade-wizard = "odoo_openupgrade_wizard.cli.cli:main"