]> source.dussan.org Git - archiva.git/commitdiff
don't mail on an innocuous sync
authorBrett Porter <brett@apache.org>
Mon, 30 Jul 2007 05:28:52 +0000 (05:28 +0000)
committerBrett Porter <brett@apache.org>
Mon, 30 Jul 2007 05:28:52 +0000 (05:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@560871 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/synchronize/syncopate/sync

index af682fbe64627f936fdfd454be10198324034a0c..204dfbd4084b43647c30dc3c397c419f6f25189d 100755 (executable)
@@ -179,18 +179,22 @@ sub runRsync()
         if ( /^artifact/ )
         {
             my @details = split;
+
+            # TODO: fix hardcoding
+            if ( ! ( $details[1] eq "home/maven/repository-staging/to-ibiblio/maven/." ) )
+            {
+                print REPORT "<tr>" . "\n";
             
-            print REPORT "<tr>" . "\n";
-            
-            print REPORT "<td>" . $details[1] . "</td>" . "\n";
+                print REPORT "<td>" . $details[1] . "</td>" . "\n";
             
-            print REPORT "<td>" . $details[2] . "</td>" . "\n";            
+                print REPORT "<td>" . $details[2] . "</td>" . "\n";            
             
-            print REPORT "<td>" . $details[3] . " " . $details[4] . "</td>" . "\n";
+                print REPORT "<td>" . $details[3] . " " . $details[4] . "</td>" . "\n";
             
-            print REPORT "</tr>" . "\n";
+                print REPORT "</tr>" . "\n";
 
-            $sendMail = 1;
+                $sendMail = 1;
+            }
         }
         else
         {