src/utils/qa/weeklybld/buildHgCentralSql.csh 1.16

1.16 2009/07/01 18:31:18 rhead
Changed push request notes.
Index: src/utils/qa/weeklybld/buildHgCentralSql.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/buildHgCentralSql.csh,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 1000000 -r1.15 -r1.16
--- src/utils/qa/weeklybld/buildHgCentralSql.csh	22 Dec 2008 22:36:53 -0000	1.15
+++ src/utils/qa/weeklybld/buildHgCentralSql.csh	1 Jul 2009 18:31:18 -0000	1.16
@@ -1,57 +1,60 @@
 #!/bin/tcsh
 cd $WEEKLYBLD
 
 if ( "$HOST" != "hgwdev" ) then
 	echo "error: you must run this script on hgwdev!"
 	exit 1
 endif
 
 hgsqldump --all -d -c -h genome-centdb hgcentral \
 sessionDb userDb | sed -e "s/genome-centdb/localhost/" > \
 /tmp/hgcentral.sql
 
 hgsqldump --all -c -h genome-centdb hgcentral \
 defaultDb blatServers dbDb dbDbArch gdbPdb liftOverChain clade genomeClade targetDb | \
 sed -e "s/genome-centdb/localhost/" >> /tmp/hgcentral.sql
 echo
 echo "*** Diffing old new ***"
 diff /usr/local/apache/htdocs/admin/hgcentral.sql /tmp/hgcentral.sql
 if ( ! $status ) then
 	echo
 	echo "No differences."
 	echo
 endif 
 
 if ( "$1" != "real" ) then
 	echo
 	echo "Not real.   To make real changes, put real as cmdline parm."
 	echo
 	exit 0
 endif 
 
 rm /usr/local/apache/htdocs/admin/hgcentral.sql
 cp -p /tmp/hgcentral.sql /usr/local/apache/htdocs/admin/hgcentral.sql
 rm hiding/hgcent/hgcentral.sql
 cp -p /tmp/hgcentral.sql hiding/hgcent/hgcentral.sql
 cd hiding/hgcent
 set temp = '"'"v${BRANCHNN}"'"'
 cvs -d hgwdev:/projects/compbio/cvsroot commit -m $temp  hgcentral.sql
 if ( $status ) then
 	echo "error during cvs commit of hgcentral.sql."
 	exit 1
 endif
 
 
 echo
 echo "Push request:"
-echo "Please push from dev-->hgdownload "
+echo "Please push from dev --> hgdownload "
 echo "  /usr/local/apache/htdocs/admin/hgcentral.sql"
 echo
-echo "Please also push the hgcentral/blatServers table"
-echo "from hgnfs1 to hgdownload."
-echo
 echo "reason: (describe here)"
 echo
+echo "NOTE:  If this is an update of hgcentral that is not part of a new"
+echo "build, also ask for the relevant tables to be pushed to hgdownload"
+echo "for mirror site access. For example:"
+echo "  Please also push the hgcentral/blatServers table"
+echo "  from hgnfs1 --> hgdownload."
+echo
 
 exit 0