Project

Profile

Help

Story #6281

closed

As a plugin writer, I have a NoArtifactContentUploadSerializer

Added by daviddavis over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Backlog
Sprint:
Quarter:

Description

In pulp_rpm, users can upload advisory files that are parsed for their data. It uses SingleArtifactContentUploadSerializer[0] which extends SingleArtifactContentSerializer. However, advisories don't actually have artifacts. This may bite us later so it would be better to define a NoArtifactContentUploadSerializer in pulpcore. Also, it's worth noting that comps.xml will likely use this serializer as well.

[0] https://github.com/pulp/pulp_rpm/blob/6f406d534708b058d99199408467b349e2a11439/pulp_rpm/app/serializers.py#L353


Related issues

Related to RPM Support - Task #6554: Utilize new NoArtifactContentUploadSerializer and the corresponding ViewSetCLOSED - CURRENTRELEASE

Actions

Also available in: Atom PDF