-
Notifications
You must be signed in to change notification settings - Fork 181
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
feat: add flag to skip deleting obsolete referrers index #957
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #957 +/- ##
==========================================
+ Coverage 81.08% 81.39% +0.30%
==========================================
Files 53 54 +1
Lines 2792 2816 +24
==========================================
+ Hits 2264 2292 +28
+ Misses 358 355 -3
+ Partials 170 169 -1
|
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]>
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]>
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]>
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
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.
What about the manifest delete path?
Referrers index deletion happens after manifest deletion right? If the registry already supports deletion and the token used covers manifest deletion, why would referrers index fail? Also why would user want to skip referrers index deletion when manifest deletion is successful? |
Signed-off-by: Billy Zha <[email protected]>
LoL. Makes sense. |
Signed-off-by: Billy Zha <[email protected]>
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
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
…s-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…s-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…t#957) Signed-off-by: Billy Zha <[email protected]> Co-authored-by: Terry Howe <[email protected]>
…s-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…as-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…as-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…as-project#957)" This reverts commit ba60b99. Signed-off-by: Billy Zha <[email protected]>
…)" (#1046) Signed-off-by: Billy Zha <[email protected]>
…as-project#957)" (oras-project#1046) Signed-off-by: Billy Zha <[email protected]>
…as-project#957)" (oras-project#1046) Signed-off-by: Billy Zha <[email protected]>
What this PR does / why we need it:
This PR adds a flag to
oras attach
,oras cp
andoras manifest push
. The flag can be used to specify whether to clean up old referrers index when referrers API is not available.There is not a breaking change and by default, mentioned commands will still do referrers cleanup.
Depends on merging of #967.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #954, fixes #952, fixes #915
Please check the following list: