www-legal-discuss mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: Test files with no license information
Date Thu, 03 Apr 2008 08:04:07 GMT
Bertrand Delacretaz ha scritto:
> On Thu, Apr 3, 2008 at 1:17 AM, Santiago Gala <sgala@apache.org> wrote:
>>  ....wouldn't it work to have a per project plain text file somewhere which
>>  rat uses as input for "exceptional" files? I mean, changed on this file
>>  could be voted on a case by case basis, say, when a release is going to
>>  be cut after new tests are added, etc....
> +1, I've thinking about that for a while but didn't find time to help
> implementing it.
> IMHO, the output of rat should be a single pass/fail value, based on
> the list of exceptions defined in that file, where file patterns are
> mapped to reasons for not having license headers.
> And those reasons could be agreed upon constants like TEST_DATA,
> -Bertrand

In jSPF we use maven to run RAT and we configured it to exclude files we 
know have no header.:
     <!-- 3rd party resources described in NOTICE:
          see the maven-remote-resources-plugin configuration, in this 
file -->
     <!-- 3rd party descriptors distributed via maven repositories
          and included "as is" -->

Then we added informations about the license/copyright also in the pom:
       <!--  <preProjectText>PRE PROCESS TEXT</preProjectText>  -->
       <postProjectText>This product includes/uses software, JUnit 
developed by Kent Beck, Erich Gamma, and David Saff
License: Common Public License Version 1.0 

This product has been inspired from the spfjava library
written by Roger Fullerton and Neil Murray.

This product contains DNS-aware tests inspired by DNSJava
test code written and copyrighted by Brian Wellington, too.
(see src\test\java\org\apache\james\jspf\dnsserver\ files)

This product contains resources (SPF parser tests: test_parser.txt
and test_rfc_examples.txt) derived from the libspf2 library
(http://www.libspf2.org/) and distributed under the BSD license
and copyright by Wayne Schlitt, Shevek.
(see src\test\resources\org\apache\james\jspf\libspf2.LICENSE)

This product contains resources (rfc4408-tests.yml) from the
openspf group, distributed under the BSD license and copyright
by Stuart D. Gathman and Julian Mehnle.
(see src\test\resources\org\apache\james\jspf\rfc4408-tests.LICENSE)

This product contains resources (tests.yml, pyspf-tests.yml)
from the pyspf library (http://cheeseshop.python.org/pypi/pyspf)
distributed under the Python Software Foundation License and
copyright by Terence Way, Stuart Gathman (stuart@bmsi.com) and
Scott Kitterman.
(see src\test\resources\org\apache\james\jspf\pyspf.LICENSE)

This file is automatically generated by dependencies declared in pom.xml

This way the final NOTICE contains informations about that files.


DISCLAIMER: Discussions on this list are informational and educational
only.  Statements made on this list are not privileged, do not
constitute legal advice, and do not necessarily reflect the opinions
and policies of the ASF.  See <http://www.apache.org/licenses/> for
official ASF policies and documents.
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org

View raw message