pulp / pulp_deb

Debian repository plugin for Pulp (pulpproject.org)
GNU General Public License v2.0
61 stars 76 forks source link

Add retrieve functionality #1018

Closed quba42 closed 4 months ago

quba42 commented 4 months ago

This currently does not work, because the UniqueTogetherValidator says no before retrieve is ever called.

quba42 commented 4 months ago

Requieres https://github.com/pulp/pulpcore/pull/5084

quba42 commented 4 months ago

The alternative to the pulpcore change appears to be to switch the serializer from NoArtifactContentSerializer to NoArtifactContentUploadSerializer. But if I do that, then the create API wants to have exactly one of upload or file parameter, and I don't want the API to need those parameters.

quba42 commented 4 months ago

I should add some tests for this!