- Galt has a script that incorporates new entries from the release log
section of the push queue and updates the release log on hgwdev (at
hgwdev:/usr/local/apache/htdocs/goldenPath/releaseLog.html). It normally
runs at 8:00 a.m. each morning. Another cron job pushes it from hgwdev
to hgwbeta and the RR around 8:30 a.m.
- Sometimes we need to rebuild the release log, which can be done by using
Galt's script, doRLUpdate.csh. The script is located in Galt's home
directory, but a copy has also been checked in to CVS at
~/kent/src/utils/qa.
- The script uses a small CVS sandbox so that updates to releaseLog.html
can be recorded and tracked. So, before running the script, you need to
check out a tiny portion of the CVS tree. Here are Galt's notes on
copying the script to your home directory and checking out the two
sandboxes the script will look for (one for the regular release log; one
for the ENCODE release log):
cd ~
cp ~galt/doRLUpdate.csh ~
mkdir cron-sandbox
cd cron-sandbox
cvs co -d RL browser/goldenPath/releaseLog.html
cvs co -d RLencode browser/ENCODE/releaseLog.html
cd ~
- Here is the crontab line used to run the cron job, if you are interested:
#Add this to your .ct to run every morning at 8am
0 8 * * * ~/doRLUpdate.csh -noemail > /dev/null
- The cron job runs the doRLUpdate script with the -noemail option (because
a second cron job gets the new releaseLog.html file pushed to hgwbeta and
the RR). When the script is run with no options, an email is automatically
sent to push-request asking for a push of the file to hgwbeta and the RR.
#For those odd moments when you just need to run
#it once and request a push, just run it without -noemail:
doRLUpdate.csh