matthewSorensen / s3-tools

Tool to sync git repositories with S3 buckets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

s3sync

Simple tool to sync git repositories with s3 buckets. Two modes of operation: --reset, which resets the working tree and uploads every tracked file, and normal mode, which uploads/deletes every file changed in both the index and working tree. S3sync can be configured to commit changes upon upload, with the --commit option, which takes a commit message.

Data is gzip'ed for upload, and the appropriate headers are set. Mime-types are guessed, and browser caches expire in six hours.

AWS credentials are obtained from the AWS_ACCESS_KEY, AWS_SECRET_KEY, and AWS_S3_BUCKET environment variables.

Unfortunately, the Haskell S3 library has a number of shortcomings: all connections are http-only, and files are loaded into memory before requests are sent.

About

Tool to sync git repositories with S3 buckets.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%