~linaro-infrastructure/linaro-license-protection/master

  • Committer: Benjamin Copeland
  • Date: 2018-11-13 11:23:41 UTC
  • Revision ID: git-v1:b156abd87b29c82da267d8030a8409531d3cc5f1
s3_purge: Delete S3 versioned objects

Our bucket has grown too big over time, this change will allow S3
objects to be fully deleted from S3.

The script is split into two ways (ish):

1. No options will mark the objects that are over --markdays as deleted.
This is only a version marker in S3 and as such will now delete the
file.

2. --forcedelete is used to permanently delete that marked file. This is
only ran within the deletedays period.

2a. --cleanup_releases. This cleans up all marked objects in the releases/
prefix. This needs to be used with --forcedelete since it will
permanently delete objects. Since we don't have a life time policy for
releases/ this is only ever going to delete files that are older than
deletedays.

Change-Id: I438526978c186f96af4ee689bd0eb2340bc94c01
Reviewed-on: https://review.linaro.org/28796
Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
Filename Latest Rev Last Changed Committer Comment Size
..
css 131 11 years ago Stevan Radakovic Predefined textfiles rendering support. Reviewed b Diff
js 131 11 years ago Stevan Radakovic Predefined textfiles rendering support. Reviewed b Diff
license_protected_downloads 86 11 years ago Danilo Segan Merge in django-refactoring. Diff
sampleroot 105 11 years ago Danilo Šegan Clean up unused files and READMEs (provide INSTALL Diff
scripts 29 12 years ago Danilo Segan Add uncommitted stuff: licenses/nolicense.html and Diff
templates 86 11 years ago Danilo Segan Merge in django-refactoring. Diff
testplans 75 12 years ago Stevan Radakovic Renamed directory with doctests for the new produc Diff
tests 76 12 years ago Danilo Šegan Clean up the Python code to adhere to PEP-8, do a Diff
.gitignore 435 6 years ago Benjamin Copeland Dockerfile: Include a dockerfile for debugging No 108 bytes Diff Download File
.gitreview 233 10 years ago Milo Casagrande Add .gitreview file. 93 bytes Diff Download File
.testr.conf 75.1.2 12 years ago Danilo Šegan Rename "testing" subdirectory to "tests". 91 bytes Diff Download File
__init__.py 84.1.2 11 years ago James Tunnicliffe Moved files out od django-rewrite. Combines .bzrig Empty Diff Download File
Dockerfile 451 6 years ago Benjamin Copeland Docker: Update docker command We should run colle 923 bytes Diff Download File
HACKING 193.1.1 10 years ago James Tunnicliffe Updated buildinfo logic to be much faster at machi 3.8 KB Diff Download File
INSTALL 208.1.1 10 years ago Milo Casagrande Merged James branch. 1.6 KB Diff Download File
File manage.py 295 9 years ago Andy Doan fix import issues with recent versions of django 699 bytes Diff Download File
manage.sh 284 9 years ago Paul Sokolovsky manage.sh: Add helper script to call manage.py wit 527 bytes Diff Download File
README 342 8 years ago Paul Sokolovsky README: Current BUILD-INFO format version is 0.5. 7.7 KB Diff Download File
reload.sh 449 6 years ago Kelley Spoon Docker: add a script to reload gunicorn from outsi 96 bytes Diff Download File
requirements.txt 445 6 years ago Benjamin Copeland License: Make Digest field unique In very rare ca 175 bytes Diff Download File
settings.py 456 5 years ago Kelley Spoon Settings: import proxy_settings file if present C 10.5 KB Diff Download File
settings_production.py 454 6 years ago Kelley Spoon Settings: Move report csv to prevent overwrites in 1.1 KB Diff Download File
File unit-test.sh 397 8 years ago Ben Copeland unit-test: define python version Due to some OS'e 519 bytes Diff Download File
urls.py 439 6 years ago Benjamin Copeland URLS: Add missing view Our reports page is missin 4.5 KB Diff Download File
version.py 262 9 years ago Andy Doan bug #322: fix version information for snapshots T 642 bytes Diff Download File
wsgi_production.py 393 8 years ago Ben Copeland allowed_hosts: allow llp code to use a hosts file 776 bytes Diff Download File