Chris Lamb pushed to branch stretch-backports at lintian / lintian
Commits: 7a626800 by Chris Lamb at 2018-11-26T08:43:21Z Open new changelog entry for 2.5.115. - - - - - 78ee9644 by Paul Wise at 2018-12-02T01:15:09Z spelling: Add another correction - - - - - 926d94ac by Felix Lechner at 2018-12-02T21:21:05Z Rebuild work directories for tests when old artifacts related to ./debian/debian are found. 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 <[email protected]> - - - - - 51713cb2 by Felix Lechner at 2018-12-02T21:23:14Z Fail tests with outdated specifications (ie. ./debian/debian exists). 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 <[email protected]> - - - - - 355b8c85 by Chris Lamb at 2018-12-02T21:23:19Z Apply a patch from Felix Lechner to fail tests with outdated specifications (ie. ./debian/debian exists). (MR: !77) - - - - - d309510a by James Clarke at 2018-12-02T21:26:12Z t/tests/files-multiarch-foreign-files: Fix on non-amd64 architectures. (MR: !78) 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 <[email protected]> - - - - - d36d5caa by Adam Conrad at 2018-12-02T21:31:52Z Fix two typos introduced when parameterising test architectures in 9e128d0 & fd01abb. (MR: !79) (Closes: #914952) Signed-off-by: Chris Lamb <[email protected]> - - - - - 3380b0ca by Chris Lamb at 2018-12-02T22:44:16Z Re-add accidentally-removed changelog entry for package-contains-file-in-usr-share-hal. - - - - - 7494919e by Chris Lamb at 2018-12-02T22:45:47Z Drop the debian-rules-makemaker-prefix-is-deprecated tag as the transition was completed in 2015. (Closes: #914885) - - - - - d7eeaac8 by Chris Lamb at 2018-12-02T23:04:10Z Allow packages to define an RPATH under /usr/lib/ghc/ as the Haskell team have their own scheme for this. (Closes: #914873) - - - - - f0f7f513 by Felix Lechner at 2018-12-03T07:56:26Z Add builder templates for test cases; used for automatic rebuilding. 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 <[email protected]> - - - - - f74a7471 by Felix Lechner at 2018-12-03T07:56:30Z Add fill whitelist 'make-builder' for make-based build systems in tests. 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 <[email protected]> - - - - - e4bb88b3 by Felix Lechner at 2018-12-03T07:56:32Z Add the make-based builder templates to the skeleton definitions, when appropriate. 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 <[email protected]> - - - - - e4b1d5ed by Felix Lechner at 2018-12-03T07:56:37Z Use the make-based builder for suite tests, which was previously coded in Perl. 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 <[email protected]> - - - - - a8fe81ce by Felix Lechner at 2018-12-03T07:56:43Z Use parameterized builder definitions according to suite when running tests. 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 <[email protected]> - - - - - 280beeae by Felix Lechner at 2018-12-03T07:56:50Z Unify the test runners for all suites; use a universal runner instead. 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 <[email protected]> - - - - - 044d857d by Felix Lechner at 2018-12-03T07:56:53Z 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 <[email protected]> - - - - - ed916663 by Felix Lechner at 2018-12-03T07:57:02Z Read default values for test specifications from t/defaults/desc instead of hardcoding them. 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 <[email protected]> - - - - - 36aa876e by Chris Lamb at 2018-12-03T07:57:11Z 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 <[email protected]> - - - - - 502c1004 by Chris Lamb at 2018-12-03T12:41:14Z Downgrade package-uses-vendor-specific-patch-series from "E:" to "W:" as they are not RC bugs until the release of buster. - - - - - c44335b8 by Chris Lamb at 2018-12-03T13:31:54Z debian/changelog: Drop duplicate "on". - - - - - b1c0c459 by Chris Lamb at 2018-12-03T13:34:17Z Release lintian/2.5.115 into unstable. - - - - - a04787cf by Chris Lamb at 2018-12-07T08:53:21Z Merge tag '2.5.115' into stretch-backports 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 <[email protected]> Changed-By: Chris Lamb <[email protected]> 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 9e128d0 & fd01abb. (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. ... - - - - - c2b9c4f8 by Chris Lamb at 2018-12-07T08:53:43Z Rebuild for stretch-backports. - - - - - 30 changed files: - checks/binaries.pm - checks/patch-systems.desc - checks/rules.desc - checks/rules.pm - data/spelling/corrections - debian/changelog - lib/Test/Lintian/Harness.pm - + t/defaults/desc - t/runtests - t/skeletons/changes/default - t/skeletons/debs/default - t/skeletons/source/default - t/skeletons/tests/default - t/skeletons/tests/pedantic - + t/templates/changes/builder/builder.in - t/templates/debs/arch-independent/Makefile.in → t/templates/debs/make-builder/Makefile.in - + t/templates/debs/make-builder/builder.in - t/templates/source/arch-independent/debian/changelog.in → t/templates/source/arch-independent/changelog.in - t/templates/source/arch-independent/debian/compat.in → t/templates/source/arch-independent/compat.in - t/templates/source/arch-independent/debian/control.in → t/templates/source/arch-independent/control.in - t/templates/source/arch-independent/debian/copyright → t/templates/source/arch-independent/copyright - t/templates/source/arch-independent/debian/rules → t/templates/source/arch-independent/rules - t/templates/source/arch-independent/debian/source/format.in → t/templates/source/arch-independent/source/format.in - t/templates/source/arch-independent/debian/tests/control → t/templates/source/arch-independent/tests/control - t/templates/source/arch-independent/debian/tests/test → t/templates/source/arch-independent/tests/test - t/templates/source/arch-independent/Makefile.in → t/templates/source/make-builder/Makefile.in - + t/templates/source/make-builder/builder.in - + t/templates/tests/make-builder/Makefile.in - + t/templates/tests/make-builder/builder.in - t/tests/binaries-missing-lfs/debian/control.in The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/lintian/lintian/compare/4de6c2335b065d2b2fecc75b91927fa4f89b7064...c2b9c4f80767c5891e7f4f842379d944046ff4b2 -- View it on GitLab: https://salsa.debian.org/lintian/lintian/compare/4de6c2335b065d2b2fecc75b91927fa4f89b7064...c2b9c4f80767c5891e7f4f842379d944046ff4b2 You're receiving this email because of your account on salsa.debian.org.

