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(filemanager): version_id for S3 API calls #587

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

mmalenic
Copy link
Member

@mmalenic mmalenic commented Oct 3, 2024

Closes #586

Depends on #585

Changes

  • Use version_ids for HeadObject, GetObjectTagging, PutObjectTagging and presigned GetObject requests.
    • If versioning is not enabled, then the default "null" string version is used, which lines up with how AWS treats buckets without versioning enabled.

@mmalenic mmalenic self-assigned this Oct 3, 2024
@mmalenic mmalenic added fix filemanager an issue relating to the filemanager labels Oct 3, 2024
@mmalenic mmalenic force-pushed the fix/filemanager-version-id branch from a33065d to c68938a Compare October 4, 2024 02:50
@victorskl victorskl linked an issue Oct 4, 2024 that may be closed by this pull request
Copy link
Member

@victorskl victorskl left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from feat/filemanager-tagging to main October 4, 2024 05:09
@mmalenic mmalenic merged commit 5ee4705 into main Oct 4, 2024
1 check passed
@mmalenic mmalenic deleted the fix/filemanager-version-id branch October 4, 2024 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filemanager an issue relating to the filemanager fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(filemanager): use version_id when calling S3 APIs
3 participants