Skip to content

Commit

Permalink
Add import export support of python content
Browse files Browse the repository at this point in the history
Add import export support of python content
  • Loading branch information
tjmullicani committed Mar 9, 2023
1 parent aa3cc7d commit 7c8ac47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/609.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add import export support of python content
5 changes: 4 additions & 1 deletion pulp-glue/pulp_glue/python/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ class PulpPythonRepositoryContext(PulpRepositoryContext):
ENTITIES = _("python repositories")
ID_PREFIX = "repositories_python_python"
VERSION_CONTEXT = PulpPythonRepositoryVersionContext
CAPABILITIES = {"sync": [PluginRequirement("python")]}
CAPABILITIES = {
"sync": [PluginRequirement("python")],
"pulpexport": [PluginRequirement("python")]
}
NEEDS_PLUGINS = [PluginRequirement("python", min="3.1.0")]

def preprocess_entity(self, body: EntityDefinition, partial: bool = False) -> EntityDefinition:
Expand Down

0 comments on commit 7c8ac47

Please sign in to comment.