tools/fake-editor, s3-fetch-and-sync: add comments

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-09-02 19:55:40 -07:00 committed by MXE
parent 465d3acd22
commit 49b2b8aec3
2 changed files with 18 additions and 3 deletions

View File

@ -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`

View File

@ -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