diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-03 02:55:40 (GMT) |
---|---|---|
committer | MXE <mxe@mxe.cc> | 2014-09-03 02:56:36 (GMT) |
commit | 49b2b8aec3dd045ad87dc7f7f1481cc559809eee (patch) | |
tree | 9884352643b781c4199bb6c417617682553aebee | |
parent | 465d3acd221aa454bd3e49fd38fcd79341bb9856 (diff) | |
download | mxe-49b2b8aec3dd045ad87dc7f7f1481cc559809eee.zip mxe-49b2b8aec3dd045ad87dc7f7f1481cc559809eee.tar.gz mxe-49b2b8aec3dd045ad87dc7f7f1481cc559809eee.tar.bz2 |
tools/fake-editor, s3-fetch-and-sync: add comments
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rwxr-xr-x | tools/fake-editor | 5 | ||||
-rwxr-xr-x | tools/s3-fetch-and-sync | 16 |
2 files changed, 18 insertions, 3 deletions
diff --git a/tools/fake-editor b/tools/fake-editor index fa86005..25a7ccf 100755 --- a/tools/fake-editor +++ b/tools/fake-editor @@ -1,4 +1,9 @@ #!/bin/sh +# This file is part of MXE. +# See index.html for further information. + +# Fake "editor" to format output for GitHub issue. +# See tools/s3-fetch-and-sync for more info. cat <<EOF >$1 Download failure: `date -u` diff --git a/tools/s3-fetch-and-sync b/tools/s3-fetch-and-sync index 9beb6c5..654a7f5 100755 --- a/tools/s3-fetch-and-sync +++ b/tools/s3-fetch-and-sync @@ -1,9 +1,19 @@ #!/bin/sh +# This file is part of MXE. +# See index.html for further information. -#ec2-174-129-78-72.compute-1.amazonaws.com -#http://s3tools.org/s3cmd +# cron job running on our DigitalOcean server fetching and uploading +# package tarballs to MXE Amazon S3 backup server. -# File issue on GitHub if download fails. +# This also acts as a CI to file issue on GitHub if download fails. + +# DigitalOcean server IP: 162.243.7.196 +# Old Amazon EC2 server: ec2-174-129-78-72.compute-1.amazonaws.com +# The script uses s3cmd to sync package tarballs: +# http://s3tools.org/s3cmd + +# Manual switch to enable/disable issue filing on GitHub. +# Useful to prevent the same issue from being filed multiple times file_issue=true cd ~/mxe && git pull |