You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/08/10 01:38:21 UTC

[lucy-commits] svn commit: r1155973 - in /incubator/lucy/trunk/modules/analysis/snowstem: devel/update_snowstem.pl source/README

Author: marvin
Date: Tue Aug  9 23:38:21 2011
New Revision: 1155973

URL: http://svn.apache.org/viewvc?rev=1155973&view=rev
Log:
Add a README explaining the missing license headers in the Snowball stemmer
source files.

Added:
    incubator/lucy/trunk/modules/analysis/snowstem/source/README
Modified:
    incubator/lucy/trunk/modules/analysis/snowstem/devel/update_snowstem.pl

Modified: incubator/lucy/trunk/modules/analysis/snowstem/devel/update_snowstem.pl
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/modules/analysis/snowstem/devel/update_snowstem.pl?rev=1155973&r1=1155972&r2=1155973&view=diff
==============================================================================
--- incubator/lucy/trunk/modules/analysis/snowstem/devel/update_snowstem.pl (original)
+++ incubator/lucy/trunk/modules/analysis/snowstem/devel/update_snowstem.pl Tue Aug  9 23:38:21 2011
@@ -37,6 +37,25 @@ $retval = system("make dist_libstemmer_c
 die "'make dist_libstemmer_c' failed" if ( $retval >> 8 );
 chdir($oldpwd) or die $!;
 
+# Add a README file explaining the deal with Snowball and license headers.
+my $snowstem_readme_path = catfile( $dest_dir, 'source', 'README' );
+open( my $snowstem_readme_fh, '>:encoding(UTF-8)', $snowstem_readme_path )
+    or die "Can't open '$snowstem_readme_path': $!";
+print $snowstem_readme_fh <<'END_STUFF';
+Unless otherwise noted, the files within this directory are imported directly
+from a checkout of the Snowball source code repository.  Some of the files do
+not contain license headers, by choice of the Snowball project:
+
+    http://snowball.tartarus.org/license.php
+
+    We have not bothered to insert the licensing arrangement into the text of
+    the Snowball software. 
+
+For licensing information, see LICENSE and NOTICE at the top of the Apache
+Lucy distribution.
+END_STUFF
+close $snowstem_readme_fh or die $!;
+
 # Copy only UTF-8 Stemmer files.  Keep directory structure intact so that
 # compilation succeeds.
 copy_dir_contents( 'src_c', qr/UTF/ );

Added: incubator/lucy/trunk/modules/analysis/snowstem/source/README
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/modules/analysis/snowstem/source/README?rev=1155973&view=auto
==============================================================================
--- incubator/lucy/trunk/modules/analysis/snowstem/source/README (added)
+++ incubator/lucy/trunk/modules/analysis/snowstem/source/README Tue Aug  9 23:38:21 2011
@@ -0,0 +1,11 @@
+Unless otherwise noted, the files within this directory are imported directly
+from a checkout of the Snowball source code repository.  Some of the files do
+not contain license headers, by choice of the Snowball project:
+
+    http://snowball.tartarus.org/license.php
+
+    We have not bothered to insert the licensing arrangement into the text of
+    the Snowball software. 
+
+For licensing information, see LICENSE and NOTICE at the top of the Apache
+Lucy distribution.