maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r331929 - in /maven/components/trunk/maven-meeper/src/bin: synchronize.sh update-poms.sh
Date Wed, 09 Nov 2005 00:35:29 GMT
Author: carlos
Date: Tue Nov  8 16:35:28 2005
New Revision: 331929

URL: http://svn.apache.org/viewcvs?rev=331929&view=rev
Log:
Moved update poms section outside to be triggered by svn commits

Added:
    maven/components/trunk/maven-meeper/src/bin/update-poms.sh   (with props)
Modified:
    maven/components/trunk/maven-meeper/src/bin/synchronize.sh

Modified: maven/components/trunk/maven-meeper/src/bin/synchronize.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/synchronize.sh?rev=331929&r1=331928&r2=331929&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/synchronize.sh (original)
+++ maven/components/trunk/maven-meeper/src/bin/synchronize.sh Tue Nov  8 16:35:28 2005
@@ -24,20 +24,6 @@
 )
 retval=$?; if [ $retval != 0 ]; then exit $retval; fi
 
-
-# get poms from svn and generate checksums
-(
-  src=/home/projects/maven/repository-staging/pom-svn-repository
-  dest=/home/projects/maven/repository-staging/to-ibiblio/maven2
-  cd $src
-  /usr/local/subversion/bin/svn update
-  rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > updated-poms.log
-  for f in `grep .pom updated-poms.log` ; do md5sum $dest/$f > $dest/$f.md5 ; sha1sum
$dest/$f > $dest/$f.sha1; done
-  retval=$?; if [ $retval != 0 ]; then exit $retval; fi
-)
-retval=$?; if [ $retval != 0 ]; then exit $retval; fi
-
-
 (
   cd $TOOLS_BASE/ibiblio-sync
   ./synchronize-codehaus-to-ibiblio.sh

Added: maven/components/trunk/maven-meeper/src/bin/update-poms.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/update-poms.sh?rev=331929&view=auto
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/update-poms.sh (added)
+++ maven/components/trunk/maven-meeper/src/bin/update-poms.sh Tue Nov  8 16:35:28 2005
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+src=/home/projects/maven/repository-staging/pom-svn-repository
+dest=/home/projects/maven/repository-staging/to-ibiblio/maven2
+
+cd $src
+/usr/local/subversion/bin/svn update
+
+rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > updated-poms.log
+
+for f in `grep .pom updated-poms.log` ; do 
+  md5sum $dest/$f > $dest/$f.md5 ; 
+  sha1sum $dest/$f > $dest/$f.sha1;
+done
+
+rm updated-poms.log

Propchange: maven/components/trunk/maven-meeper/src/bin/update-poms.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-meeper/src/bin/update-poms.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/components/trunk/maven-meeper/src/bin/update-poms.sh
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message