Story #3408
closedModel Manifest List Content
0%
Description
A ManifestList object should subclass Content and contain the following additional fields:
- digest: CharField(255)
- schema_version: IntegerField()
- manifests: ManyToManyField('Manifest', through='ManifestListManifest')
- mediaType: application/vnd.docker.distribution.manifest.list.v2+json
- amd64_digest: CharField(255)
- amd64_schema_version: IntegerField()
ManifestListManifest is the thru table for ManifestList to Manifest relationship. Some fields on this model appears to be redundant to the fields found on the Manifest Model, but they are necessary because the provided json for a Manfiest List is not guaranteed to match the reality of a manifest.
- ForeignKey to Manifest
- ForeignKey to ManifestList
- mediaType: ChoiceField()
- size: IntegerField()
- platform: ForeignKey to Platform
MediaType choice for the Manifest:
- application/vnd.docker.distribution.manifest.v1+json
- application/vnd.docker.distribution.manifest.v2+json
Platform (does not subclass ContentUnit):
- architecture: CharField(255)
- os: CharField(255)
- os.version: charField(255)
- os.features: ListField(CharField())
- variant: CharField(255)
- features: ListField(CharField())
Updated by ipanova@redhat.com over 6 years ago
In case we want to keep it minimum we could stick just to os and arch( from Platfrom), since those are essentials and rest are optional
Updated by ipanova@redhat.com over 6 years ago
- Sprint Candidate changed from No to Yes
Updated by amacdona@redhat.com over 6 years ago
I'd like to leave out amd64_digest and amd64_schema_version for this story. We can add them in later if we can't avoid it.
Updated by jortel@redhat.com almost 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Updated by jortel@redhat.com almost 6 years ago
- Blocked by Task #3398: Make pulp_docker/4.0-dev branch ready for plugin development added
Updated by jortel@redhat.com almost 6 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
jortel@redhat.com)
Updated by jortel@redhat.com almost 6 years ago
Combined with https://pulp.plan.io/issues/3401.
Updated by jortel@redhat.com almost 6 years ago
- Tracker changed from Story to Task
Updated by jortel@redhat.com almost 6 years ago
- Tracker changed from Task to Story
Updated by jortel@redhat.com almost 6 years ago
- Blocked by deleted (Task #3398: Make pulp_docker/4.0-dev branch ready for plugin development)
Updated by jortel@redhat.com almost 6 years ago
- Status changed from NEW to CLOSED - DUPLICATE
Updated by ipanova@redhat.com over 4 years ago
- Project changed from Docker Support to Container Support