Project

Profile

Help

« Previous | Next » 

Revision c1ed1488

IDc1ed1488c24bedc4841ae77f1ede01852745dc5d
Parent 91519235
Child eb52eebd

Added by dkliban@redhat.com 4 months ago

Store PublishedMetadata files in artifact storage

This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: https://github.com/pulp/pulp_file/pull/278/

closes: #5304
https://pulp.plan.io/issues/5304