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

[lintian] 01/01: Bump arch-dep-package-has-big-usr-share thresholds; they were last set in 2004. (Closes: #648755)



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

lamby pushed a commit to branch master
in repository lintian.

commit 355b9822b50a63f38c7da7a6a576eef711f81b49
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Jan 1 22:21:16 2018 +0000

    Bump arch-dep-package-has-big-usr-share thresholds; they were last set in 2004. (Closes: #648755)
---
 checks/huge-usr-share.pm                           | 4 ++--
 debian/changelog                                   | 3 +++
 t/tests/huge-usr-share-percent/debian/debian/rules | 2 +-
 t/tests/huge-usr-share-percent/tags                | 2 +-
 t/tests/legacy-binary/desc                         | 3 ++-
 t/tests/legacy-binary/tags                         | 1 -
 6 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/checks/huge-usr-share.pm b/checks/huge-usr-share.pm
index 78225fd..b301978 100644
--- a/checks/huge-usr-share.pm
+++ b/checks/huge-usr-share.pm
@@ -27,8 +27,8 @@ use Lintian::Tags qw(tag);
 
 # Threshold in kB of /usr/share to trigger this warning.  Consider that the
 # changelog alone can be quite big, and cannot be moved away.
-my $THRESHOLD_SIZE_SOFT = 2048;
-my $THRESHOLD_SIZE_HARD = 4096;
+my $THRESHOLD_SIZE_SOFT = 4096;
+my $THRESHOLD_SIZE_HARD = 8192;
 my $THRESHOLD_PERC = 50;
 
 sub run {
diff --git a/debian/changelog b/debian/changelog
index 6c72dd8..586669a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ lintian (2.5.68) UNRELEASED; urgency=medium
   * checks/scripts.desc:
     + [CL] Also mention Recommends and Suggests in the opening paragraph of
       python-script-but-no-python-dep.  (Closes: #687141)
+  * checks/huge-usr-share.pm:
+    + [CL] Bump arch-dep-package-has-big-usr-share thresholds; they were
+      last set in 2004.  (Closes: #648755)
 
  -- Chris Lamb <lamby@debian.org>  Mon, 01 Jan 2018 15:41:06 +0000
 
diff --git a/t/tests/huge-usr-share-percent/debian/debian/rules b/t/tests/huge-usr-share-percent/debian/debian/rules
index f6d1b1c..0d87500 100755
--- a/t/tests/huge-usr-share-percent/debian/debian/rules
+++ b/t/tests/huge-usr-share-percent/debian/debian/rules
@@ -7,4 +7,4 @@ override_dh_install:
 	echo "Hallo World" > debian/huge-usr-share-percent/usr/lib/a/some-file
 	install -d debian/huge-usr-share-percent/usr/share/a
 	dd if=/dev/zero of=debian/huge-usr-share-percent/usr/share/a/zero \
-	    bs=1024k count=2
+	    bs=1024k count=4
diff --git a/t/tests/huge-usr-share-percent/tags b/t/tests/huge-usr-share-percent/tags
index 6ee12c9..a475423 100644
--- a/t/tests/huge-usr-share-percent/tags
+++ b/t/tests/huge-usr-share-percent/tags
@@ -1 +1 @@
-I: huge-usr-share-percent: arch-dep-package-has-big-usr-share 2049kB 100%
+I: huge-usr-share-percent: arch-dep-package-has-big-usr-share 4097kB 100%
diff --git a/t/tests/legacy-binary/desc b/t/tests/legacy-binary/desc
index 6a06d5e..1e6f661 100644
--- a/t/tests/legacy-binary/desc
+++ b/t/tests/legacy-binary/desc
@@ -7,7 +7,6 @@ Test-Against:
  control-file-is-empty
 Test-For:
  ancient-standards-version
- arch-dep-package-has-big-usr-share
  binary-control-field-duplicates-source
  binary-has-unneeded-section
  binary-without-manpage
@@ -94,3 +93,5 @@ Test-For:
  unstripped-binary-or-object
  vcs-field-uses-insecure-uri
  xs-vcs-header-in-debian-control
+Test-Against:
+ arch-dep-package-has-big-usr-share
diff --git a/t/tests/legacy-binary/tags b/t/tests/legacy-binary/tags
index 06c266d..731069a 100644
--- a/t/tests/legacy-binary/tags
+++ b/t/tests/legacy-binary/tags
@@ -51,7 +51,6 @@ I: binary source: vcs-field-uses-insecure-uri vcs-browser http://svn.wolffelaar.
 I: binary source: vcs-field-uses-insecure-uri vcs-svn http://svn.wolffelaar.nl/lintian/trunk
 I: binary source: xs-vcs-header-in-debian-control xs-vcs-browser
 I: binary-data: capitalization-error-in-description subversion Subversion
-I: binary: arch-dep-package-has-big-usr-share
 I: binary: binary-has-unneeded-section usr/bin/hello-static .comment
 I: binary: capitalization-error-in-description debian Debian
 I: binary: desktop-entry-contains-encoding-key usr/share/applications/goodbye.desktop:11 Encoding

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


Reply to: