Skip to content

Conversation

@priteshbandi
Copy link
Contributor

@priteshbandi priteshbandi commented Jan 12, 2024

chore: start using plugin-framework package.

Note: we introduced a small breaking change; the type for GenerateSignatureResponse#SigningAlgorithm has been changed from string to plugin.SignatureAlgorithm

Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
@priteshbandi priteshbandi requested a review from toddysm as a code owner January 15, 2024 17:39
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2024

Codecov Report

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

Comparison is base (b7cd8a0) 73.24% compared to head (67dd576) 73.43%.
Report is 1 commits behind head on main.

Files Patch % Lines
signer/plugin.go 80.00% 2 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
+ Coverage   73.24%   73.43%   +0.18%     
==========================================
  Files          27       24       -3     
  Lines        2527     2507      -20     
==========================================
- Hits         1851     1841      -10     
+ Misses        536      526      -10     
  Partials      140      140              

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

Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
@priteshbandi priteshbandi requested review from a user and shizhMSFT January 31, 2024 03:34
Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still many instances where the code uses proto.xxx that have not been replaced with notation-plugin-framework-go/plugin. Will we replace them?

Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
@priteshbandi
Copy link
Contributor Author

There are still many instances where the code uses proto.xxx that have not been replaced with notation-plugin-framework-go/plugin. Will we replace them?

Some code such as supporting methods not present notation-plugin-framework-go, unit tests will continue to use proto.xxx. We are not updating unit test to make sure we are backward compatible.

Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I think we should wait for Shiwei's comments regarding the PR.

@JeyJeyGao
Copy link
Contributor

LGTM
Pending on @shizhMSFT

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 with suggestions on deprecation notices

@priteshbandi
Copy link
Contributor Author

LGTM with suggestions on deprecation notices

Will merge the change and raised new PR for your suggestions.

Copy link
Contributor

@rgnote rgnote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priteshbandi priteshbandi merged commit 9ff1891 into notaryproject:main Feb 1, 2024
@priteshbandi priteshbandi deleted the temp branch February 1, 2024 19:30
JeyJeyGao pushed a commit that referenced this pull request May 29, 2024
**Note:** we introduced a small breaking change; the type for
`GenerateSignatureResponse#SigningAlgorithm` has been changed from
`string` to `plugin.SignatureAlgorithm`

---------

Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
This was referenced May 29, 2024
@ghost ghost mentioned this pull request Jul 23, 2024
6 tasks
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