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: notation plugin uninstall command #832

Closed
wants to merge 36 commits into from

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Nov 20, 2023

This PR is based on the spec PR: #809

It adds the notation plugin uninstall command.

Tests: The e2e test cases are also included in this PR.

Note: This PR depends on the notation-go PR: notaryproject/notation-go#363

Update: PR notaryproject/notation-go#363 has been merged.

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>
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>
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>
@Two-Hearts Two-Hearts changed the title feat: added notation plugin uninstall command feat: notation plugin uninstall command Nov 20, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (acb9707) 64.05% compared to head (2741c85) 64.39%.

Files Patch % Lines
cmd/notation/plugin/uninstall.go 69.35% 13 Missing and 6 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #832      +/-   ##
==========================================
+ Coverage   64.05%   64.39%   +0.33%     
==========================================
  Files          40       42       +2     
  Lines        2323     2390      +67     
==========================================
+ Hits         1488     1539      +51     
- Misses        709      720      +11     
- Partials      126      131       +5     

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

cmd/notation/internal/errors/errors.go Outdated Show resolved Hide resolved
cmd/notation/internal/plugin/plugin.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
cmd/notation/plugin/cmd.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
cmd/notation/plugin/uninstall.go Outdated Show resolved Hide resolved
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>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
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.

5 participants