You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/01/09 15:42:01 UTC

[2/2] lucy git commit: Fix rat-excludes

Fix rat-excludes

It seems that Rat's -E option expects regexes that are matched against
the filename without directory.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/435ccf64
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/435ccf64
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/435ccf64

Branch: refs/heads/0.4
Commit: 435ccf64555c9fb78de4772ac1d57cc280e2c9da
Parents: 0a56401
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Jan 9 15:40:33 2016 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Jan 9 15:40:33 2016 +0100

----------------------------------------------------------------------
 devel/conf/rat-excludes | 57 +++++++++++---------------------------------
 1 file changed, 14 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/435ccf64/devel/conf/rat-excludes
----------------------------------------------------------------------
diff --git a/devel/conf/rat-excludes b/devel/conf/rat-excludes
index 676f566..7df9ba5 100644
--- a/devel/conf/rat-excludes
+++ b/devel/conf/rat-excludes
@@ -14,69 +14,40 @@
 # limitations under the License.
 
 # Ignore the .git directory.
-.git/**
+\.git
 
 # CHANGES and MANIFEST files do not require license headers.
 CHANGES
-perl/MANIFEST
+MANIFEST
 
 # doc file does not require license.
 CONTRIBUTING
 
 # The Lemon parser generator is in the public domain.  See LUCY-173.
-lemon/lemon.c
-lemon/lempar.c
+lemon\.c
+lempar\.c
 
 # The Snowball stemmer source code files do not contain license headers, by
 # choice of the Snowball developers.  See
 # modules/analysis/snowstem/source/README.
-modules/analysis/snowstem/source/include/libstemmer.h
-modules/analysis/snowstem/source/libstemmer/libstemmer_utf8.c
-modules/analysis/snowstem/source/libstemmer/modules_utf8.h
-modules/analysis/snowstem/source/runtime/api.c
-modules/analysis/snowstem/source/runtime/api.h
-modules/analysis/snowstem/source/runtime/header.h
-modules/analysis/snowstem/source/runtime/utilities.c
-modules/analysis/snowstem/source/src_c/*.c
-modules/analysis/snowstem/source/src_c/*.h
-
-# JSON is a commentless format, so this file cannot have a license header.  It
-# is derived from Snowball sources, and its licensing situation is documented
-# in the README file next to it.
-modules/analysis/snowstem/source/test/tests.json
+snowstem
 
 # This file is autogenerated, as indicated in the comment at the top.
-modules/analysis/snowstop/source/snowball_stoplists.c
+snowball_stoplists\.c
 
 # The Unicode license as applied to utf8proc and the Unicode Character Database
 # was dealt with in LEGAL-110.
-modules/unicode/utf8proc/utf8proc_data.c
-modules/unicode/ucd/WordBreak.tab
-modules/unicode/ucd/WordBreakTest.json
-
-# JSON does not allow comments
-modules/unicode/utf8proc/tests.json
-
-# For whatever reason, RAT does not recognize the MIT license of utf8proc.h
-# and utf8proc.c.
-modules/unicode/utf8proc/utf8proc.h
-modules/unicode/utf8proc/utf8proc.c
-modules/unicode/utf8proc/utf8proc_data.h
+utf8proc_data\.h
+WordBreak\.tab
 
 # The text of the US constitution is in the public domain.
-perl/sample/us_constitution/*.txt
+us_constitution
+
+# JSON does not allow comments
+.*\.json
 
 # Clownfish parcel files (.cfp) are in JSON format and cannot have comments.
-core/Lucy.cfp
-core/TestLucy.cfp
+.*\.cfp
 
 # gitignore files should be ignored
-.gitignore
-c/.gitignore
-charmonizer/.gitignore
-core/Lucy/Util/Json/.gitignore
-lemon/.gitignore
-perl/.gitignore
-perl/lib/.gitignore
-perl/lib/Lucy/.gitignore
-perl/lib/LucyX/Search/.gitignore
+\.gitignore