Comments (6)
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.
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.
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.
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.
@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.
Closing as PRs are open in upstream repos
from wg-reference-types.
Related Issues (20)
- Proposal B: Mediatypes should always be OCI standard ones
- 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
- Can we define the behaviour for a missing reference? HOT 7
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.