lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1304660 - /lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py
Date Fri, 23 Mar 2012 23:41:40 GMT
Author: sarowe
Date: Fri Mar 23 23:41:40 2012
New Revision: 1304660

URL: http://svn.apache.org/viewvc?rev=1304660&view=rev
Log:
Enable comparisons between Solr distribution artifact names (apache-solr-*) and those of Maven
artifacts (solr-*)

Modified:
    lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py

Modified: lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py?rev=1304660&r1=1304659&r2=1304660&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py (original)
+++ lucene/dev/branches/branch_3x/dev-tools/scripts/smokeTestRelease.py Fri Mar 23 23:41:40
2012
@@ -571,7 +571,10 @@ def checkIdenticalMavenArtifacts(distrib
   for project in ('lucene', 'solr'):
     distFilenames = dict()
     for file in distributionFiles[project]:
-      distFilenames[os.path.basename(file)] = file
+      baseName = os.path.basename(file)
+      if project == 'solr': # Remove 'apache-' prefix to allow comparison to Maven artifacts
+        baseName = baseName.replace('apache-', '')
+      distFilenames[baseName] = file
     for artifact in artifacts[project]:
       if reJarWar.search(artifact):
         if artifact not in nonMavenizedDeps.keys():



Mime
View raw message