Skip to content

chore: fixed notation cert command required flags; renamed notation key delete to notation key remove#608

Closed
patrickzheng200 wants to merge 5 commits intonotaryproject:mainfrom
patrickzheng200:chore
Closed

chore: fixed notation cert command required flags; renamed notation key delete to notation key remove#608
patrickzheng200 wants to merge 5 commits intonotaryproject:mainfrom
patrickzheng200:chore

Conversation

@patrickzheng200
Copy link
Copy Markdown
Contributor

In this PR:

  1. Added MarkFlagRequired() to required flags in notation cert command.
  2. Renamed notation key delete to notation key remove; improved error message.

Patrick Zheng added 4 commits March 30, 2023 14:29
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>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #608 (6534324) into main (0ec3b3d) will increase coverage by 0.34%.
The diff coverage is 50.00%.

📣 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     #608      +/-   ##
==========================================
+ Coverage   34.43%   34.78%   +0.34%     
==========================================
  Files          32       32              
  Lines        1844     1843       -1     
==========================================
+ Hits          635      641       +6     
+ Misses       1188     1181       -7     
  Partials       21       21              
Impacted Files Coverage Δ
cmd/notation/key.go 32.92% <28.57%> (+1.34%) ⬆️
cmd/notation/cert/add.go 31.57% <100.00%> (+2.48%) ⬆️
cmd/notation/cert/delete.go 34.37% <100.00%> (+2.11%) ⬆️
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

@patrickzheng200
Copy link
Copy Markdown
Contributor Author

patrickzheng200 commented Apr 11, 2023

Closing this PR as the fix for notation cert command is moved into #627
Renaming notation key delete to notation key remove spec is still under discussion.

@patrickzheng200 patrickzheng200 deleted the chore branch April 11, 2023 07:05
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.

2 participants