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

core: make push response the one pertaining to Manifest (not config #146

Merged

Conversation

tarilabs
Copy link
Contributor

Hi 👋

I think it would be more helpful for Oras Registry push to return the response pertaining to the (global) Manifest of the push-action --rather then the response only of the config layer, as it's today.

  1. step 1/2 with 9702a84 shows test case (would fail on main with "Manifest not found" by means of the SHA)
  2. step 2/2 with f6db11a make the necessary implementation change (trivial change actually)

What do you think?
Hope this is helpful 🙏

Reproducer test (step 1/2)

Signed-off-by: tarilabs <matteo.mortari@gmail.com>
Signed-off-by: tarilabs <matteo.mortari@gmail.com>
Copy link
Contributor

@vsoch vsoch left a comment

Choose a reason for hiding this comment

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

This seems reasonable, and like a better overall design - thanks!

@vsoch vsoch merged commit b8c4885 into oras-project:main Jun 25, 2024
5 checks passed
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.

2 participants