support cloud storage with libcloud, starting with Amazon AWS S3

apache-libcloud enables uploading to basically any cloud storage service.
This is the first implementation that allows `fdroid server` to push a repo
up to a AWS S3 'bucket'.  Supporting other cloud storage services should
mostly be a matter of finding the libcloud "Provider" and setting the
access creditials.

fixes #3137 https://dev.guardianproject.info/issues/3137
This commit is contained in:
Hans-Christoph Steiner 2014-04-15 22:41:28 -04:00
parent d1cd817759
commit f0def08add
3 changed files with 62 additions and 6 deletions

View file

@ -102,6 +102,15 @@ keyaliases['com.example.another.plugin'] = '@com.example.another'
# sub-directories (i.e. /var/www/packagerepos/fdroid).
#serverwebroot = 'user@example:/var/www/fdroid'
# To upload the repo to an Amazon S3 bucket using `fdroid server update`.
# Warning, this deletes and recreates the whole fdroid/ directory each
# time. This is based on apache-libcloud, which supports basically all cloud
# storage services, so it should be easy to port the fdroid server tools to
# any of them.
#awsbucket = 'myawsfdroid'
#awsaccesskeyid = 'SEE0CHAITHEIMAUR2USA'
#awssecretkey = 'yourverysecretkeywordpassphraserighthere'
# If you want to force 'fdroid server' to use a non-standard serverwebroot
#nonstandardwebroot = False