You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2006/06/01 00:33:45 UTC

svn commit: r410693 - /maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh

Author: carlos
Date: Wed May 31 15:33:44 2006
New Revision: 410693

URL: http://svn.apache.org/viewvc?rev=410693&view=rev
Log:
Remove --ignore-existing, add -c and -i

Modified:
    maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh

Modified: maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh?rev=410693&r1=410692&r2=410693&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh (original)
+++ maven/components/trunk/maven-meeper/src/bin/m2-sync/m2-sync.sh Wed May 31 15:33:44 2006
@@ -4,6 +4,15 @@
 echo Ensure all artifacts have a valid POM, and are signed used PGP.
 echo This will be removed when the repository manager is in place.
 
+echo
+
+echo
+echo If you see a "c" flag in the output for something different than maven-metadata files
+echo then we have a problem, because it means the checksum of the file changed
+echo
+echo For a better explanation of the output flags please check --itemize-changes at rsync man page
+echo
+
 OPTS=-n
 if [ "$1" == "go" ]; then
   echo Doing sync for real
@@ -13,6 +22,9 @@
 fi
 
 cd $HOME/repository-staging/to-ibiblio/maven2
-CMD="rsync --exclude-from=/home/projects/maven/repository-tools/syncopate/exclusions.txt -e ssh $OPTS --ignore-existing -avz $FROM $TO"
+
+# ideally we would use --ignore-existing but we need to copy the metadata files
+
+CMD="rsync --exclude-from=/home/projects/maven/repository-tools/syncopate/exclusions.txt -e ssh $OPTS -acivz $FROM $TO"
 echo "Syncing $FROM -> $TO"
 $CMD