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

refactor: update verifier #1002

Merged
merged 9 commits into from
Aug 15, 2024
Merged

refactor: update verifier #1002

merged 9 commits into from
Aug 15, 2024

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Aug 1, 2024

This PR updates the verifier to use NewVerifierWithOptions with httputil.NewClient as OCSPHTTPClient.

Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 82.60870% with 4 lines in your changes missing coverage. Please review.

Project coverage is 72.01%. Comparing base (ed77da1) to head (c112103).
Report is 1 commits behind head on main.

Files Patch % Lines
cmd/notation/verify.go 82.60% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
+ Coverage   71.92%   72.01%   +0.09%     
==========================================
  Files          46       46              
  Lines        2265     2287      +22     
==========================================
+ Hits         1629     1647      +18     
- Misses        438      440       +2     
- Partials      198      200       +2     

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

@JeyJeyGao
Copy link
Contributor

LGTM, but pending on dependencies.

go.mod Outdated Show resolved Hide resolved
cmd/notation/verify.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
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 except the dependency update

@shizhMSFT shizhMSFT changed the title update: update verifier refactor: update verifier Aug 6, 2024
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
@rgnote
Copy link
Contributor

rgnote commented Aug 9, 2024

LGTM. Will approve once mod files are updated.

Signed-off-by: Patrick Zheng <[email protected]>
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.

LGTM

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

@Two-Hearts Two-Hearts merged commit 767d1e3 into notaryproject:main Aug 15, 2024
7 checks passed
@Two-Hearts Two-Hearts deleted the update branch August 15, 2024 00:57
@Two-Hearts Two-Hearts mentioned this pull request Aug 20, 2024
7 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.

4 participants