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
Fixing http status for PUT/PATCH APIs #3444
Conversation
Signed-off-by: Brandon Mitchell <git@bmitch.net>
1d55356
to
3f09e31
Compare
Codecov Report
@@ Coverage Diff @@
## main #3444 +/- ##
=======================================
Coverage 56.38% 56.38%
=======================================
Files 102 102
Lines 7324 7324
=======================================
Hits 4130 4130
Misses 2541 2541
Partials 653 653 Continue to review full report at Codecov.
|
Attaching the URL to the spec for brevity: https://github.com/opencontainers/distribution-spec/blob/v1.0.0/spec.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thanks for stepping in and catching this one @joaodrp 😅 We really need to automate this somehow. @sudo-bmitch can you please address the code comments. |
@joaodrp any advice for how to handle paginationParameters?
It's used in tags: and catalog: with different values. |
Signed-off-by: Brandon Mitchell <git@bmitch.net>
The latest update leaves |
@sudo-bmitch, thanks for the update. I agree that we should leave the pagination stuff for a separate PR. I raised an issue for it: #3445. |
The checks that are failing here are also failing on I'd like to merge this now but can't as the failing conformance tests are required to pass. This is being discussed in #3442 (comment). cc @sudo-bmitch |
The PUT and PATCH requests should return 201 and 202 respectively.
Signed-off-by: Brandon Mitchell git@bmitch.net