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: only pull configuration in root #684

Merged
merged 29 commits into from
Nov 14, 2022
Merged

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Nov 9, 2022

Resolves #682

Signed-off-by: Billy Zha [email protected]

@qweeah qweeah marked this pull request as draft November 9, 2022 08:37
@qweeah qweeah marked this pull request as ready for review November 9, 2022 08:47
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
cmd/oras/pull.go Outdated Show resolved Hide resolved
internal/content/graph.go Outdated Show resolved Hide resolved
internal/content/graph.go Outdated Show resolved Hide resolved
internal/content/graph.go Outdated Show resolved Hide resolved
internal/content/graph.go Outdated Show resolved Hide resolved
Signed-off-by: Billy Zha <[email protected]>
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 Nov 10, 2022

Codecov Report

Merging #684 (a109092) into main (77331c7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #684   +/-   ##
=======================================
  Coverage   72.12%   72.12%           
=======================================
  Files          14       14           
  Lines         513      513           
=======================================
  Hits          370      370           
  Misses        114      114           
  Partials       29       29           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@qweeah qweeah changed the title fix: only pull config once for root manifest fix: only pull one configuration and support selective sujbect pullling Nov 10, 2022
@qweeah qweeah requested a review from Wwwsylvia November 10, 2022 06:16
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
@qweeah qweeah requested a review from shizhMSFT November 10, 2022 08:35
cmd/oras/pull.go Outdated Show resolved Hide resolved
internal/graph/graph.go Outdated Show resolved Hide resolved
cmd/oras/pull.go Outdated Show resolved Hide resolved
cmd/oras/pull.go Outdated Show resolved Hide resolved
cmd/oras/pull.go Outdated Show resolved Hide resolved
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
@qweeah qweeah changed the title fix: only pull one configuration and support selective sujbect pullling fix: only pull configuration in root Nov 11, 2022
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
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

@shizhMSFT shizhMSFT merged commit 2329c6e into oras-project:main Nov 14, 2022
TerryHowe pushed a commit to TerryHowe/oras that referenced this pull request Feb 2, 2023
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.

oras pull fails when --config is used and there is more than one config in the reference tree
4 participants