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 2011/09/15 18:36:09 UTC
svn commit: r1171167 -
/lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
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: