mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #2026] [MERGED] implement retention CRUD #2031
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#2031
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/2026
Author: @motiejus
Created: 9/12/2025
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @fsouza
Base:
main← Head:retention📝 Commits (2)
91a47c7implement retention CRUD85d717bExpose Retention to objectResponse📊 Changes
5 files changed (+363 additions, -52 deletions)
View changed files
📝
fakestorage/object.go(+131 -33)📝
fakestorage/object_test.go(+183 -0)📝
fakestorage/response.go(+15 -0)📝
fakestorage/upload.go(+13 -0)📝
internal/backend/object.go(+21 -19)📄 Description
The simplest thing that can possibly set/get retention configuration.
It will honor Locked/Unlocked. It will not actually remove objects that are out of retention.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.