lintian: r1271 - in trunk: debian testset testset/description testset/description/debian
Author: djpig
Date: 2008-04-17 22:27:07 +0200 (Thu, 17 Apr 2008)
New Revision: 1271
Added:
trunk/testset/description/
trunk/testset/description/debian/
trunk/testset/description/debian/changelog
trunk/testset/description/debian/control
trunk/testset/description/debian/rules
trunk/testset/tags.description
Modified:
trunk/debian/changelog
Log:
* testset/description:
+ [FL] New testcases by Tobias Toedter. (Closes: #471838)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-17 20:24:44 UTC (rev 1270)
+++ trunk/debian/changelog 2008-04-17 20:27:07 UTC (rev 1271)
@@ -62,6 +62,8 @@
* testset/copyright:
+ [FL] New testcases by Tobias Toedter. (Closes: #472665)
+ * testset/description:
+ + [FL] New testcases by Tobias Toedter. (Closes: #471838)
* unpack/list-srcpkg:
+ [RA] Fix syntax error introduced by Uploaders support.
Added: trunk/testset/description/debian/changelog
===================================================================
--- trunk/testset/description/debian/changelog (rev 0)
+++ trunk/testset/description/debian/changelog 2008-04-17 20:27:07 UTC (rev 1271)
@@ -0,0 +1,22 @@
+description (1.0-1) unstable; urgency=low
+
+ * Initial release.
+ * Add the following tests of tags never seen:
+ - changelog-not-compressed-with-max-compression
+ - debian-changelog-file-contains-obsolete-user-emacs-settings
+ - description-starts-with-package-name
+ - description-starts-with-leading-spaces
+ - description-contains-tabs
+ - description-is-debmake-template
+ - description-synopsis-is-empty
+ - description-contains-invalid-control-statement
+ - description-too-long
+ - extended-description-line-too-long
+ - possible-unindented-list-in-extended-description
+
+ -- Tobias Toedter <t.toedter@gmx.net> Wed, 19 Mar 2008 17:01:51 +0100
+
+# Local Variables:
+# cperl-indent-level: 4
+# add-log-mailing-address: Lintian Maintainers <lintian-maint@debian.org>
+# indent-tabs-mode: t
Added: trunk/testset/description/debian/control
===================================================================
--- trunk/testset/description/debian/control (rev 0)
+++ trunk/testset/description/debian/control 2008-04-17 20:27:07 UTC (rev 1271)
@@ -0,0 +1,34 @@
+Source: description
+Section: text
+Priority: extra
+Maintainer: Lintian Maintainers <lintian-maint@debian.org>
+Uploaders: Tobias Toedter <t.toedter@gmx.net>
+Standards-Version: 3.7.3
+
+Package: description
+Architecture: all
+Description: description is a package which tests lintian's description checks.
+ missing
+ The synopsis should not start with the package's name. Moreover,
+ the long description
+ should
+ not
+ contain tabs.
+ .control statements are not allowed as well.
+
+Package: description-foo
+Architecture: all
+Description: Don't use tabs in the synopsis and restrict yourself to less than 80 characters, otherwise Lintian will complain
+ Oh, and don't start the long description with spaces.
+ Now here comes a list:
+ - which is
+ - unfortunately
+ - not correctly indented.
+
+Package: description-bar
+Architecture: all
+Description:
+ There should really be a synopsis.
+ . and please avoid control statements in the long description.
+ The line in an extended description should be less than 80 characters, otherwise you'll get
+ a Lintian warning.
Added: trunk/testset/description/debian/rules
===================================================================
--- trunk/testset/description/debian/rules (rev 0)
+++ trunk/testset/description/debian/rules 2008-04-17 20:27:07 UTC (rev 1271)
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+
+description=debian/description
+description-foo=debian/description-foo
+description-bar=debian/description-bar
+
+build:
+
+binary-indep:
+ # Create package description
+ install -d $(description)
+ install -d $(description)/DEBIAN
+ install -d $(description)/usr/share/doc/description
+ install -m 644 debian/changelog \
+ $(description)/usr/share/doc/description/changelog.Debian
+ gzip -1 $(description)/usr/share/doc/description/changelog.Debian
+ dpkg-gencontrol -pdescription -P$(description)
+ dpkg --build $(description) ..
+
+ # Create package description-foo
+ install -d $(description-foo)
+ install -d $(description-foo)/DEBIAN
+ install -d $(description-foo)/usr/share/doc/description
+ install -m 644 debian/changelog \
+ $(description-foo)/usr/share/doc/description/changelog.Debian
+ gzip -9 $(description-foo)/usr/share/doc/description/changelog.Debian
+ dpkg-gencontrol -pdescription-foo -P$(description-foo)
+ dpkg --build $(description-foo) ..
+
+ # Create package description-bar
+ install -d $(description-bar)
+ install -d $(description-bar)/DEBIAN
+ install -d $(description-bar)/usr/share/doc/description
+ install -m 644 debian/changelog \
+ $(description-bar)/usr/share/doc/description/changelog.Debian
+ gzip -9 $(description-bar)/usr/share/doc/description/changelog.Debian
+ dpkg-gencontrol -pdescription-bar -P$(description-bar)
+ dpkg --build $(description-bar) ..
+
+binary: binary-indep
+
+clean:
+ rm -rf debian/files $(description) $(description-foo) \
+ $(description-bar) debian/substvars
+
+.PHONY: build binary-indep binary clean
Property changes on: trunk/testset/description/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/testset/tags.description
===================================================================
--- trunk/testset/tags.description (rev 0)
+++ trunk/testset/tags.description 2008-04-17 20:27:07 UTC (rev 1271)
@@ -0,0 +1,23 @@
+E: description source: debian-rules-missing-required-target binary-arch
+E: description-bar: description-contains-invalid-control-statement
+E: description-bar: description-synopsis-is-empty
+E: description-bar: no-copyright-file
+E: description-foo: description-contains-tabs
+E: description-foo: description-too-long
+E: description-foo: no-copyright-file
+E: description: description-contains-invalid-control-statement
+E: description: description-contains-tabs
+E: description: description-is-debmake-template
+E: description: description-starts-with-package-name
+E: description: no-copyright-file
+I: description-bar: no-md5sums-control-file
+I: description-foo: no-md5sums-control-file
+I: description: no-md5sums-control-file
+W: description source: native-package-with-dash-version
+W: description-bar: extended-description-line-too-long
+W: description-foo: description-starts-with-leading-spaces
+W: description-foo: possible-unindented-list-in-extended-description
+W: description: changelog-not-compressed-with-max-compression changelog.Debian.gz
+W: description: debian-changelog-file-contains-obsolete-user-emacs-settings
+W: description: description-synopsis-might-not-be-phrased-properly
+W: description: new-package-should-close-itp-bug
Reply to: