Project

Profile

Help

Story #3408

Updated by bizhang about 6 years ago

A ManifestList object should subclass ContentUnit and contain the following additional fields: 

 * digest: CharField(255) 
 * mediaType: application/vnd.docker.distribution.manifest.list.v2+json TextField() 
 * manifests: ManyToManyField('Manifest', through='ManifestManifestList') ListField() 

 Note: digest is not on this, the parent ContentUnit class have various digests stored on it.  
 I'm not sure what the purpose of amd64_digest and amd64_schema_version are on the pulp2 model, so I've left it out of this for now. 

 ManifestManifestList is the thru table for Manifest to ManifestList relationship 

 * ForeignKey to Manifest 
 * ForeignKey to ManifestList 

Back