Skip to content

update: updated plugin list command#461

Merged
shizhMSFT merged 33 commits intonotaryproject:mainfrom
patrickzheng200:plugin
Dec 2, 2022
Merged

update: updated plugin list command#461
shizhMSFT merged 33 commits intonotaryproject:mainfrom
patrickzheng200:plugin

Conversation

@patrickzheng200
Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 commented Dec 1, 2022

This PR mainly fixed the plugin list command.
Previously, if there's an error on getting a plugin, only the error will be printed out.
In this PR, on error, the pluginName will also be printed out along with the error.
(This PR also includes some of the minor cleanups of notation CLI.)

Signed-off-by: Patrick Zheng patrickzheng@microsoft.com

Patrick Zheng added 26 commits October 12, 2022 11:02
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@patrickzheng200 patrickzheng200 changed the title update: quick fix plugin list command update: updated plugin list command Dec 1, 2022
@patrickzheng200 patrickzheng200 self-assigned this Dec 1, 2022
@patrickzheng200 patrickzheng200 added this to the RC-1 milestone Dec 1, 2022
Patrick Zheng added 4 commits December 1, 2022 17:02
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 1, 2022

Codecov Report

❌ Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.22%. Comparing base (86287b5) to head (85bf890).
⚠️ Report is 457 commits behind head on main.

Files with missing lines Patch % Lines
cmd/notation/plugin.go 0.00% 15 Missing ⚠️
cmd/notation/cert/list.go 0.00% 5 Missing ⚠️
cmd/notation/cert/generateTest.go 0.00% 4 Missing ⚠️
cmd/notation/verify.go 0.00% 2 Missing ⚠️
cmd/notation/key.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
- Coverage   32.48%   32.22%   -0.26%     
==========================================
  Files          25       25              
  Lines        1250     1260      +10     
==========================================
  Hits          406      406              
- Misses        832      842      +10     
  Partials       12       12              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link
Copy Markdown
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

Copy link
Copy Markdown
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 suggestions

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link
Copy Markdown
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 a6dbab8 into notaryproject:main Dec 2, 2022
@patrickzheng200 patrickzheng200 deleted the plugin branch December 2, 2022 03:17
7h3-3mp7y-m4n pushed a commit to 7h3-3mp7y-m4n/notation that referenced this pull request Mar 29, 2025
This PR mainly fixed the plugin list command.
Previously, if there's an error on getting a plugin, only the error will
be printed out.
In this PR, on error, the pluginName will also be printed out along with
the error.
(This PR also includes some of the minor cleanups of notation CLI.)

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
FeynmanZhou pushed a commit to FeynmanZhou/notation that referenced this pull request May 15, 2025
This PR mainly fixed the plugin list command.
Previously, if there's an error on getting a plugin, only the error will
be printed out.
In this PR, on error, the pluginName will also be printed out along with
the error.
(This PR also includes some of the minor cleanups of notation CLI.)

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants