Skip to content

Improve wording to name "what" is being pushed #244

Closed

Description

@Silvanoc

I haven't found any documentation about the name of the different elements being pushed to the registry:

A name for all the files composing the artifact (the payload), something like "artifact items" or simply "artifact files". What is called the "container image layers" in the case of container images.

IMO the right place for this documentation would be under docs and using those names in the README.md.

Activity

  1. changed the title [-]Improve wording to name "what" is being pushed and how it's being "named"[/-] [+]Improve wording to name "what" is being pushed and how it's being "invoked"[/+] on Mar 17, 2021
  2. changed the title [-]Improve wording to name "what" is being pushed and how it's being "invoked"[/-] [+]Improve wording to name "what" is being pushed and how it's being "referenced"[/+] on Mar 17, 2021
  3. Silvanoc commented on Mar 17, 2021

    @Silvanoc
    Author

    After reading more carefully the OCI Artifacts Specification I've realized that what I'm calling an "artifact set" in this issue is being called "artifact" (although no definition is clearly stating that).

    I'm editing the issue description accordingly.

  4. changed the title [-]Improve wording to name "what" is being pushed and how it's being "referenced"[/-] [+]Improve wording to name "what" is being pushed[/+] on Mar 17, 2021
  5. SteveLasker commented on Apr 7, 2021

    @SteveLasker
    Contributor

    Thanks @Silvanoc,
    I think we're missing the generalization of what constitutes a layer in oci.image.manifest terminology.

    • In the OCI Artifacts terminology, a layer is persisted as a blob in a registry.
    • In the oci.image.manifest spec, the layers collection is ordinal, and overlay.
    • With OCI Artifacts, it makes no assumption about the contents of the blobs, or the ordinal nature. It's really up to the artifact author. We talk about this more at: OCI Artifacts: Defining Supported Layer Types

    ORAS simply takes each reference to content and turns it into a blob. If you pass a single file, we currently place that file directly into the blob, and store an annotation indicating the filename, so it can be re-hydrated for oras pull
    #178 talks to changing the default experience for the oras binary to treat all blobs as tars, as it enables the tar metadata to indicate the filename, allowing us to remove the annotation.

    For instance, if you pass a directory reference to oras push, the contents of the directory is placed in a tarball and pushed as a single blob.

    If that helps, we can add more details to ORAS and even the OCI Artifact docs, and add a definition & terms entry.

  6. added this to the future milestone on May 7, 2022
  7. modified the milestones: future, v1.0.0 on Aug 31, 2022
  8. added
    duplicate
    on Nov 2, 2022
  9. added
    question
    documentation
    and removed
    duplicate
    on Jan 20, 2023
  10. removed this from the v1.0.0-rc.1 milestone on Jan 20, 2023
  11. added
    stale
    on Mar 22, 2023
  12. shizhMSFT commented on Mar 22, 2023

    @shizhMSFT
    Contributor

    Closing this issue due to inactivity. Please re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationquestionstale

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions