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

fix: bug in pushing with multiple tags #1209

Merged
merged 7 commits into from
Dec 25, 2023
Merged

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Dec 22, 2023

What this PR does / why we need it:
This PR fixed the bug mentioned in #1208 with minimal refactoring on getTrackedTarget

Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

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

Comparison is base (4aca01f) 80.16% compared to head (b38a5f8) 79.85%.

Files Patch % Lines
cmd/oras/root/push.go 42.30% 11 Missing and 4 partials ⚠️
cmd/oras/root/pull.go 30.00% 3 Missing and 4 partials ⚠️
cmd/oras/internal/display/track/target.go 0.00% 2 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1209      +/-   ##
==========================================
- Coverage   80.16%   79.85%   -0.31%     
==========================================
  Files          67       67              
  Lines        3681     3684       +3     
==========================================
- Hits         2951     2942       -9     
- Misses        515      524       +9     
- Partials      215      218       +3     

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

cmd/oras/internal/display/track/target.go Outdated Show resolved Hide resolved
cmd/oras/root/pull.go Outdated Show resolved Hide resolved
cmd/oras/root/push.go Outdated Show resolved Hide resolved
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[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

@qweeah qweeah merged commit 03ff401 into oras-project:main Dec 25, 2023
6 checks passed
FeynmanZhou pushed a commit to FeynmanZhou/oras that referenced this pull request May 11, 2024
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.

3 participants