-
Notifications
You must be signed in to change notification settings - Fork 43
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
Support pulp_rpm advanced-copy API #990
Comments
Fun with openapi - the "config" param and JSONField and drf-spectacular are arguing. Will need to do some api_quirkness. For posterity, here's the Copy schema :
|
The |
dependency_solving in copy has been there for as long as the command has existed. Here it is in rpm/3.26 : https://github.com/pulp/pulp_rpm/blob/3.26/pulp_rpm/app/serializers/repository.py#L521 |
Something weird is going on with the api spec here: $ pulp -p container debug openapi spec | jq '.info'
{
"title": "Pulp 3 API",
"version": "v3",
"description": "Fetch, Upload, Organize, and Distribute Software Packages",
"contact": {
"name": "Pulp Team",
"email": "[email protected]",
"url": "https://pulpproject.org"
},
"license": {
"name": "GPLv2+",
"url": "https://raw.githubusercontent.com/pulp/pulpcore/master/LICENSE"
},
"x-logo": {
"url": "https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg"
},
"x-pulp-app-versions": {
"core": "3.54.0",
"ansible": "0.21.6",
"container": "2.20.0",
"deb": "3.2.0",
"gem": "0.5.1",
"maven": "0.8.0",
"ostree": "2.3.0",
"python": "3.11.1",
"rpm": "3.26.0",
"certguard": "3.54.0",
"file": "3.54.0"
},
"x-pulp-domain-enabled": false
}
$ pulp -p container debug openapi schema --name Copy
{
"type": "object",
"description": "A serializer for Content Copy API.",
"properties": {
"config": {
"type": "object",
"description": "A JSON document describing sources, destinations, and content to be copied"
}
},
"required": [
"config"
]
} |
Do we implement a similar Copy concept elsewhere? |
I guess we do. Just for historical record, here's what the Copy schema looks like in a system with just core and pulp_rpm installed:
|
We don't currently support copy_content for pulp_rpm, and we should.
The text was updated successfully, but these errors were encountered: