Story #6281
Updated by daviddavis over 4 years ago
In pulp_rpm, users can upload advisory advisor 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. NoArtifactContentUploadSerializer. 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