[lintian] 01/01: data/files/fnames: Ensure package-contains-python-doctree-file also warns about compressed .doctree files.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit c1ea578a5f815e33f40bc35ed232e75b76ebbcae
Author: Chris Lamb <lamby@debian.org>
Date: Fri Feb 2 22:06:26 2018 +0000
data/files/fnames: Ensure package-contains-python-doctree-file also warns about compressed .doctree files.
---
data/files/fnames | 2 +-
debian/changelog | 3 +++
t/tests/files-general/debian/debian/rules | 1 +
t/tests/files-general/tags | 1 +
4 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/data/files/fnames b/data/files/fnames
index a6d3953..b2867d8 100644
--- a/data/files/fnames
+++ b/data/files/fnames
@@ -4,6 +4,6 @@ file-name-contains-wildcard-character ~~ [*?]
package-contains-compiled-glib-schema ~~ ^usr/share/glib-[^\/]+/schemas/gschemas\.compiled$
package-contains-file-in-etc-skel ~~ ^etc/skel/(?!\.(bash(rc|_logout)|m?kshrc|profile)).
package-contains-python-coverage-file ~~ (^|/)\.coverage$
-package-contains-python-doctree-file ~~ \.doctree$
+package-contains-python-doctree-file ~~ \.doctree(\.gz)?$
package-contains-python-hypothesis-example ~~ /\.hypothesis/examples/[^\)]+/.+
package-contains-python-tests-in-global-namespace ~~ ^usr/lib/python[^\/]+/(dist|site)-packages/test_.+\.py$
diff --git a/debian/changelog b/debian/changelog
index fa13223..2bf4ef0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -73,6 +73,9 @@ lintian (2.5.73) UNRELEASED; urgency=medium
* data/debhelper/dh_commands-manual:
+ [NT] Remove dh_systemd* entries. Debian stable have a recent
enough version of debhelper that this entry no longer matters.
+ * data/files/fnames:
+ + [CL] Ensure package-contains-python-doctree-file also warns about
+ compressed .doctree files.
* data/files/js-libraries:
+ [CL] Avoid false-positives when detecting Twitter's bootstrap
library. (Closes: #888972)
diff --git a/t/tests/files-general/debian/debian/rules b/t/tests/files-general/debian/debian/rules
index 8902a06..6645dd4 100755
--- a/t/tests/files-general/debian/debian/rules
+++ b/t/tests/files-general/debian/debian/rules
@@ -37,6 +37,7 @@ override_dh_install:
touch $(tmp)/usr/share/fonts/X11/misc/false-positive
touch $(tmp)/usr/share/foo/.nfs-fake-tmpfile
touch $(tmp)/usr/share/foo/foo.doctree
+ : | gzip > $(tmp)/usr/share/foo/bar.doctree.gz
touch $(tmp)/usr/share/foo/gschemas.compiled
touch $(tmp)/usr/share/glib-2.0/schemas/gschemas.compiled
touch $(tmp)/usr/lib/python3/dist-packages/test_foo.py
diff --git a/t/tests/files-general/tags b/t/tests/files-general/tags
index 1259e03..efca458 100644
--- a/t/tests/files-general/tags
+++ b/t/tests/files-general/tags
@@ -37,6 +37,7 @@ W: files-general: icon-size-and-directory-name-mismatch usr/share/apps/lintian/i
W: files-general: icon-size-and-directory-name-mismatch usr/share/icons/hicolor/22x22/apps/lintian-16x16.png 16x16
W: files-general: nfs-temporary-file-in-package usr/share/foo/.nfs-fake-tmpfile
W: files-general: obsolete-comments-style-in-php-ini etc/php/7.0/mods-available/php-foo.ini
+W: files-general: package-contains-python-doctree-file usr/share/foo/bar.doctree.gz
W: files-general: package-contains-python-doctree-file usr/share/foo/foo.doctree
W: files-general: package-contains-python-tests-in-global-namespace usr/lib/python3/dist-packages/test_foo.py
W: files-general: raster-image-in-scalable-directory usr/share/icons/hicolor/scalable/apps/lintian-16x16.png
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: