Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pulp-cli-deb missing pulpexport capability #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/40.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix error "The type 'deb:apt' does not support the 'pulpexport' capability."
3 changes: 2 additions & 1 deletion pulpcore/cli/deb/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
PulpEntityContext,
PulpRepositoryContext,
PulpRepositoryVersionContext,
PluginRequirement,
registered_repository_contexts,
)
from pulpcore.cli.common.i18n import get_translation
Expand Down Expand Up @@ -119,6 +120,6 @@ class PulpAptRepositoryContext(PulpRepositoryContext):
DELETE_ID = "repositories_deb_apt_delete"
SYNC_ID = "repositories_deb_apt_sync"
VERSION_CONTEXT = PulpAptRepositoryVersionContext

CAPABILITIES = {"pulpexport": [PluginRequirement("deb", "2.20.0")]}

registered_repository_contexts["deb:apt"] = PulpAptRepositoryContext