Giter VIP home page Giter VIP logo

Comments (6)

sudo-bmitch avatar sudo-bmitch commented on June 18, 2024 1

We're using "refers" now in the manifest to say this manifest refers to another (an artifact refers to an image). The API was looking for everything that has a refers entry pointing to the target manifest, so we're saying for a given image, what are all the referrers to this manifest. I'm definitely not picky here, if we want to change that to "refers" in both places, that's easy enough. The risk is confusing things that refer to this manifest with things this manifest refers to, but I don't think we'd ever add a registry API for the latter, that's just content of the manifest.

The other name that comes to mind is:

  • extends: this has added connotations I think we should avoid

from wg-reference-types.

AkihiroSuda avatar AkihiroSuda commented on June 18, 2024

Is "referrers" and "refer" better?

Still very confusing to me.
What about renaming wg-reference-types to something like wg-artifact-linkage or wg-artifact-relations ?

from wg-reference-types.

vsoch avatar vsoch commented on June 18, 2024

Wanted to jump in and commnt here! I don't know what it is about "referrers" but my brain does a twist around it and I either develop a sudden lisp or want to say "furries" because of the double R. I agree "reference" is confusing, and really I'm open for just about anything else! 😆 Some ideas:

  • links: (but doesn't imply one way)
  • refers: would work for me - it's sort of an alias for "refers to" and references the child pointing to the parent?
  • refs: is this not distinct enough from the full "references" ? We could adopt the other terminology to use this less (and use hash/digest, etc).
  • edge: (more graph, but again doesn't imply one way)
  • pointers: (direction can be one way, but are people too traumatized by C/C++ for this to be an option? I might be...)
  • describes: this might be too close to "description" which is all over the place...
  • needs/deps: to scope this into package management territory, technically a signature/SBOM may depend on an artifact, or an artifact may need a signature. We would have to define a clear definition and direction.
  • targets: a source targets a target, not sure if that s too generic.

I'll post again if I can think of anything good.

from wg-reference-types.

vsoch avatar vsoch commented on June 18, 2024

I did still see a few mentions of "referrers" in the draft so if "refers" is now being used (which is much better!) it might be good to update the wording there too.

from wg-reference-types.

sudo-bmitch avatar sudo-bmitch commented on June 18, 2024

@vsoch yup, it says referrers all over it, mostly for the API which does use that term. It gets back to that directionality, referrers looks for incoming links, refers defines an outgoing link. But I'm horrible with words and happy to use better ones, hence the reason we have all gathered here today. 😂

from wg-reference-types.

jdolitsky avatar jdolitsky commented on June 18, 2024

Closing as PRs are open in upstream repos

from wg-reference-types.

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.