aboutsummaryrefslogtreecommitdiff
path: root/c1d7e20
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2019-11-08 08:50:30 -0600
committerKelley Spoon <kelley.spoon@linaro.org>2019-11-12 15:14:18 +0000
commit7855130ddee12625d16df56f79ef8a4b9d16ac7f (patch)
treee3a06ddf3cf45f924499f0393827f4b22c652b0b /c1d7e20
parentc1d7e20344026be1b9b4e57071e03459e12ec6e6 (diff)
downloadlinaro-license-protection-master.tar.gz
s3_flatten: add s3_flatten scriptHEADmaster
This script is intended to replace the s3_purge command. It simplifies the logic by breaking the clean up process into 3 parts: 1 - "flatten" all file objects to have no more than 1 version object and optionally 1 deletemarker regardless of prefix 2 - delete any expired files from prefixes that have not been excluded via S3_PURGE_EXCLUDES 3 - place deletemarkers on files that are older than MARK_DAYS that have not been excluded via S3_PURGE_EXCLUDES The other difference with this script is that it attempts to determine what objects to delete as it iterates through the versioned bucket listing, and will collect multiple delete operations into a single multidelete request. Change-Id: I25a227f574504bb4e828f29670aec366e87952c9 Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/33268 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'c1d7e20')
0 files changed, 0 insertions, 0 deletions