lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1171167 - /lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
Date Thu, 15 Sep 2011 16:36:09 GMT
Author: mikemccand
Date: Thu Sep 15 16:36:09 2011
New Revision: 1171167

URL: http://svn.apache.org/viewvc?rev=1171167&view=rev
Log:
fail if api docs are missing from solr (this bit us in 3.4.0)

Modified:
    lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py

Modified: lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py?rev=1171167&r1=1171166&r2=1171167&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py Thu Sep 15 16:36:09 2011
@@ -338,6 +338,12 @@ def verifyUnpacked(project, artifact, un
         raise RuntimeError('%s: file "%s" is missing from artifact %s' % (project, fileName,
artifact))
       l.remove(fileName)
 
+    if project == 'solr':
+      # Make sure the api jdocs are there (this was missing in 3.4.0):
+      for path in ('docs', 'docs/api', 'docs/api/solrj', 'docs/api/test-framework'):
+        if not os.path.exists('%s/index.html' % path):
+          raise RuntimeError('cannot find api javadocs for "%s"' % path)
+
   if project == 'lucene':
     extras = ('lib', 'docs', 'contrib')
     if isSrc:



Mime
View raw message