Actions
Refactor #3597
closedUse a serializer to validate sync and publish parameters
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
3.0.0
Target Release - Python:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
To be included in the schema (autodoc and bindings), we need to create a serializer for sync and publish
https://github.com/pulp/pulp_file/blob/master/pulp_file/app/viewsets.py#L32-L52
This serializer should use HyperlinkedRelatedFields to validate that the repository and repository version exist.
Related issues
Updated by amacdona@redhat.com over 6 years ago
- Related to Issue #3596: Remove sync_mode and download_policy from docs added
Updated by amacdona@redhat.com over 6 years ago
- Status changed from NEW to POST
- Assignee set to amacdona@redhat.com
Added by amacdona@redhat.com over 6 years ago
Updated by amacdona@redhat.com over 6 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 736448a7aba663cff7cafec4f0b7368042118cbd.
Actions
Add sync and publish serializers
https://pulp.plan.io/issues/3597 fixes #3597
raise when repository does not have latest version