From 821f58783d0677f9dc96bb92bd13d0eced27c7f9 Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Thu, 16 Feb 2023 17:34:37 +0100 Subject: [PATCH] Release 0.17.0 [noissue] --- .bumpversion.cfg | 4 ++- CHANGES/230.feature | 1 - CHANGES/475.feature | 2 -- CHANGES/558.misc | 1 - CHANGES/566.feature | 1 - CHANGES/580.misc | 1 - CHANGES/597.feature | 1 - CHANGES/597.removal | 1 - CHANGES/602.bugfix | 1 - CHANGES/614.feature | 1 - CHANGES/625.feature | 1 - CHANGES/625.removal | 1 - CHANGES/628.feature | 1 - docs/CHANGES.md | 45 ++++++++++++++++++++++++++ pulp-glue/pulp_glue/common/__init__.py | 2 +- pulp-glue/setup.py | 2 +- pulp_cli/__init__.py | 1 + pulpcore/cli/common/__init__.py | 2 +- pyproject.toml | 2 +- setup.py | 4 +-- 20 files changed, 55 insertions(+), 20 deletions(-) delete mode 100644 CHANGES/230.feature delete mode 100644 CHANGES/475.feature delete mode 100644 CHANGES/558.misc delete mode 100644 CHANGES/566.feature delete mode 100644 CHANGES/580.misc delete mode 100644 CHANGES/597.feature delete mode 100644 CHANGES/597.removal delete mode 100644 CHANGES/602.bugfix delete mode 100644 CHANGES/614.feature delete mode 100644 CHANGES/625.feature delete mode 100644 CHANGES/625.removal delete mode 100644 CHANGES/628.feature diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 2775d0d06..68a0b8219 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.17.0.dev +current_version = 0.17.0 commit = False tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\.(?P[a-z]+))? @@ -14,6 +14,8 @@ values = dev prod +[bumpversion:file:./pulp_cli/__init__.py] + [bumpversion:file:./pulp-glue/pulp_glue/common/__init__.py] [bumpversion:file:./pulpcore/cli/common/__init__.py] diff --git a/CHANGES/230.feature b/CHANGES/230.feature deleted file mode 100644 index 16b125b8c..000000000 --- a/CHANGES/230.feature +++ /dev/null @@ -1 +0,0 @@ -Updated the `--requirements` option for ansible remotes to handle both files and strings. diff --git a/CHANGES/475.feature b/CHANGES/475.feature deleted file mode 100644 index 9628bf870..000000000 --- a/CHANGES/475.feature +++ /dev/null @@ -1,2 +0,0 @@ -Made all commands referencing entities accept both the HREF and name of the resource via the same command option. -For example, users can additionally use the `--repository` option in ``repository show`` commands. diff --git a/CHANGES/558.misc b/CHANGES/558.misc deleted file mode 100644 index be7a5d31b..000000000 --- a/CHANGES/558.misc +++ /dev/null @@ -1 +0,0 @@ -Added validation for string and date parameters. diff --git a/CHANGES/566.feature b/CHANGES/566.feature deleted file mode 100644 index 4d4eb6e34..000000000 --- a/CHANGES/566.feature +++ /dev/null @@ -1 +0,0 @@ -Added remove-image command to pulp_container. diff --git a/CHANGES/580.misc b/CHANGES/580.misc deleted file mode 100644 index 0e0a13574..000000000 --- a/CHANGES/580.misc +++ /dev/null @@ -1 +0,0 @@ -Updated the error message shown to users when using commands in the wrong context. diff --git a/CHANGES/597.feature b/CHANGES/597.feature deleted file mode 100644 index 1cfbc8fec..000000000 --- a/CHANGES/597.feature +++ /dev/null @@ -1 +0,0 @@ -Made the context layer independent of click to allow it being used like a library. diff --git a/CHANGES/597.removal b/CHANGES/597.removal deleted file mode 100644 index f30a48208..000000000 --- a/CHANGES/597.removal +++ /dev/null @@ -1 +0,0 @@ -Removed `pass_*_context` helpers from context layer. They moved to generic layer in 0.15.0. diff --git a/CHANGES/602.bugfix b/CHANGES/602.bugfix deleted file mode 100644 index d5fc3e5e5..000000000 --- a/CHANGES/602.bugfix +++ /dev/null @@ -1 +0,0 @@ -Deprecated `--fields` and `--exclude-fields` on `pulp ansible content list` in favor of `--[exclude-]field`. diff --git a/CHANGES/614.feature b/CHANGES/614.feature deleted file mode 100644 index 5f2758177..000000000 --- a/CHANGES/614.feature +++ /dev/null @@ -1 +0,0 @@ -Exposed `treeinfo` as an option for `sync --skip-type` for RPM repositories. diff --git a/CHANGES/625.feature b/CHANGES/625.feature deleted file mode 100644 index cc4e1f266..000000000 --- a/CHANGES/625.feature +++ /dev/null @@ -1 +0,0 @@ -Added the `pulp task summary` command as a replacement for `pulp debug task-summary`. diff --git a/CHANGES/625.removal b/CHANGES/625.removal deleted file mode 100644 index f7628eab1..000000000 --- a/CHANGES/625.removal +++ /dev/null @@ -1 +0,0 @@ -Deprecated `pulp debug task-summary` in favor of `pulp task summary`. diff --git a/CHANGES/628.feature b/CHANGES/628.feature deleted file mode 100644 index 30caabe20..000000000 --- a/CHANGES/628.feature +++ /dev/null @@ -1 +0,0 @@ -Added new client library `pulp-glue` as a spin off of the `pulp-cli`. diff --git a/docs/CHANGES.md b/docs/CHANGES.md index e49b6faf7..f66df9170 100644 --- a/docs/CHANGES.md +++ b/docs/CHANGES.md @@ -10,6 +10,51 @@ [//]: # (towncrier release notes start) +## 0.17.0 (2023-02-16) + + + +### Features + +- Updated the `--requirements` option for ansible remotes to handle both files and strings. + [#230](https://github.com/pulp/pulp-cli/issues/230) +- Made all commands referencing entities accept both the HREF and name of the resource via the same command option. + For example, users can additionally use the `--repository` option in ``repository show`` commands. + [#475](https://github.com/pulp/pulp-cli/issues/475) +- Added remove-image command to pulp_container. + [#566](https://github.com/pulp/pulp-cli/issues/566) +- Made the context layer independent of click to allow it being used like a library. + [#597](https://github.com/pulp/pulp-cli/issues/597) +- Exposed `treeinfo` as an option for `sync --skip-type` for RPM repositories. + [#614](https://github.com/pulp/pulp-cli/issues/614) +- Added the `pulp task summary` command as a replacement for `pulp debug task-summary`. + [#625](https://github.com/pulp/pulp-cli/issues/625) +- Added new client library `pulp-glue` as a spin off of the `pulp-cli`. + [#628](https://github.com/pulp/pulp-cli/issues/628) + + +### Bugfixes + +- Deprecated `--fields` and `--exclude-fields` on `pulp ansible content list` in favor of `--[exclude-]field`. + [#602](https://github.com/pulp/pulp-cli/issues/602) + + +### Deprecations and Removals + +- Removed `pass_*_context` helpers from context layer. They moved to generic layer in 0.15.0. + [#597](https://github.com/pulp/pulp-cli/issues/597) +- Deprecated `pulp debug task-summary` in favor of `pulp task summary`. + [#625](https://github.com/pulp/pulp-cli/issues/625) + + +### Misc + +- [#558](https://github.com/pulp/pulp-cli/issues/558), [#580](https://github.com/pulp/pulp-cli/issues/580) + + +--- + + ## 0.16.0 (2022-11-10) diff --git a/pulp-glue/pulp_glue/common/__init__.py b/pulp-glue/pulp_glue/common/__init__.py index b10478020..fd86b3ee9 100644 --- a/pulp-glue/pulp_glue/common/__init__.py +++ b/pulp-glue/pulp_glue/common/__init__.py @@ -1 +1 @@ -__version__ = "0.17.0.dev" +__version__ = "0.17.0" diff --git a/pulp-glue/setup.py b/pulp-glue/setup.py index f1de945bd..1ece15702 100644 --- a/pulp-glue/setup.py +++ b/pulp-glue/setup.py @@ -26,7 +26,7 @@ author="Pulp Team", author_email="pulp-list@redhat.com", url="https://github.com/pulp/pulp-cli", - version="0.17.0.dev", + version="0.17.0", packages=plugin_packages, package_data={"": ["py.typed"]}, python_requires=">=3.6", diff --git a/pulp_cli/__init__.py b/pulp_cli/__init__.py index 32ea833e6..fc9fe66ba 100644 --- a/pulp_cli/__init__.py +++ b/pulp_cli/__init__.py @@ -4,6 +4,7 @@ import click import pkg_resources +__version__ = "0.17.0" _main: Optional[click.Group] = None diff --git a/pulpcore/cli/common/__init__.py b/pulpcore/cli/common/__init__.py index d54e4101f..41ad9ac71 100644 --- a/pulpcore/cli/common/__init__.py +++ b/pulpcore/cli/common/__init__.py @@ -19,7 +19,7 @@ from pulpcore.cli.common.debug import debug from pulpcore.cli.common.generic import PulpCLIContext, pulp_group -__version__ = "0.17.0.dev" +__version__ = "0.17.0" translation = get_translation(__name__) _ = translation.gettext diff --git a/pyproject.toml b/pyproject.toml index fb80072ec..a7882b7b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.towncrier] -package = "pulpcore.cli.common" +package = "pulp_cli" filename = "docs/CHANGES.md" directory = "CHANGES/" title_format = "## {version} ({project_date})" diff --git a/setup.py b/setup.py index 85d2d030d..2022af1aa 100644 --- a/setup.py +++ b/setup.py @@ -34,12 +34,12 @@ author="Pulp Team", author_email="pulp-list@redhat.com", url="https://github.com/pulp/pulp-cli", - version="0.17.0.dev", + version="0.17.0", packages=plugin_packages + extra_packages, package_data={"": ["py.typed", "locale/*/LC_MESSAGES/*.mo"]}, python_requires=">=3.6", install_requires=[ - "pulp-glue==0.17.0.dev", + "pulp-glue==0.17.0", "click>=8.0.0,<9.0.0", "PyYAML~=5.3", "schema==0.7.5",