-
Notifications
You must be signed in to change notification settings - Fork 594
fix(repository): allow extending blob retentions #4151
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4151 +/- ##
==========================================
+ Coverage 75.86% 77.23% +1.36%
==========================================
Files 470 484 +14
Lines 37301 28867 -8434
==========================================
- Hits 28299 22294 -6005
+ Misses 7071 4667 -2404
+ Partials 1931 1906 -25 ☔ View full report in Codecov by Sentry. |
julio-lopez
left a comment
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.
Hold on.
|
any update? |
|
@jkowalski I see you added the generic readonly a few years ago and also the GCS specific read-only (in the original commit) What do you think about just removing the scope variation completely? Removing it has 3 benefits:
Then GCS would use the client default (ScopeFullControl) and the generic |
julio-lopez
left a comment
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.
+1: LG 👍
We should get @jkowalski input before merging.
jkowalski
left a comment
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 the PR! |
Extending a blob requires full control. On the newer client styles (e.g.
option.WithCredentialsJSON(j)), this is the default if no scope is specified.Before:
After: