Project

Profile

Help

Refactor #3597

Use a serializer to validate sync and publish parameters

Added by amacdona@redhat.com over 1 year ago. Updated 8 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Target Release - Python:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Complexity:
Verified:
No
Verification Required:
No
Sprint:

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

Related to Python Support - Issue #3596: Remove sync_mode and download_policy from docs MODIFIED Actions

Associated revisions

Revision 736448a7 View on GitHub
Added by amacdona@redhat.com over 1 year ago

Add sync and publish serializers

https://pulp.plan.io/issues/3597
fixes #3597

raise when repository does not have latest version

History

#1 Updated by dalley over 1 year ago

  • Groomed changed from No to Yes

#2 Updated by amacdona@redhat.com over 1 year ago

  • Related to Issue #3596: Remove sync_mode and download_policy from docs added

#3 Updated by amacdona@redhat.com over 1 year ago

  • Status changed from NEW to POST
  • Assignee set to amacdona@redhat.com

#4 Updated by bizhang over 1 year ago

  • Sprint/Milestone set to 3.0 beta release

#5 Updated by amacdona@redhat.com over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by bizhang over 1 year ago

  • Tags Pulp 3 added

#7 Updated by bmbouter 8 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF