Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement list command UX #414

Merged
merged 2 commits into from
Oct 31, 2022

Conversation

JeyJeyGao
Copy link
Contributor

@JeyJeyGao JeyJeyGao commented Oct 25, 2022

According to: https://github.com/notaryproject/notation/blob/main/specs/commandline/list.md
Updated list command output

Signed-off-by: Junjie Gao [email protected]

@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch 4 times, most recently from d85c3f2 to 22f8c2a Compare October 26, 2022 01:20
@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch from 22f8c2a to 2682b8b Compare October 26, 2022 01:21
@yizha1 yizha1 added this to the beta-1 milestone Oct 26, 2022
@yizha1 yizha1 linked an issue Oct 26, 2022 that may be closed by this pull request
@yizha1 yizha1 requested review from shizhMSFT, priteshbandi, rgnote and a team October 26, 2022 06:11
Copy link
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@jondonas jondonas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cmd/notation/list.go Outdated Show resolved Hide resolved
@yizha1 yizha1 removed this from the beta-1 milestone Oct 27, 2022
cmd/notation/list.go Outdated Show resolved Hide resolved
cmd/notation/list.go Outdated Show resolved Hide resolved
cmd/notation/list.go Outdated Show resolved Hide resolved
@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch from bc649f3 to d81b6b1 Compare October 28, 2022 04:16
@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2022

Codecov Report

Merging #414 (fb00153) into main (f747031) will decrease coverage by 1.42%.
The diff coverage is 5.26%.

@@            Coverage Diff             @@
##             main     #414      +/-   ##
==========================================
- Coverage   34.60%   33.18%   -1.43%     
==========================================
  Files          23       21       -2     
  Lines        1254     1094     -160     
==========================================
- Hits          434      363      -71     
+ Misses        809      722      -87     
+ Partials       11        9       -2     
Impacted Files Coverage Δ
cmd/notation/registry.go 0.00% <0.00%> (ø)
cmd/notation/list.go 23.94% <5.40%> (-18.17%) ⬇️
cmd/notation/verify.go 25.00% <0.00%> (-4.17%) ⬇️
cmd/notation/login.go 42.68% <0.00%> (-0.53%) ⬇️
cmd/notation/main.go 0.00% <0.00%> (ø)
cmd/notation/common.go 100.00% <0.00%> (ø)
cmd/notation/manifest.go 0.00% <0.00%> (ø)
internal/cmd/signer.go
internal/cmd/flags.go
... and 4 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch from d81b6b1 to 58c9fa8 Compare October 28, 2022 04:19
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with suggestions.

cmd/notation/list.go Outdated Show resolved Hide resolved
cmd/notation/list.go Outdated Show resolved Hide resolved
@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch 2 times, most recently from 36c96a7 to c431d58 Compare October 31, 2022 07:13
Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a suggestion

Comment on lines +67 to +68
// TODO: this is a temporary function and will be replaced after
// notation-go refactor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please open an issue to track this?

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cmd/notation/list.go Outdated Show resolved Hide resolved
@JeyJeyGao JeyJeyGao force-pushed the junjiegao/spec_list branch from c431d58 to fb00153 Compare October 31, 2022 08:46
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shizhMSFT shizhMSFT merged commit fcba9f1 into notaryproject:main Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Implementing list command
7 participants