You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/09/21 22:10:20 UTC
svn commit: r1809239 - in /tomcat/trunk: res/rat/rat-excludes.txt
webapps/docs/changelog.xml
Author: markt
Date: Thu Sep 21 22:10:20 2017
New Revision: 1809239
URL: http://svn.apache.org/viewvc?rev=1809239&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=61554
Exclude test files in unusual encodings and markdown files intended for display in GitHub from RAT analysis.
Patch provided by Chris Thistlethwaite.
Modified:
tomcat/trunk/res/rat/rat-excludes.txt
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/res/rat/rat-excludes.txt
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/rat/rat-excludes.txt?rev=1809239&r1=1809238&r2=1809239&view=diff
==============================================================================
--- tomcat/trunk/res/rat/rat-excludes.txt (original)
+++ tomcat/trunk/res/rat/rat-excludes.txt Thu Sep 21 22:10:20 2017
@@ -30,8 +30,8 @@
- package-list and script.js files in API documentation (javadoc) are
generated
- - other test files, such as trivial textual files containing only "OK' string
- or compressed files are also excluded.
+ - other test files, such as trivial textual files containing only "OK' string,
+ files in unusual encodings or compressed files are also excluded.
- JSON files (RFC7159) are data and cannot contain comments
@@ -51,6 +51,9 @@
(*.gif, *.jpg are also binary, but are automatically detected by RAT as
ones, so no explicit configuration is needed)
+ - Markdown files for display in ther GitHub UI
+
+
output/build/logs/*
output/test-tmp/**
@@ -68,6 +71,11 @@ output/dist/webapps/docs/*/package-list
output/dist/webapps/docs/*/script.js
output/dist/src/test/webapp/index.html.br
+output/dist/src/test/webapp/bug49nnn/bug49464-cp1252.txt
+output/dist/src/test/webapp/bug49nnn/bug49464-ibm850.txt
+output/dist/src/test/webapp/bug49nnn/bug49464-iso-8859-1.txt
+output/dist/src/test/webapp/bug49nnn/bug49464-utf-8-bom.txt
+output/dist/src/test/webapp/bug49nnn/bug49464-utf-8.txt
output/dist/src/test/webapp/bug53257/*.txt
output/dist/src/test/webapp/bug53257/foo bar/foobar.txt
output/dist/src/test/webapp-fragments/WEB-INF/classes/*.txt
@@ -75,6 +83,11 @@ output/dist/src/test/webresources/dir1/d
output/dist/src/test/webresources/dir1/d2/d2-f1.txt
output/dist/src/test/webresources/dir1/*.txt
test/webapp/index.html.br
+test/webapp/bug49nnn/bug49464-cp1252.txt
+test/webapp/bug49nnn/bug49464-ibm850.txt
+test/webapp/bug49nnn/bug49464-iso-8859-1.txt
+test/webapp/bug49nnn/bug49464-utf-8-bom.txt
+test/webapp/bug49nnn/bug49464-utf-8.txt
test/webapp/bug53257/*.txt
test/webapp/bug53257/foo bar/foobar.txt
test/webapp-fragments/WEB-INF/classes/*.txt
@@ -82,6 +95,7 @@ test/webresources/dir1/d1/d1-f1.txt
test/webresources/dir1/d2/d2-f1.txt
test/webresources/dir1/*.txt
+
**/*.json
build.properties
@@ -159,5 +173,9 @@ res/checkstyle/header-al2.txt
output/dist/temp/safeToDelete.tmp
+
**/*.bmp
**/*.dia
+
+output/dist/src/README.md
+README.md
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1809239&r1=1809238&r2=1809239&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Sep 21 22:10:20 2017
@@ -52,6 +52,11 @@
uploaded via a specially crafted request when HTTP PUT was enabled.
(markt)
</fix>
+ <fix>
+ <bug>61554</bug>: Exclude test files in unusual encodings and markdown
+ files intended for display in GitHub from RAT analysis. Patch provided
+ by Chris Thistlethwaite. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org