Project

Profile

Help

Refactor #3597

Use a serializer to validate sync and publish parameters

Added by amacdona@redhat.com about 2 years ago. Updated about 1 year ago.

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

100%

Estimated time:
Platform Release:
Target Release - Python:
Groomed:
Yes
Sprint Candidate:
No
Tags:
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 docsMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 736448a7 View on GitHub
Added by amacdona@redhat.com about 2 years 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 about 2 years ago

  • Groomed changed from No to Yes

#2 Updated by amacdona@redhat.com about 2 years ago

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

#3 Updated by amacdona@redhat.com about 2 years ago

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

#4 Updated by bizhang about 2 years ago

  • Sprint/Milestone set to 3.0 beta release

#5 Updated by amacdona@redhat.com about 2 years ago

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

#6 Updated by bizhang almost 2 years ago

  • Tags Pulp 3 added

#7 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF