Difference between revisions of "Template:Snippets/Updating code"
From Dreamwidth Notes
(Created page with " cd $LJHOME bin/cvsreport.pl -update # only sync changes from the CVS to the live code bin/cvsreport.pl -sync -cvsonly bin/cvsreport.pl -sync -cvsonly {{#if: {{{description|1...") |
|||
Line 4: | Line 4: | ||
bin/cvsreport.pl -sync -cvsonly | bin/cvsreport.pl -sync -cvsonly | ||
bin/cvsreport.pl -sync -cvsonly | bin/cvsreport.pl -sync -cvsonly | ||
− | {{# | + | {{#ifeq:{{{description|1}}}|1|{{Snippets/Updating code/Description}}| }} |
# order of commands is important | # order of commands is important | ||
$LJHOME/bin/upgrading/update-db.pl -r -p --innodb | $LJHOME/bin/upgrading/update-db.pl -r -p --innodb | ||
$LJHOME/bin/upgrading/update-db.pl -r --cluster=all --innodb | $LJHOME/bin/upgrading/update-db.pl -r --cluster=all --innodb | ||
$LJHOME/bin/upgrading/texttool.pl load | $LJHOME/bin/upgrading/texttool.pl load |
Latest revision as of 20:32, 3 October 2010
cd $LJHOME bin/cvsreport.pl -update # only sync changes from the CVS to the live code bin/cvsreport.pl -sync -cvsonly bin/cvsreport.pl -sync -cvsonly
Yes, you do it twice. If the multicvs.conf file changed, then the first one pulls that file in, and the second one will notice whatever changed according to that file. 99% of the time once is enough, but every once in a while... so it's a good habit to have.
# order of commands is important $LJHOME/bin/upgrading/update-db.pl -r -p --innodb $LJHOME/bin/upgrading/update-db.pl -r --cluster=all --innodb $LJHOME/bin/upgrading/texttool.pl load