You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/10/18 14:34:25 UTC

svn commit: r1399622 - in /lucene/dev/branches/branch_4x/dev-tools: ./ scripts/smokeTestRelease.py

Author: mikemccand
Date: Thu Oct 18 12:34:25 2012
New Revision: 1399622

URL: http://svn.apache.org/viewvc?rev=1399622&view=rev
Log:
only check SYSTEM_REQUIREMENTS.txt for lucene

Modified:
    lucene/dev/branches/branch_4x/dev-tools/   (props changed)
    lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py

Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py?rev=1399622&r1=1399621&r2=1399622&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py Thu Oct 18 12:34:25 2012
@@ -576,9 +576,9 @@ def verifyUnpacked(project, artifact, un
   os.chdir(unpackPath)
   isSrc = artifact.find('-src') != -1
   l = os.listdir(unpackPath)
-  textFiles = ['LICENSE', 'NOTICE', 'README', 'SYSTEM_REQUIREMENTS']
+  textFiles = ['LICENSE', 'NOTICE', 'README']
   if project == 'lucene':
-    textFiles.extend(('JRE_VERSION_MIGRATION', 'CHANGES', 'MIGRATE'))
+    textFiles.extend(('JRE_VERSION_MIGRATION', 'CHANGES', 'MIGRATE', 'SYSTEM_REQUIREMENTS'))
     if isSrc:
       textFiles.append('BUILD')
   for fileName in textFiles:
@@ -629,6 +629,10 @@ def verifyUnpacked(project, artifact, un
   if project == 'lucene':
     if len(l) > 0:
       raise RuntimeError('%s: unexpected files/dirs in artifact %s: %s' % (project, artifact, l))
+  else:
+    # TODO: re-enable this check
+    if False and not os.path.exists('%s/solr/SYSTEM_REQUIREMENTS.txt' % unpackPath):
+      raise RuntimeError('%s: solr/SYSTEM_REQUIREMENTS.txt does not exist in artifact %s' % (project, artifact))
 
   if isSrc:
     print('    make sure no JARs/WARs in src dist...')