Skip to content

need E2E specs on hinting for pulling unnamed layers #1173

Closed

Description

@qweeah

If a layer's descriptor doesn't have org.opencontainers.image.title annotation, then it's unnamed. Recently we have added hint on how to pull unnamed layers like:

Skipped pulling layers without file name in "org.opencontainers.image.title"
Use 'oras copy xxx --to-oci-layout <layout-dir>' to pull all layers.

Need E2E specs to verify:

  1. If an artifact contains at least one unnamed non-empty layer, the hint should be shown.
  2. If an artifact contains only one empty layer, the hint should not be shown.
  3. If all layers in the artifact are named, the hint should not be shown.
  4. For 2 and 3, even if the artifact contains unnamed config blob, the hint should not be shown.

Activity

  1. added
    E2E testing
    on Nov 6, 2023
  2. added this to the v1.2.0 milestone on Nov 6, 2023
  3. self-assigned this
    on Nov 6, 2023
  4. changed the title [-]need E2E specs for hinting when unnamed layer is skipped in `oras pull`[/-] [+]need E2E specs on hinting for pulling unnamed layers[/+] on Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

E2E testing

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions