Comments (2)
Currently the manifest delete workflow describes the process to delete an entry from the referrers response when deleting a manifest that has a subject. If we add a replace workflow, would there be a similar process to automatically delete manifests on the push of a new manifest for registries that implement the referrers response? And if so, how should registries that do not support the delete APIs respond to those requests?
from distribution-spec.
The manifest delete workflow would not work with the fallback in any case. It would be reasonable for a registry to reject the delete of a manifest that is currently being referred to via another manifest, such as a referrers index.
I think we should likely add more language about the management and subject manifest, including how a "replace" may work in both the fallback and non-fallback case. There is certainly a hole there where a registry could support the referrers endpoint without supporting manifest delete API. I was thinking of opening a separate issue to discuss how we should update the dynamic content generation language to provide clearer guidance on management of subject manifest (removing, auto-pruning, ordering). The fallback case is more straightforward though since a client can simply replace or remove stale descriptors without worrying about manifest delete. We could add should language about only replacing or removing descriptors of the same or known artifact type though.
from distribution-spec.
Related Issues (20)
- [Maintainer vote] Is requiring registries to accept non-existent subjects a breaking change? HOT 25
- Clarify supported digest algorithms for manifests HOT 7
- ping on this PR
- Additional testing needed to
- How to conformance test minimal compliant spec (pull only) HOT 2
- Question regarding conformance tests for push HOT 2
- Impossible to view test details in conformance test GUI
- Proposal: Cross repo referrers HOT 7
- Add digest/etag header to referrers response
- Add `PUT` method support for `/referrers` endpoint HOT 2
- Proposal: Extend Referrer API to image layer blob HOT 1
- Question regarding refferres API conformance tests for push HOT 1
- Debug mode cannot be turned off for conformance test HOT 1
- Conformance teardown test deleteManifestBeforeBlobs should allow return 400 when delete by tag is disallowed by registry HOT 1
- [conformance] Allow 404 on tag list for management test
- Define sane limits on the repository name HOT 3
- [![](https://github.com/<org>/<repo>/workflows/oci-distribution-conformance/badge.svg)](https://github.com/<org>/<repo>/actions?query=workflow%3Aoci-distribution-conformance)
- Idea: GoLang specs for V2 new media types like `application/vnd.docker.distribution.manifest.v2+json` HOT 3
- Proposal: Limit the maximum number of lists returned by the tags list API HOT 2
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 distribution-spec.