Project

Profile

Help

Story #3408

closed

Model Manifest List Content

Added by bizhang over 6 years ago. Updated about 5 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 42
Quarter:

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())
Actions #1

Updated by bizhang over 6 years ago

  • Description updated (diff)
Actions #2

Updated by bizhang over 6 years ago

  • Description updated (diff)
Actions #3

Updated by bizhang over 6 years ago

  • Description updated (diff)
Actions #4

Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)
Actions #5

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

Actions #6

Updated by ipanova@redhat.com over 6 years ago

  • Sprint Candidate changed from No to Yes
Actions #7

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.

Actions #8

Updated by dkliban@redhat.com over 6 years ago

  • Groomed changed from No to Yes
Actions #9

Updated by ipanova@redhat.com over 6 years ago

  • Sprint set to Sprint 41
Actions #10

Updated by jortel@redhat.com over 6 years ago

  • Description updated (diff)
Actions #11

Updated by rchan about 6 years ago

  • Sprint changed from Sprint 41 to Sprint 42
Actions #12

Updated by jortel@redhat.com about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
Actions #13

Updated by jortel@redhat.com about 6 years ago

  • Blocked by Task #3398: Make pulp_docker/4.0-dev branch ready for plugin development added
Actions #14

Updated by jortel@redhat.com about 6 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (jortel@redhat.com)
Actions #16

Updated by jortel@redhat.com about 6 years ago

  • Tracker changed from Story to Task
Actions #17

Updated by jortel@redhat.com about 6 years ago

  • Tracker changed from Task to Story
Actions #18

Updated by jortel@redhat.com about 6 years ago

  • Blocked by deleted (Task #3398: Make pulp_docker/4.0-dev branch ready for plugin development)
Actions #19

Updated by jortel@redhat.com about 6 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
Actions #20

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #21

Updated by ipanova@redhat.com about 5 years ago

  • Project changed from Docker Support to Container Support

Also available in: Atom PDF