From f0f7db448b97efe2c37505380ed99f072212303a Mon Sep 17 00:00:00 2001 From: Timothy Mullican <18095326+tjmullicani@users.noreply.github.com> Date: Wed, 7 Jun 2023 11:10:09 -0500 Subject: [PATCH] Fix '--signing-service' option not allowing HREF fixes #38 --- CHANGES/38.bugfix | 1 + pulpcore/cli/deb/publication.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 CHANGES/38.bugfix diff --git a/CHANGES/38.bugfix b/CHANGES/38.bugfix new file mode 100644 index 0000000..49d1408 --- /dev/null +++ b/CHANGES/38.bugfix @@ -0,0 +1 @@ +Fixed '--signing-service' option not allowing to search by href. \ No newline at end of file diff --git a/pulpcore/cli/deb/publication.py b/pulpcore/cli/deb/publication.py index da2d4de..396aa6d 100644 --- a/pulpcore/cli/deb/publication.py +++ b/pulpcore/cli/deb/publication.py @@ -73,6 +73,7 @@ def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, publication_type: default_plugin="deb", default_type="apt", context_table={"deb:apt": PulpSigningServiceContext}, + href_pattern=PulpSigningServiceContext.HREF_PATTERN, help=_("Apt only: Signing service to use, pass in name or href"), ), ] diff --git a/setup.py b/setup.py index d111db0..77f5a9a 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ package_data={"": ["py.typed", "locale/*/LC_MESSAGES/*.mo"]}, python_requires=">=3.6", install_requires=[ - "pulp-cli>=0.15.0", + "pulp-cli>=0.19.0", ], entry_points={ "pulp_cli.plugins": [f"{name}={module}" for name, module in plugin_entry_points],