Project

Profile

Help

Story #3404

closed

model Blob for pulp_docker 4.0

Added by bizhang over 4 years ago. Updated almost 3 years ago.

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

0%

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

Description

A Blob is a Content unit with the additional parameters:

  • digest: CharField(255)

This story will be complete when CRD is possible for Blobs (for this story, the metadata is not expected to be extracted from the file, but provided by the user in the request body.)

Actions #1

Updated by bizhang over 4 years ago

  • Description updated (diff)
Actions #2

Updated by bizhang over 4 years ago

  • Subject changed from Create Blob models for pulp_docker 4.0 to model Layer for pulp_docker 4.0
  • Description updated (diff)
Actions #3

Updated by ipanova@redhat.com over 4 years ago

There was a discussion how to name the model Layer or Blob.

Layers are stored in the blob portion of the registry, keyed by digest. [0]
Because registry stores it in a blob portion, the api endpoint is blob, same as for the errors are also referring to blob. [1]

[0] https://docs.docker.com/registry/spec/api/#pulling-a-layer
[1] https://docs.docker.com/registry/spec/api/#blob

That said i don't think there was drawn a line.

Actions #4

Updated by ipanova@redhat.com over 4 years ago

We decided to go with Blob instead of Layer, because the config in schema2 is not a full layer but just a configuration object.

Actions #5

Updated by bizhang over 4 years ago

  • Subject changed from model Layer for pulp_docker 4.0 to model Blob for pulp_docker 4.0
  • Description updated (diff)
Actions #6

Updated by ipanova@redhat.com over 4 years ago

  • Sprint Candidate changed from No to Yes
Actions #7

Updated by amacdona@redhat.com over 4 years ago

  • Description updated (diff)
Actions #8

Updated by ipanova@redhat.com over 4 years ago

  • Description updated (diff)
  • Groomed changed from No to Yes
Actions #9

Updated by ipanova@redhat.com over 4 years ago

  • Groomed changed from Yes to No
Actions #10

Updated by amacdona@redhat.com over 4 years ago

  • Status changed from NEW to CLOSED - WONTFIX

The blob/later will be an Artifact in Pulp 3

Actions #11

Updated by bmbouter over 3 years ago

  • Tags deleted (Pulp 3)
Actions #12

Updated by ipanova@redhat.com almost 3 years ago

  • Project changed from Docker Support to Container Support

Also available in: Atom PDF