Comments (7)
I'm aware this may be too late, or that this might need to be raised elsewhere now, so feel free to say that!
from wg-reference-types.
For a refers
field to a manifest that doesn't exist, the call we made was that the registry MAY return an empty list before that reference exists, but once the reference exists, the referrers API MUST include previously pushed entries. That lets us, for example, push a signature before pushing the image. This wording is going in the next PR to the oci-playground/distribution-spec.
from wg-reference-types.
See oci-playground/distribution-spec#11 in spec.md under Listing Referrers:
If
<ref>
does not exist, a registry MAY return an empty manifest list.
After<ref>
is pushed, the registry MUST include previously pushed entries in the manifest list.
from wg-reference-types.
Thanks, just went and had a look on the playground.
What I didn't find was any guidance on what the registry is allowed to do when someone attempts to upload an artifact that points to a digest that doesn't exist. Has that been discussed too?
from wg-reference-types.
Good point, I'm adding this to the PR:
https://github.com/oci-playground/distribution-spec/pull/11/files#diff-bc6661da34ecae62fbe724bb93fd69b91a7f81143f2683a81163231de7e3b545R204
A registry SHOULD accept a manifest with a
refers
field that references a manifest that does not exist.
from wg-reference-types.
That works for me, mainly because I'm thinking about image indexes and that weak references should be a supported thing, also because I think being able to push a graph of references in parallel makes sense.
Going to tag @milosgajdos and @deleteriousEffect because we had a similar discussion a while ago.
from wg-reference-types.
This is in the PR to distribution-spec, so I'll mark this as closed over here, but feel free to keep the discussion going.
from wg-reference-types.
Related Issues (20)
- Proposal B: Mediatypes should always be OCI standard ones
- Disambiguate "reference" HOT 6
- Updates to Proposal E HOT 12
- Make artifactType a first-class field? HOT 1
- Issues with Proposal E HOT 7
- What are the issues with Proposal D? HOT 12
- Add Proposal F HOT 26
- What are the issues with Proposal F? HOT 12
- Picking a direction for the working group HOT 3
- How do we propose these changes land across OCI repos? HOT 13
- Questions on "Cherry Pick" :cherries: HOT 5
- [Vote] Should artifact type move out of annotations HOT 10
- [Vote] Should we switch to predictable digest tags HOT 13
- Why not bump schemaVersion on existing manifest? HOT 8
- Is there a reason indexes don't get a refers list in prop e? HOT 6
- Prop E artifact annotations questions HOT 2
- [Vote] Partition digest tags by type HOT 6
- [Vote] Allow for server-side filtering using artifactType HOT 5
- Archive this repository? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-reference-types.