- 07 Dec, 2018 2 commits
-
-
Chris Lamb authored
-
Chris Lamb authored
Release lintian/2.5.115 into unstable. Format: 1.8 Date: Mon, 03 Dec 2018 13:33:49 +0000 Source: lintian Binary: lintian Architecture: source all Version: 2.5.115 Distribution: unstable Urgency: medium Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org> Changed-By:
Chris Lamb <lamby@debian.org>
Description:
lintian - Debian package checker
Closes: 914873 914885 914952
Changes:
lintian (2.5.115) unstable; urgency=medium
.
* Summary of tag changes:
+ Removed:
- debian-rules-makemaker-prefix-is-deprecated
.
* checks/binaries.pm:
+ [CL] Allow packages to define an RPATH under /usr/lib/ghc/ as the
Haskell team have their own scheme for this. (Closes: #914873)
* checks/rules.{desc,pm}:
+ [CL] Drop the debian-rules-makemaker-prefix-is-deprecated tag as the
transition was completed in 2015. Thanks to Niko Tyni for the
update. (Closes: #914885)
* checks/patch-systems.desc:
+ [CL] Downgrade package-uses-vendor-specific-patch-series from "E:" to
"W:" as they are not RC bugs until the release of buster.
.
* data/spelling/corrections:
+ [PW] Add a number of corrections.
.
* t/*:
+ [CL] Apply a patch series from Felix Lechner to implement a universal
test runner with file-based default values. (MR: !76)
* t/runtests:
+ [CL] Apply a patch from Felix Lechner to fail tests with outdated
specifications (ie. ./debian/debian exists). (MR: !77)
* t/tests/{binaries-missing-lfs,deb-format-udeb-compression}:
+ [CL] Apply a patch from Adam Conrad to fix two typos introduced
when parameterising test architectures. (Closes: #914952)
* t/tests/files-multiarch-foreign-files:
+ [CL] Apply a patch from James Clarke to fix this test on non-amd64
architectures. (MR: !78)
Checksums-Sha1:
502b1734d39feb202680958728eabef1f1547181 2704 lintian_2.5.115.dsc
8b0994e12e7ed411f0128566ff8d1dab2679246c 1613240 lintian_2.5.115.tar.xz
5f966cc6c6134429cdd0a2ef8fc995f0333bbd34 1156240 lintian_2.5.115_all.deb
87977bfe0450aeb311ac9923ddf469c20ccdb6de 16744 lintian_2.5.115_amd64.buildinfo
Checksums-Sha256:
1c691e1d22b1a83d52be229b938745142e4787a0c77c85c4397682048e2e3294 2704 lintian_2.5.115.dsc
49eefcf9ed64d162e9fba6e2cd2f9eb12307227c422ba951f1d271d701adcad7 1613240 lintian_2.5.115.tar.xz
f8d98cc40d3511a508314d1f1d46a0b476ef8edbd606e76da755c640d32fe3b8 1156240 lintian_2.5.115_all.deb
b9a1beca2110dfebf48d0eefdb1679cc84f89b7eca385eb0dd1d136a06154054 16744 lintian_2.5.115_amd64.buildinfo
Files:
30a5640f0ec04e40c6626fddae22876a 2704 devel optional lintian_2.5.115.dsc
1d1a8ea84c4e4ca9c3fa396c07b1ea9b 1613240 devel optional lintian_2.5.115.tar.xz
576d22df407d5390f90d36432fe8ea6f 1156240 devel optional lintian_2.5.115_all.deb
a3db39ba74c5827b9aa85753740c63da 16744 devel optional lintian_2.5.115_amd64.buildinfo
* tag '2.5.115': (22 commits)
Release lintian/2.5.115 into unstable.
debian/changelog: Drop duplicate "on".
Downgrade package-uses-vendor-specific-patch-series from "E:" to "W:" as they are not RC bugs until the release of buster.
Apply a patch series from Felix Lechner to implement a universal test runner with file-based default values. (MR: !76)
Read default values for test specifications from t/defaults/desc instead of hardcoding them.
Add file with default values for 'desc' test descriptions; to be read when configuring and running tests.
Unify the test runners for all suites; use a universal runner instead.
Use parameterized builder definitions according to suite when running tests.
Use the make-based builder for suite tests, which was previously coded in Perl.
Add the make-based builder templates to the skeleton definitions, when appropriate.
Add fill whitelist 'make-builder' for make-based build systems in tests.
Add builder templates for test cases; used for automatic rebuilding.
Allow packages to define an RPATH under /usr/lib/ghc/ as the Haskell team have their own scheme for this. (Closes: #914873)
Drop the debian-rules-makemaker-prefix-is-deprecated tag as the transition was completed in 2015. (Closes: #914885)
Re-add accidentally-removed changelog entry for package-contains-file-in-usr-share-hal.
Fix two typos introduced when parameterising test architectures in 9e128d0f & fd01abbf. (MR: !79) (Closes: #914952)
t/tests/files-multiarch-foreign-files: Fix on non-amd64 architectures. (MR: !78)
Apply a patch from Felix Lechner to fail tests with outdated specifications (ie. ./debian/debian exists). (MR: !77)
Fail tests with outdated specifications (ie. ./debian/debian exists).
Rebuild work directories for tests when old artifacts related to ./debian/debian are found.
...
-
- 03 Dec, 2018 12 commits
-
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
Downgrade package-uses-vendor-specific-patch-series from "E:" to "W:" as they are not RC bugs until the release of buster.
-
Chris Lamb authored
Apply a patch series from Felix Lechner to implement a universal test runner with file-based default values. (MR: !76) Signed-off-by:
Chris Lamb <lamby@debian.org> -
The way of reading the default file here (via Lib::Test::Lintian::ConfigFile::read_config) eliminates any duplication when hash keys contained hyphens. Previously, such hash keys had to be converted manually. Now it is automatic. As an example, "Package-Architecture: any" is converted to $testdata->{package_architecture} = 'any', which can now be used directly in template substitutions. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Add file with default values for 'desc' test descriptions; to be read when configuring and running tests. The test runner hardcodes default values for various options, including the template fill data. This commit adds a file with default values. Some values remain dynamic. For the majority of values, however, the new mechanism offers a simpler way to maintain them. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Here the three test runners are combined into one. Now their behavior is uniform. Going forward it will be much easier to implement new features. (They will no longer exist in potentially three forms.) This is an important step before advanced test features can be added. Signed-off-by:
Chris Lamb <lamby@debian.org> -
By reading a special file called 'builder' the test runner determines the build command and the build product. The runner prefills this special file before any other templates and reads it into the data structure used for the remaining templates. This commit is another step in decoupling the build process from each suite. It will ultimately allow the unification of the three separate test runners. Signed-off-by:
Chris Lamb <lamby@debian.org> -
This commit causes the runner to use templates and skeletons updated for make-based builders for the suite 'tests'. It will allow the unification of the three test runners. Extensive testing has not shown a speed disadvantage despite the overhead of using 'make'. Should the need arise any other executable, including a compiled binary, could serve as a builder. It would be configured solely via the templating system, which can also be overridden by each test. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Here, the skeletons for each suite are extended to serve make-based templates for each suite. When the templates are filled, each will provide a make-based build system. Signed-off-by:
Chris Lamb <lamby@debian.org> -
These whitelists allow the automatic generation of Makefiles and associated builder declarations. They further decouple the runner from each Lintian test suite. They will be helpful when implementing a universal/unified test runner later on. Signed-off-by:
Chris Lamb <lamby@debian.org> -
These builder declarations desribe how to (re-)build test cases. For now, they are all based on 'make', but they are flexible. It could be any command that produces the declared build product (and thus the subject of the Lintian examination) for a particular suite. Signed-off-by:
Chris Lamb <lamby@debian.org>
-
- 02 Dec, 2018 11 commits
-
-
Chris Lamb authored
Allow packages to define an RPATH under /usr/lib/ghc/ as the Haskell team have their own scheme for this. (Closes: #914873)
-
Chris Lamb authored
Drop the debian-rules-makemaker-prefix-is-deprecated tag as the transition was completed in 2015. (Closes: #914885)
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
Release lintian/2.5.114 into unstable. Format: 1.8 Date: Mon, 26 Nov 2018 08:21:31 +0000 Source: lintian Binary: lintian Architecture: source all Version: 2.5.114 Distribution: unstable Urgency: medium Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org> Changed-By:
Chris Lamb <lamby@debian.org>
Description:
lintian - Debian package checker
Closes: 914500 914538 914562
Changes:
lintian (2.5.114) unstable; urgency=medium
.
* checks/debhelper.pm:
+ [CL] Apply a patch from Stephen Kitt to avoid false-positives for the
package-does-not-use-debhelper-or-cdbs tag if the call to dh(1) is
prefixed with "@", "+" or "-". (Closes: #914538)
* checks/*, t/*:
+ [CL] Consistently use (eg.) "DEP 5" over "DEP-5" to match the style
used on dep.debian.net. (Closes: #914562)
.
* data/files/documentation-file-regex:
+ [CL] Prevent false-positives for files called (eg.) readMesh_off.m
for the package-contains-documentation-outside-usr-share-doc tag
which was matching an overly-permissive regex. Thanks to Rafael
Laboissière (rafael) for the report. (Closes: #914500)
* data/spelling/corrections:
+ [PW] Add a number of corrections.
.
* t/*:
+ [CL] Apply a patch series from Felix Lechner to make the templating
more flexible in tests, re-using the Skeleton: statements in "desc"
files for more complex templating logic. (MR: !75)
Checksums-Sha1:
0d0a48d85de789197f3fbd87237349fa58d383ed 2704 lintian_2.5.114.dsc
ad327bce56b453dc0f5ceb550602dfe945283e2a 1614272 lintian_2.5.114.tar.xz
15d37f0c4090b0b747b660e741bf2024b024dc03 1156804 lintian_2.5.114_all.deb
448c992418542ba010152c75f4ade41966a03d10 16710 lintian_2.5.114_amd64.buildinfo
Checksums-Sha256:
58a644f2134e28557281da20dcca78e8407f25378c1475a92a87eebe513e2855 2704 lintian_2.5.114.dsc
ee73a9e3132ccadc8047ba37d8189cf6e6d00bb0555e76753b355762cc725cd9 1614272 lintian_2.5.114.tar.xz
751ca442802b625f20ab2359195edb260aa67a544270a5db3d214af3c80347b1 1156804 lintian_2.5.114_all.deb
18b9dd24d6e2da755e2a1b9ef7c28ffc975d667288b18140744a32af2323a6f8 16710 lintian_2.5.114_amd64.buildinfo
Files:
a6491f09346613c2c372d22e5d598a7a 2704 devel optional lintian_2.5.114.dsc
6fca1df494e3b114b0cf7c5db07dfb9f 1614272 devel optional lintian_2.5.114.tar.xz
cc80f8156493dac0e8279d2b33398849 1156804 devel optional lintian_2.5.114_all.deb
d4b6304a5a164f0132cb753171470be6 16710 devel optional lintian_2.5.114_amd64.buildinfo
* tag '2.5.114':
Release lintian/2.5.114 into unstable.
Prevent false-positives for files called (eg.) readMesh_off.m for the package-contains-documentation-outside-usr-share-doc tag. (Closes: #914500)
Apply a patch from Stephen Kitt to avoid false-positives for the package-does-not-use-debhelper-or-cdbs tag if the call to dh(1) is prefixed with "@", "+" or "-". (Closes: #914538)
Apply a patch series from Felix Lechner to make the templating more flexible in tests. (MR: !75)
debian/control: Remove Build-Depends: rsync
lib/Test/Lintian/Harness.pm: Remove templating routines no longer used; no longer uses rsync.
t/templates: Remove symbolic links that are no longer needed.
Explain flexible templating feature in README (also includes two features already committed)
t/runtests: Use flexible templating system that reuses "Skeleton:" in a more complex way.
debian/control: Add Build-Depends: libfile-find-rule-perl, libpath-tiny-perl and libunicode-utf8-perl
Add flexible templating for tests; reuses skeleton declaration for more complex configurations.
t/skeletons: Add more complex config files to replace logic based solely on template sets.
t/whitelists: Add lists of files that may be generated automatically by filling templates.
Consistently use (eg.) "DEP 5" over "DEP-5" to match the style used on dep.debian.net. (Closes: #914562)
Fix typo
spelling: Add several corrections
Sort the dictionary
Open new changelog entry for 2.5.114. -
Fix two typos introduced when parameterising test architectures in 9e128d0f & fd01abbf . (MR: !79) (Closes: #914952) Signed-off-by:
Chris Lamb <lamby@debian.org> -
The current condition is bogus and always takes the else branch since DEB_BUILD_ARCH is the Debian architecture not the multiarch triple. The test almost looked like this originally, except (other than the technically irrelevant build vs host architecture) it was using DEB_BUILD_GNU_TYPE, which is i686-linux-gnu on i386, rather than DEB_BUILD_MULTIARCH, which is i386-linux-gnu, so lintian ignored scanning the directory, leading to the original bug report. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Chris Lamb authored
Apply a patch from Felix Lechner to fail tests with outdated specifications (ie. ./debian/debian exists). (MR: !77)
-
The structure of test specifications changed with the commit series surrounding abb6f414 . This commit causes a test to fail when an old directory is found in its specification in t/tests. Signed-off-by:
Chris Lamb <lamby@debian.org> -
The structure of test specifications changed with the commit series surrounding abb6f414 . This commit forces a rebuild of the work directory when an old directory is found in ./debian/test-out/. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Paul Wise authored
-
- 26 Nov, 2018 4 commits
-
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
Release lintian/2.5.113 into unstable. Format: 1.8 Date: Fri, 23 Nov 2018 22:13:47 +0000 Source: lintian Binary: lintian Architecture: source all Version: 2.5.113 Distribution: unstable Urgency: medium Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org> Changed-By:
Chris Lamb <lamby@debian.org>
Description:
lintian - Debian package checker
Closes: 879851 913290 913398 913466 913605 913761 913974 914163
Changes:
lintian (2.5.113) unstable; urgency=medium
.
* Summary of tag changes:
+ Added:
- package-contains-file-in-usr-share-hal
- package-uses-vendor-specific-patch-series
- systemd-service-file-missing-hardening-features
+ Merged:
- maintainer-script-should-not-use-dpkg-{database,status}-directly ->
uses-dpkg-database-directly
+ Renamed:
- init.d-script-does-not-implement-optional-option ->
init.d-script-does-not-implement-status-option
.
* checks/control-file.{desc.pm}:
+ [CL] Ensure the "Architecture" field in a changes files contains only
the string "source" rather than checking whether it is defined or
not. This fixes source-only-upload-to-non-free-without-autobuild
false positives. Thanks to Chuan-kai Lin. (Closes: #914163)
* checks/files.{desc,pm}:
+ [CL] Unify all dpkg internal database checks into a single new
uses-dpkg-database-directly check, extending it to check all
files shipped in package, not just the maintainer scripts. Thanks to
Guillem Jover for the suggestion. (Closes: #913974)
* checks/files.desc, checks/java.desc:
+ [CL] Clarify distinction between the package-installs-java-bytecode
and source-contains-prebuilt-java-object tags. Thanks to Markus
Koschany for the suggestion. (Closes: #879851)
* checks/init.d.{pm,desc}:
+ [CL] Rework the init.d-script-does-not-implement-optional-option tag
by renaming it to init.d-script-does-not-implement-status-option
and update the description to make the distinction between the LSB
(where it is required) and Debian Policy (where currently it is not).
Thanks to Andreas Henriksson for the suggestion. (Closes: #913466)
* checks/patch-systems.{desc,pm}:
+ [CL] Warn about packages that use vendor-specific patch series files
since the CTTE decision in #904302.
* checks/shared-libs.pm:
+ [CL] Apply a patch from James McCoy to fix a regression that was
causing Lintian to incorrectly report the
invalid-template-id-in-symbols-file and syntax-error-in-symbols-file
tags. Thanks! (Closes: #913290)
* checks/systemd.{desc,pm}:
+ [CL] Emit an experimental-level warning for .service files that do
not appear to use any security/hardening features. (Closes: #913605)
* checks/watch-file.pm:
+ [CL] Avoid debian-watch-file-should-mangle-version false-positives
when the file uses the @DEB_EXT@ or auto dversionmangle features.
Thanks to Sebastian Ramacher and Mattia Rizzolo. (Closes: #913761)
.
* collection/java-info:
+ [CL] Prevent an "uninitialized value" warning when processing
empty or otherwise truncated .class files. Thanks to Branden
Robinson for the report. (Closes: #913398)
.
* data/description/planned-features:
+ [AB] Add "is planned" and "is also planned".
* data/fields/name_section_mappings:
+ [CL] Tidy file.
* data/spelling/corrections:
+ [AB] Add "redundant" and a bunch of variants around "conditional".
+ [PW] Add a number of corrections.
.
* t/*:
+ [CL] Apply a patch series from Felix Lechner to parameterise
the debhelper compatibility level in tests. (MR: !73)
+ [CL] Apply a patch from Felix Lechner to implement a new file
hierarchy for test specifications. (MR: !74)
* t/scripts/spellintian.t:
+ [CL] Make the "No no-op correction present..." test failure messages
include the offending correction to make it easier to correct.
Checksums-Sha1:
cb4259b572850765098b56bc6108c628a6fef195 2624 lintian_2.5.113.dsc
42a001d8770e1df661f575a6077e0cd86436fd3f 1610540 lintian_2.5.113.tar.xz
475a2c3f7047a67ea2d1c050a4271aded4018fc2 1145468 lintian_2.5.113_all.deb
26cc0e4bb45d3b1821b495eda36c10d79a4b6f25 16718 lintian_2.5.113_amd64.buildinfo
Checksums-Sha256:
285ce2adb6a7da6bb34c0eaef2474e9747feca28eeb7fd68ab3e73e9c4c069ba 2624 lintian_2.5.113.dsc
cb7630ea14576c95491ff337ab3352c9a081863cd693a61da3eafa2519db5075 1610540 lintian_2.5.113.tar.xz
0194855c058aeb5c0c18aa47bf3c007b054ae2d8167502f73fbfbfd9bd3c1300 1145468 lintian_2.5.113_all.deb
7423fd0ee93f61b233c6debc1bc1c341023f68731b1cfb50a50ce0d15c2cd8fb 16718 lintian_2.5.113_amd64.buildinfo
Files:
18856458d72533faa0f0e80f1007e100 2624 devel optional lintian_2.5.113.dsc
673770519f2910173b1b8490a5b3c1c8 1610540 devel optional lintian_2.5.113.tar.xz
574ebcf782d050119e40cb08583a8954 1145468 devel optional lintian_2.5.113_all.deb
439070ebdaa98f9de4f295dee3b8ad7d 16718 devel optional lintian_2.5.113_amd64.buildinfo
* tag '2.5.113': (53 commits)
Release lintian/2.5.113 into unstable.
Add lintian itself to @ALLOWED_USES_DPKG_DATABASE to avoid false-positives when running against ourselves.
Revert "Remove tag 'hyphen-in-upstream-part-of-debian-changelog-version' (Closes: #914271)."
Apply a patch from Felix Lechner to implement a new file hierarchy for test specifications. (MR: !74)
t/tests/README: Explain new file hierarchy, including 'diff' and the shallower 'debian'.
t/tests: Move 'debian' directory up a level for all tests (no more ./debian/debian).
t/runtests: Read package format from ./debian instead of ./debian/debian.
t/runtests: Copy packaging files from ./debian instead of ./debian/debian.
t/runtests: Fill templates only in 'orig/debian' since template paths were shortened.
t/runtest: Strip 'debian' from template whitelist paths (no more ./debian/debian).
t/templates/tests: Move templates for debian packaging files up one level (no more ./debian).
Move packaging files from 'debian' to 'diff' when appropriate (for very few tests that rely on the diff).
Move upstream files from 'debian' to 'orig' (mostly for tests using a native source format).
t/runtests: Always use 'orig','diff' and 'debian' to build packages in tests.
Remove extra files from test specifications.
data/description/planned-features: Add "is planned" and "is also planned"
Remove line-break which caused check-descs to fail
Check binaries using strings(1) for uses-dpkg-database-directly.
Add missing plural.
Move debhelper compat level in tests from debian/debian/compat into 'desc' when possible.
...
-
- 25 Nov, 2018 11 commits
-
-
Chris Lamb authored
Prevent false-positives for files called (eg.) readMesh_off.m for the package-contains-documentation-outside-usr-share-doc tag. (Closes: #914500)
-
Chris Lamb authored
Apply a patch from Stephen Kitt to avoid false-positives for the package-does-not-use-debhelper-or-cdbs tag if the call to dh(1) is prefixed with "@", "+" or "-". (Closes: #914538)
-
Chris Lamb authored
-
The new templating system uses 'cp -rp' to copy files. 'rsync' is no longer needed. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Signed-off-by:
Chris Lamb <lamby@debian.org> -
Since skeletons became the primary way to specify the file layouts for test cases the directory names for template sets can be more description. The value 'default' now designates the default skeleton in t/skeletons for a given Lintian suite, and no longer refers to template sets stored in t/templates. Signed-off-by:
Chris Lamb <lamby@debian.org> -
These edits to the README explain the general use and mechanism of the flexible templating system. This commit also includes information on the discontinued substitution of TESTSET in Lintian options and how to declare prequisites for a test by using Extra-Build-Depends:, which adds the dependency to Build-Depends, or Test-Depends:, which does not. Both features were committed previously. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Signed-off-by:
Chris Lamb <lamby@debian.org> -
debian/control: Add Build-Depends: libfile-find-rule-perl, libpath-tiny-perl and libunicode-utf8-perl In addition File::Find::Rule and Path::Tiny, we are adding Unicode:UTF8, which the latter recommends for speed. Signed-off-by:
Chris Lamb <lamby@debian.org> -
This patch implements a templating system that reuses the skeleton declarations similar to 'Skeleton: default' in the test specifications to process more complex configuration files. Previously, the harness simply installed a template set with this name. Using the new system, tests can utilize multiple template sets and declare their locations in the filesystem. Test can also utilize multiple template whitelists, which allow the automatic generation of some files. Whitelists are already the same for all suites; template sets should be so in short order. Signed-off-by:
Chris Lamb <lamby@debian.org> -
Signed-off-by:
Chris Lamb <lamby@debian.org>
-