Closed Two-Hearts closed 8 months ago
Attention: 21 lines
in your changes are missing coverage. Please review.
Comparison is base (
e8a112b
) 65.14% compared to head (74502b1
) 64.91%.
Files | Patch % | Lines |
---|---|---|
cmd/notation/internal/plugin/plugin.go | 37.50% | 13 Missing and 2 partials :warning: |
cmd/notation/plugin/install.go | 50.00% | 5 Missing and 1 partial :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Based on offline discussion, closing this PR.
This PR fixes the following bug: When installing a single plugin executable file from URL, the downloaded file name is not preserved. Since Notation relies on file name and file extension to retrieve the plugin name (spec) and check whether it's executable on the OS, the downloaded file name has to be preserved.
This PR depends on PR: https://github.com/notaryproject/notation-go/pull/369.