[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Add tla false positive for gfdl



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 3ac47595fafd4c4f00c8034606685025ecc6badc
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Wed Sep 3 21:14:52 2014 +0200

    Add tla false positive for gfdl
---
 data/cruft/gfdl-license-fragments-checks            |  2 ++
 debian/changelog                                    |  2 ++
 .../debian/src/oldfalsepositive/tla.txt             | 21 +++++++++++++++++++++
 t/tests/cruft-gfdl-invariants/tags                  |  1 +
 t/tests/cruft-minified-js/tags                      |  1 +
 5 files changed, 27 insertions(+)

diff --git a/data/cruft/gfdl-license-fragments-checks b/data/cruft/gfdl-license-fragments-checks
index 72f541c..aab3924 100644
--- a/data/cruft/gfdl-license-fragments-checks
+++ b/data/cruft/gfdl-license-fragments-checks
@@ -19,6 +19,8 @@
 \A with [ ] no [ ] invariants? [ ] sections? (?:[ ]?[,\.;][ ]? and [ ] no [ ] covers? [ ] texts?)?\Z ~~ ~~ license-problem-gfdl-non-official-text
 # jedit
 \A with [ ] no [ ] invariant [ ] sections?[ ]?,?[ ]? front[ ]?-?[ ]?cover [ ] texts? [ ] or [ ] back[ ]?-?[ ]?cover [ ] texts?[ ]?,?[ ]?each [ ] as [ ] defined [ ] in [ ] the [ ] license \Z ~~ ~~ license-problem-gfdl-non-official-text
+# tla
+\A with [ ] the [ ] front[ ]?-?[ ]?cover [ ] texts? [ ] being [ ] \(none\) [ ] and [ ] with [ ] the [ ] back[ ]?-?[ ]?cover [ ] texts [ ] being [ ] \(none\) \Z ~~ ~~ license-problem-gfdl-non-official-text
 #
 # Conditionnaly ok
 #
diff --git a/debian/changelog b/debian/changelog
index 54cff8a..368c20a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -68,6 +68,8 @@ lintian (2.5.26) UNRELEASED; urgency=medium
   * checks/testsuite.desc:
     + [BR] Update ref url.  (Closes: #755275).
   
+  * data/cruft/gfdl-license-fragments-checks:
+    + [BR] Add tla false positive for gfdl license text.
   * data/cruft/non-distributable-files:
     + [BR] Detect play boy Lenna test image.
   * data/cruft/non-free-files:
diff --git a/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/tla.txt b/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/tla.txt
new file mode 100644
index 0000000..2043b26
--- /dev/null
+++ b/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/tla.txt
@@ -0,0 +1,21 @@
+/*
+ *      :permissions ("Permission is granted to copy, distribute and/or modify this document"
+ *                    "under the terms of the GNU Free Documentation License, Version 1.1"
+ *                    "or any later version published by the Free Software Foundation;"
+ *                    "with the Invariant Sections being:"
+ *                    ""
+ *                    "         The GNU General Public License"
+ *                    "         The GNU Free Documentation License"
+ *                    ""
+ *                    "with the Front-Cover Texts being"
+ *                    ""
+ *                    "         (none),"
+ *                    ""
+ *                    "and with the Back-Cover Texts being"
+ *                    ""
+ *                    "         (none)."
+ *                    ""
+ *                    "A copy of the license is included in the section entitled \"GNU"
+ *                    "Free Documentation License\"."))
+ *
+ */
\ No newline at end of file
diff --git a/t/tests/cruft-gfdl-invariants/tags b/t/tests/cruft-gfdl-invariants/tags
index 4fd7da6..5dff359 100644
--- a/t/tests/cruft-gfdl-invariants/tags
+++ b/t/tests/cruft-gfdl-invariants/tags
@@ -28,5 +28,6 @@ P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldf
 P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/quoteswithasdefined.xml invariant part is: with no invariant sections , front-cover texts or back-cover texts , each as defined in the license
 P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/texignu.texi invariant part is: with no invariant sections, with no front-cover texts and with no back-cover texts
 P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/texlive.tex invariant part is: with no invariant sections, with no front-cover texts, and no back-cover texts
+P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/tla.txt invariant part is: with the front-cover texts being (none) and with the back-cover texts being (none)
 P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/variantdictfold.txt invariant part is: with no invariant sections, front- or back-cover texts
 P: cruft-gfdl-invariants source: license-problem-gfdl-non-official-text src/oldfalsepositive/zeroisnotplural.texi invariant part is: with no invariant section, no front-cover text and no back-cover text
diff --git a/t/tests/cruft-minified-js/tags b/t/tests/cruft-minified-js/tags
index 34d50e2..959954a 100644
--- a/t/tests/cruft-minified-js/tags
+++ b/t/tests/cruft-minified-js/tags
@@ -1,6 +1,7 @@
 E: cruft-minified-js source: source-is-missing deployJava/deployJava.js
 E: cruft-minified-js source: source-is-missing usr/share/javascript/jswithoutminextwithoutsource/jsonnotsourced.js
 E: cruft-minified-js source: source-is-missing usr/share/javascript/minwithoutsource/notsourced.min.js
+P: cruft-minified-js source: source-contains-prebuilt-javascript-object oldfalsepositives/-debug.js/test-min.js
 P: cruft-minified-js source: source-contains-prebuilt-javascript-object oldfalsepositives/src.js/test.min.js
 P: cruft-minified-js source: source-contains-prebuilt-javascript-object oldfalsepositives/suffix/test-compiled.js
 P: cruft-minified-js source: source-contains-prebuilt-javascript-object oldfalsepositives/suffix/test-lite.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: