16 Commits

Author SHA1 Message Date
5386074c1b line up the lines in the update scripts so they're a little easier to compare side-by-side 2020-09-12 03:52:22 +00:00
8309eb2209 make site-updaters that are mtn dependent also work with git. 2020-09-10 00:05:01 +00:00
588f2f7887 Include mtn revision in rendered pages 2015-10-02 12:49:37 +00:00
817c1aa479 compile translations when site-updater.sh is run for the first time 2014-02-23 23:36:48 +00:00
d424140ac2 site-updater: ensure TOUCHFILE exists
This should prevent some application servers from continuously spamming the
logs in the event that TOUCHFILE can't be found.
2014-02-23 18:20:58 +00:00
9ce88ce971 fix earlier checkin (let's not be so verbose); anonymous pull 2014-02-22 17:29:27 +00:00
9e4bbb72bf allow overriding settings set in update.vars 2014-02-14 01:51:52 +00:00
90047161cb scripts: add optional support for "timeout"; allow site-updater to be called directly
Sometimes the mtn syncs hang until aborted. Well, my syncing with welterde and
echelon would hang periodically until I added the same timeout support I'm
adding here. In short, if Montone's action has not completed within 20 minutes,
forcably kill the process. /usr/bin/timeout is a part of coreutils so most
(all?) Linux distributions should have it but I don't require timeout to exist.
If "timeout" can be found, it'll be used.

Also, set site-updater.sh to change to the directory in which the script is
located. This way one can give an absolute path in a cronjob.

Both of these changes should be low risk.
2014-02-13 22:13:21 +00:00
61f604c898 Define site-updater touch file in update vars
To use Apache mod_wsgi, change $TOUCHFILE to point to the WSGI
file, and set "WSGIScriptReloading On" in the Apache config.
2013-12-09 11:23:37 +00:00
782cb1c9ec Added branch arg to "mtn pull" 2013-12-08 20:16:46 +00:00
5c6855b7c4 explicit mtn pull then mtn up 2013-10-01 11:51:00 +00:00
ba651ceafb site-updater updates
- no unneccesary uses of cat
- create tempfile with mktemp and cleanup with a trap
- simplify regex
2013-08-31 23:52:07 +00:00
b403e74fd5 Fixed detection of Python file changes 2013-08-29 06:57:23 +00:00
2e12ed8703 Compile translations on adding and dropping 2013-08-28 02:40:38 +00:00
dev
53e242e93a change server restart method 2013-08-14 22:21:59 +00:00
4e5b6790d1 Added site updater 2013-08-14 22:18:06 +00:00