lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "Validation" by GrantIngersoll
Date Thu, 14 Apr 2011 15:02:01 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "Validation" page has been changed by GrantIngersoll.
http://wiki.apache.org/lucene-java/Validation

--------------------------------------------------

New page:
= Intro =

Validation is the process/tools committers use to validate that the artifacts we produce are
correct in terms of the ASF and other quality control measures.  Validation is not about testing,
which is covered by TestPlans and TestIdeas as well as our test framework, etc.  Validation
is more about checking licenses, correct headers, using RAT, etc.

= Implemented =
== License Validation ==

As of 3.2 and 4.0 (both Lucene and Solr) the test process now checks to see if all libraries
are properly licensed, etc. by running the validation code in Lucene/src/utils.  


Validation currently scans the specified lib directories and, for every jar file, looks for
a corresponding license file, and in certain cases a NOTICE file.  It does not currently build
out a LICENSE.txt or NOTICE.txt file from these, but see TODO for a issue to cover that.

All Jar files, therefore must have a corresponding file named using the following convention:
 file-name-LICENSE-[LICENSE TYPE].txt where LICENSE TYPE is one of the licenses enumerated
in org.apache.lucene.validation.LicenseType (under ./lucene/src/tools).  The LicenseType enum
also specifies whether a NOTICE file is required, so please refer to it for information on
whether a NOTICE file is required.  (Note, this isn't cast in stone, as it is based on Grant's
interpretation of ASF docs)

= Other Validation Ideas =

 1. Check for conflicting library versions
 1. Tools for validating patches similar to Hadoop's precommit tools
 1. Release validation tools (check the contents of an artifact)

Mime
View raw message