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

fix: fixing cert command #627

Merged
merged 5 commits into from
Apr 17, 2023
Merged

Conversation

patrickzheng200
Copy link
Contributor

This PR aims to resolve #622.
It also adds MarkFlagRequired() to required flags in notation cert command.

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2023

Codecov Report

Merging #627 (9581fda) into main (4238e82) will increase coverage by 0.31%.
The diff coverage is 15.51%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #627      +/-   ##
==========================================
+ Coverage   33.63%   33.95%   +0.31%     
==========================================
  Files          32       32              
  Lines        1888     1882       -6     
==========================================
+ Hits          635      639       +4     
+ Misses       1232     1221      -11     
- Partials       21       22       +1     
Impacted Files Coverage Δ
cmd/notation/internal/truststore/truststore.go 10.60% <0.00%> (+0.31%) ⬆️
cmd/notation/cert/delete.go 35.71% <31.25%> (+3.45%) ⬆️
cmd/notation/cert/add.go 31.57% <100.00%> (+2.48%) ⬆️
cmd/notation/cert/show.go 31.66% <100.00%> (+2.35%) ⬆️

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

shizhMSFT
shizhMSFT previously approved these changes Apr 11, 2023
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

@patrickzheng200 patrickzheng200 self-assigned this Apr 13, 2023
@patrickzheng200 patrickzheng200 added this to the RC-4 milestone Apr 13, 2023
@patrickzheng200 patrickzheng200 added bug Something isn't working triage Need to triage labels Apr 13, 2023
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
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

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 65b0a4c into notaryproject:main Apr 17, 2023
@patrickzheng200 patrickzheng200 deleted the fix_cert branch April 17, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Need to triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

notation cert delete confirms deletion without doing anything
6 participants