Giter Club home page Giter Club logo

Comments (2)

sudo-bmitch avatar sudo-bmitch commented on August 12, 2024

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.

dmcgowan avatar dmcgowan commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.