From 6872f9eaa2f80ad2510993e8247b59178a615f40 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Tue, 29 Mar 2005 00:10:35 +0000 Subject: [PATCH] commit outstanding changes git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163697 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/syncopate/conf/apache.conf | 5 +++-- .../src/bin/syncopate/conf/maven-plugins-sf.conf | 3 ++- maven-meeper/src/bin/syncopate/sync | 15 +++++++++++---- maven-meeper/src/bin/syncopate/syncopate.conf | 4 ++-- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/maven-meeper/src/bin/syncopate/conf/apache.conf b/maven-meeper/src/bin/syncopate/conf/apache.conf index 8b26943294..9dbe24392c 100644 --- a/maven-meeper/src/bin/syncopate/conf/apache.conf +++ b/maven-meeper/src/bin/syncopate/conf/apache.conf @@ -1,9 +1,10 @@ [info] id = apache name = Apache Software Foundation -contact = repository@apache.org +#contact = repository@apache.org +contact = carlos@apache.org [host] -address=www.apache.org +address=minotaur.apache.org directory=/www/www.apache.org/dist/java-repository rsyncUser=jvanzyl diff --git a/maven-meeper/src/bin/syncopate/conf/maven-plugins-sf.conf b/maven-meeper/src/bin/syncopate/conf/maven-plugins-sf.conf index 6d0b749ead..a7768473d7 100644 --- a/maven-meeper/src/bin/syncopate/conf/maven-plugins-sf.conf +++ b/maven-meeper/src/bin/syncopate/conf/maven-plugins-sf.conf @@ -1,7 +1,8 @@ [info] id = maven-plugins-sf name = Maven Plugins @ SourceForge -contact = maven-plugins-developer@lists.sourceforge.net +#contact = maven-plugins-developer@lists.sourceforge.net +contact = carlos@apache.org [host] address=shell.sourceforge.net diff --git a/maven-meeper/src/bin/syncopate/sync b/maven-meeper/src/bin/syncopate/sync index b3ea0a918b..9155f3a30e 100755 --- a/maven-meeper/src/bin/syncopate/sync +++ b/maven-meeper/src/bin/syncopate/sync @@ -78,7 +78,7 @@ sub syncSource() $repoDirectory = $sourceConfiguration->val( "host", "repoDirectory" ); } - my $cmd = "rsync $standardOptions $options --rsh=\"ssh -l $rsyncUser\" $address:$directory/ $repoDirectory"; + my $cmd = "rsync $standardOptions $options --rsh=\"ssh -T -v -l $rsyncUser\" $address:$directory/ $repoDirectory"; runRsync( $cmd, $sourceConfiguration ); } @@ -199,11 +199,18 @@ sub runRsync() close( RAW_REPORT ); - $rawReportText = $rawReportText . "\n\nYou can view the syncronization reports for today here: \n\n"; + if ( $rawReportText ) + + { + + $rawReportText = $rawReportText . "\n\nYou can view the syncronization reports for today here: \n\n"; - $rawReportText = $rawReportText . $reportUrl . "/" . $dir; + $rawReportText = $rawReportText . $reportUrl . "/" . $dir; - notify( $sourceConfiguration, $reportName, $rawReportText ); + notify( $sourceConfiguration, $reportName, $rawReportText ); + + } + } sub date diff --git a/maven-meeper/src/bin/syncopate/syncopate.conf b/maven-meeper/src/bin/syncopate/syncopate.conf index e4e37b995c..dd515bea15 100644 --- a/maven-meeper/src/bin/syncopate/syncopate.conf +++ b/maven-meeper/src/bin/syncopate/syncopate.conf @@ -1,8 +1,8 @@ [syncopate] repoDirectory=/home/projects/maven/repository/ibiblio-v1 -options=--log-format="artifact %f %l %t" -rvl -L --size-only +options=--log-format="artifact %f %l %t" -rvl -L --size-only -q rsyncUser=rsync reportUrl=http://repo1.maven.org/reports -reportDirectory=/home/projects/maven/repository/ibiblio-v1 +reportDirectory=/home/projects/maven/repository/ibiblio-v1/.maven smtpServer=mail.maven.org