You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/06/08 11:45:58 UTC

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

Author: rmuir
Date: Fri Jun  8 09:45:58 2012
New Revision: 1347981

URL: http://svn.apache.org/viewvc?rev=1347981&view=rev
Log:
smokeTester: packaging updates

Modified:
    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=1347981&r1=1347980&r2=1347981&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/smokeTestRelease.py Fri Jun  8 09:45:58 2012
@@ -430,7 +430,7 @@ def verifyUnpacked(project, artifact, un
   l = os.listdir(unpackPath)
   textFiles = ['LICENSE', 'NOTICE', 'README']
   if project == 'lucene':
-    textFiles.extend(('JRE_VERSION_MIGRATION', 'CHANGES'))
+    textFiles.extend(('JRE_VERSION_MIGRATION', 'CHANGES', 'MIGRATE'))
     if isSrc:
       textFiles.append('BUILD')
   for fileName in textFiles:
@@ -440,11 +440,9 @@ def verifyUnpacked(project, artifact, un
     l.remove(fileName)
 
   if not isSrc:
+    # TODO: we should add verifyModule/verifySubmodule (e.g. analysis) here and recurse through
     if project == 'lucene':
-      expectedJARs = ('lucene-core-%s' % version,
-                      'lucene-core-%s-javadoc' % version,
-                      'lucene-test-framework-%s' % version,
-                      'lucene-test-framework-%s-javadoc' % version)
+      expectedJARs = ()
     else:
       expectedJARs = ()
 
@@ -455,9 +453,10 @@ def verifyUnpacked(project, artifact, un
       l.remove(fileName)
 
   if project == 'lucene':
-    extras = ('test-framework', 'docs', 'contrib')
+    # TODO: clean this up to not be a list of modules that we must maintain
+    extras = ('analysis', 'benchmark', 'core', 'demo', 'docs', 'facet', 'grouping', 'highlighter', 'join', 'memory', 'misc', 'queries', 'queryparser', 'sandbox', 'spatial', 'suggest', 'test-framework')
     if isSrc:
-      extras += ('build.xml', 'index.html', 'common-build.xml', 'core', 'backwards', 'tools', 'site')
+      extras += ('build.xml', 'index.html', 'common-build.xml', 'backwards', 'tools', 'site')
   else:
     extras = ()