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

[cherry-pick ] fix replication issue on signature #16913

Merged
merged 2 commits into from
May 26, 2022

Conversation

wy65701436
Copy link
Contributor

@wy65701436 wy65701436 commented May 26, 2022

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Sorry, something went wrong.

fix 16883

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes goharbor#16883, set the labels belonging to the subject manifest to the accessories on replication.

Signed-off-by: Wang Yan <[email protected]>
The tag/lable filter only works on the subject manifest, and if the subject manifest is mathed, all the accessories are marked as matched.

Signed-off-by: Wang Yan <[email protected]>
@codecov
Copy link

codecov bot commented May 26, 2022

Codecov Report

Merging #16913 (f16ac6f) into release-2.5.0 (9d7404f) will decrease coverage by 0.03%.
The diff coverage is 45.00%.

Impacted file tree graph

@@                Coverage Diff                @@
##           release-2.5.0   #16913      +/-   ##
=================================================
- Coverage          67.38%   67.35%   -0.04%     
=================================================
  Files                949      949              
  Lines              78873    78886      +13     
  Branches            2331     2331              
=================================================
- Hits               53150    53135      -15     
- Misses             22164    22186      +22     
- Partials            3559     3565       +6     
Flag Coverage Δ
unittests 67.35% <45.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/pkg/reg/model/resource.go 75.00% <ø> (ø)
src/pkg/reg/filter/artifact.go 58.58% <45.00%> (-6.54%) ⬇️
...g-retention-tasks/tag-retention-tasks.component.ts 60.00% <0.00%> (-25.72%) ⬇️
src/lib/cache/util.go 73.68% <0.00%> (-15.79%) ⬇️
...tegration/tag-retention/tag-retention.component.ts 30.43% <0.00%> (-5.22%) ⬇️
src/common/utils/passports.go 84.61% <0.00%> (-5.13%) ⬇️
...-nav/gc-page/gc/gc-history/gc-history.component.ts 60.37% <0.00%> (+9.43%) ⬆️
src/pkg/permission/evaluator/rbac/casbin_match.go 100.00% <0.00%> (+10.00%) ⬆️
src/common/rbac/system/namespace.go 44.44% <0.00%> (+11.11%) ⬆️

@wy65701436 wy65701436 added the release-note/update Update or Fix label May 26, 2022
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 merged commit b050678 into goharbor:release-2.5.0 May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants