Skip to content

list command spec is inconsistent #677

@JeyJeyGao

Description

@JeyJeyGao

What is the areas you experience the issue in?

Notation CLI

What is not working as expected?

In the list command spec
The output format in description is reference by digest:

<registry>/<repository>@<digest>
└── application/vnd.cncf.notary.signature
    ├──<digest_of_signature_manifest>
    └──<digest_of_signature_manifest>

But in the example, the output is reference by tag:

localhost:5000/net-monitor:v1
└── application/vnd.cncf.notary.signature
    ├── sha256:647039638efb22a021f59675c9449dd09956c981a44b82c1ff074513c2c9f273
    └── sha256:6bfb3c4fd485d6810f9656ddd4fb603f0c414c5f0b175ef90eeb4090ebd9bfa1

Which one is expected? Currently, the code always output the reference by digest.

What did you expect to happen?

Need to be decided.

How can we reproduce it?

run notation list $ref

Describe your environment

Linux x64

What is the version of your Notation CLI or Notation Library?

Notation RC.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingspecSpecifications to define the product requirements

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions