Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r330 - trunk/sites/psi/scripts/admin

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r330 - trunk/sites/psi/scripts/admin


Chronological Thread 
  • From: "AFS account Florian Huebner" <huebner AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r330 - trunk/sites/psi/scripts/admin
  • Date: Thu, 26 Feb 2009 13:32:17 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: huebner
Date: Thu Feb 26 13:32:17 2009
New Revision: 330

Log:
GWT directories will no longer be deleted and replaced by the wrong ones upon
deployment

Modified:
trunk/sites/psi/scripts/admin/deploy_prod.sh
trunk/sites/psi/scripts/admin/deploy_qa.sh

Modified: trunk/sites/psi/scripts/admin/deploy_prod.sh
==============================================================================
--- trunk/sites/psi/scripts/admin/deploy_prod.sh (original)
+++ trunk/sites/psi/scripts/admin/deploy_prod.sh Thu Feb 26 13:32:17
2009
@@ -76,13 +76,17 @@
src=$SRC_ROOT/$f
dst=$DST_ROOT/$f
if [ -d "$src" ]; then
- echo "Removing $dst"
- rm -rf $dst
- echo "Copying $src to $dst"
- cp -pR $src $dst
+ #echo "Removing $dst"
+ #rm -rf $dst
+ #echo "Copying $src to $dst"
+ #cp -pR $src $dst
+ echo "synchronising $src to $dst"
+ rsync -avE --delete
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiInclude/
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiMashup/ $src/ $dst/
else
- echo "Copying $src to $dst"
- cp -p $src $dst
+ #echo "Copying $src to $dst"
+ #cp -p $src $dst
+ echo "synchronising $src to $dst"
+ rsync -avE
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiInclude/
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiMashup/ $src/ $dst/
fi
done


Modified: trunk/sites/psi/scripts/admin/deploy_qa.sh
==============================================================================
--- trunk/sites/psi/scripts/admin/deploy_qa.sh (original)
+++ trunk/sites/psi/scripts/admin/deploy_qa.sh Thu Feb 26 13:32:17 2009
@@ -77,13 +77,17 @@
src=$SRC_ROOT/$f
dst=$DST_ROOT/$f
if [ -d "$src" ]; then
- echo "Removing $dst"
- rm -rf $dst
- echo "Copying $src to $dst"
- cp -pR $src $dst
+ #echo "Removing $dst"
+ #rm -rf $dst
+ #echo "Copying $src to $dst"
+ #cp -pR $src $dst
+ echo "synchronising $src to $dst"
+ rsync -avE --delete
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiInclude/
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiMashup/ $src/ $dst/
else
- echo "Copying $src to $dst"
- cp -p $src $dst
+ #echo "Copying $src to $dst"
+ #cp -p $src $dst
+ echo "synchronising $src to $dst"
+ rsync -avE
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiInclude/
--exclude=ch.psi.idok.gwt.twiki.IdokSearchTwikiMashup/ $src/ $dst/
fi
done




  • [idok-commit] idok commit r330 - trunk/sites/psi/scripts/admin, AFS account Florian Huebner, 02/26/2009

Archive powered by MHonArc 2.6.19.

Top of Page