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

chore: cherry pick fixes from main #487

Merged
merged 15 commits into from
Dec 10, 2024

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Dec 9, 2024

This PR cherry picks from main to release-1.3. This is for v1.3.0-rc.2 release.

This PR targets on branch release-1.3.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.60%. Comparing base (fb1f0c8) to head (dd73327).

Files with missing lines Patch % Lines
notation.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.3     #487      +/-   ##
===============================================
- Coverage        81.71%   80.60%   -1.12%     
===============================================
  Files               33       33              
  Lines             2374     3062     +688     
===============================================
+ Hits              1940     2468     +528     
- Misses             302      463     +161     
+ Partials           132      131       -1     

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

JeyJeyGao
JeyJeyGao previously approved these changes Dec 9, 2024
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. Compared commit history and diff against main branch.

@Two-Hearts Two-Hearts changed the title bump: cherry pick from main chore: cherry pick from main Dec 9, 2024
@shizhMSFT shizhMSFT changed the title chore: cherry pick from main chore: cherry pick fixes from main Dec 9, 2024
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.

The commit e723406 is required to be backported.

JeyJeyGao and others added 12 commits December 9, 2024 14:16
…ification

Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
This PR adds tsa trust store root cert validation while getting
certificates from trust store. This is to fail fast if cert in TSA trust
store is not a root CA certificate.

Resolves notaryproject#470

---------

Signed-off-by: Patrick Zheng <[email protected]>
…#472)

When a plugin exceeds the specified timeout or deadline for content
processing, the current error message displayed is ```signal: killed```.
This PR updates the error message to a more informative message:
```[plugin_name] [command_name] command execution timeout: signal:
killed```

---------

Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Co-authored-by: Pritesh Bandi <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
…#479)

Fix:
- added warning message for non-revokable certificate

---------

Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Fix:
- replaced `.String()` with the `%v` format to avoid rendering the
string before actually logging it.

Resolves notaryproject#480

Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
JeyJeyGao
JeyJeyGao previously approved these changes Dec 9, 2024
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

@Two-Hearts
Copy link
Contributor Author

The commit e723406 is required to be backported.

Updated.

@shizhMSFT
Copy link
Contributor

Should cherry pick the following commits 84c2ec0...95bac00. Since #469 has merge conflicts, the related commit is covered by #489

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.

dd73327 should not be in this PR. Also, 11866a5 is missed.

Please create a new PR for bumping notation-core-go and merge after this PR.

@Two-Hearts
Copy link
Contributor Author

dd73327 should not be in this PR. Also, 11866a5 is missed.

Please create a new PR for bumping notation-core-go and merge after this PR.

@shizhMSFT removed dd73327. However, cherry picking 11866a5 leads to conflict, so it has to be dropped. Will create another PR to bump up the dependencies.

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

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

@vaninrao10 vaninrao10 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 41d0380 into notaryproject:release-1.3 Dec 10, 2024
9 checks passed
@Two-Hearts Two-Hearts deleted the release-1.3 branch December 10, 2024 00:13
@Two-Hearts Two-Hearts mentioned this pull request Dec 12, 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.

6 participants