chiark / gitweb /
make awsbucket upload only new or changed files, ignore existing
authorHans-Christoph Steiner <hans@eds.org>
Thu, 17 Apr 2014 22:20:36 +0000 (18:20 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 03:13:38 +0000 (23:13 -0400)
commit7248432d2d89f5c98c96ee3ec90d5162d21db652
treebadb244ecaedeed029f16d2caf3c709f667cc92f
parent98033f3270f882d817ecbe9fffb93d8ff79eb33b
make awsbucket upload only new or changed files, ignore existing

Since it is possible to check the file size and MD5 hash of the file up on
the AWS S3 bucket, `fdroid server update` can check that a file needs to be
updated before actually deleting and uploading the new file.

fixes #3137 https://dev.guardianproject.info/issues/3137
fdroidserver/server.py