You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2024. It is now read-only.
While this proposal makes a name change from blobs to descriptors, we are not changing the definition or scope of the property at this time. The name change is similar to changing subjectManifest to subject, enabling future changes.
At KubeCon US 2021, @dmcgowan, @mikebrow and @SteveLasker were discussing how the artifacts spec might support index like scenarios. Including the ability for the oras artifact-spec to support redirects from one manifest request (tag/digest), to another based on some (TBD) element of data.
A future, possible flow could be:
On ingestion, a distribution instance (registry) would evaluate the mediaType in the descriptor.
If the mediaType is know to be a manifest, supported by the registry, it would parse the manifest and possibly track additional lifecycle management links.
If the mediaType is unknown, it would be treated as an opaque blob.
The above flow supports a fallback model where descriptors are treated as blobs, if unknown to the registry instance. However, it enables a registry to opt-into support of other manifest types.
Why Change Now
"Data lasts indefinitely"
In two words: "future proof".
As the oras artifacts spec is being adopted, it needs to account for future possibilities. The name change does not guarantee the artifact spec will support index scenarios, but it does free up a property name to support those scenarios as the maintainers have time to evaluate the impact.
The text was updated successfully, but these errors were encountered:
It makes sense to have the field name represent the types underneath it. It is good to move away from "blobs" and "manifests" names as these are more related to the registry endpoint behavior rather than the data stored within the manifest.
This issue tracks a proposal to change
blobs
todescriptors
in the oras artifacts manifestWhile this proposal makes a name change from
blobs
todescriptors
, we are not changing the definition or scope of the property at this time. The name change is similar to changingsubjectManifest
tosubject
, enabling future changes.becomes:
Background
At KubeCon US 2021, @dmcgowan, @mikebrow and @SteveLasker were discussing how the artifacts spec might support index like scenarios. Including the ability for the oras artifact-spec to support redirects from one manifest request (tag/digest), to another based on some (TBD) element of data.
A future, possible flow could be:
mediaType
in the descriptor.mediaType
is know to be a manifest, supported by the registry, it would parse the manifest and possibly track additional lifecycle management links.mediaType
is unknown, it would be treated as an opaque blob.The above flow supports a fallback model where descriptors are treated as blobs, if unknown to the registry instance. However, it enables a registry to opt-into support of other manifest types.
Why Change Now
In two words: "future proof".
As the oras artifacts spec is being adopted, it needs to account for future possibilities. The name change does not guarantee the artifact spec will support index scenarios, but it does free up a property name to support those scenarios as the maintainers have time to evaluate the impact.
The text was updated successfully, but these errors were encountered: