Last commit made on 2019-02-25
Get this branch:
git clone -b debian/buster https://git.launchpad.net/ubuntu/+source/lintian
Members of Ubuntu Server Dev import team can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

8178b15... by lamby on 2019-02-25

Import patches-unapplied version 2.9.1 to debian/sid

Imported using git-ubuntu import.

Changelog parent: f37fc480af7538fa65a8e1dae29c96b886335731

New changelog entries:
  [ Felix Lechner ]
  * Add missing runtime dependency on libtry-tiny-perl. (Closes: #923262)
  [ Chris Lamb ]
  * Add an initial .gitab-ci.yml.

f37fc48... by lamby on 2019-02-25

Import patches-unapplied version 2.9.0 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 4550be5469cade90632d1560f84633886200ccc2

New changelog entries:
  [ Felix Lechner ]
  * Add missing runtime dependency on libpath-tiny-perl. (Closes: #923229)
  [ Chris Lamb ]
  * Add /lib/runit/invoke/run as a known interpreter. (Closes: #923232)

4550be5... by lamby on 2019-02-24

Import patches-unapplied version 2.8.0 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 5f23eec8ba0a9eab6884e4b151665074a4e7e2c1

New changelog entries:
  [ Chris Lamb ]
  * Emit an experimental warning for packages that ship a cron script
    without an equivalent systemd .timer file. (Closes: #922862)
  * Make orig-tarball-missing-upstream-signature a "dsc" check so it
    also appears when running against non-.changes files. (Closes: #922557)
  * Check all combinations of processables and binary package names in
    order to avoid false-positives or unused override warnings in spelling
    checks depending on whether a .deb or .dsc (etc.) is passed to Lintian.
    (Closes: #921814)
  * Prevent pkg-config-references-unknown-shared-library false positives:
    - Ignoring entries such as -lfoo{install_suffix} as they are
      interpolated at runtime by Autoconf. (Closes: #922511)
    - Create an exception list and populating with shared
      objects shipped by libc6-dev and libgcc1. (Closes: #922402)
    - Manually add "gcc" as an exception.
  * Use the source package name (not the package section) when checking for
    uses-dpkg-database-directly exceptions. (Closes: #922530)
  * Correct reference to mips64el architecture to ensure we emit
    binary-from-other-architecture on this arch. Thanks to Helmut Grohne.
    (Closes: #921573)
  * Don't emit source-nmu-has-incorrect-version-number for uploads to
    backports. (Closes: #923060)
  * Ensure libpath-tiny-perl is installed regardless of nocheck build
    profile as it is needed to generate the Pod documentation.
  * Add dpatch to "nocheck" Build-Depends to avoid skipping tests
    and then don't emit build-depends-on-obsolete-package for Lintian
    itself as a result.
  * Remove "nocheck" Build-Depends restriction for libcapture-tiny-perl and
    specify it as a runtime dependency too.
  * Don't emit source-contains-prebuilt-java-object against Lintian itself
    as we ship a trivial HelloWorld.jar as a test fixture.
  * Don't print "Offering to re-calibrate..." message if we aren't actually
    about to offer.
  [ Felix Lechner ]
  * Ensure unpack loop stops when process succeeds after processable failed
    to try and prevent Lintian from occasionally hanging. (Closes: #922737)
  * Fix detection of security features in Portable Executable (PE)
  * Update recommendation in an update-menus long description that will not
    trigger a check for full path names in maintainer scripts. (MR: !149)
  * Interactively calibrate the expected tags in failing tests (MR: !145)
    and use green and red terminal colors when adding or removing tags
    during said calibration. (MR: !153)
  * t/runtests:
    * Split processing between scripts and tag tests.
    * Split out test routines to process universal tags.
    * Change options and arguments for stand-alone operation.
  * Drop obsolete old-format-menu-file tag.
  [ Guillem Jover ]
  * Don't hardcode ".gz" in the output of the malformed-deb-archive tag's
    extra information. (Closes: #922534)
  [ Paul Wise ]
  * Add several spelling corrections.

5f23eec... by lamby on 2019-02-14

Import patches-unapplied version 2.7.0 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 69ef9850c935bd993f7ecec88fc3617091d4b005

New changelog entries:
  * Summary of tag changes:
    + Added:
      - script-uses-unversioned-python-in-shebang
  [ Chris Lamb ]
  * Track static libraries to avoid false-positives in
    pkg-config-references-unknown-shared-library. (Closes: #921872)
  * Assume that license files themselves do not require coverage in DEP-5
    copyright files. (Closes: #921752)
  * Ignore spelling errors in patch author names. (Closes: #922233)
  [ Dmitry Bogatov ]
  * Add a classification tag to identify the number of scripts using
    unversioned Python shebangs. (Closes: #909510)
  [ Felix Lechner ]
  * Demote the Test-Against test metadata field to be a selector for
    false-positives only. (MR: !142)
  [ Paul Wise ]
  * Add several spelling corrections.

69ef985... by lamby on 2019-02-06

Import patches-unapplied version 2.6.0 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 7c7221c9a10297590c9d89f8ad30f1ad2ae0467e

New changelog entries:
  * Summary of tag changes:
    + Added:
      - package-contains-sass-cache-directory
      - package-uses-dh-runit-but-lacks-breaks-substvar
      - pkg-config-references-unknown-shared-library
  [ Chris Lamb ]
  * Enhancements:
    - Check for pkg-config(1) files that reference unknown shared objects
      via (for example) "Libs: -lfoo". (Closes: #920699)
    - Check for packages that use dh_runit without specifying a Breaks on
      the "${runit:Breaks}" substvar. (Closes: #920299)
    - Require that build paths aren't "/" when checking for
    - Check for packages that ship with .sass-cache directories.
      (Closes: #920593)
    - Detect accidental ".git.git" (etc.) in Vcs-Git headers.
      (Closes: #921084)
  * Bug fixes:
    - Fix FTBFS by avoiding "self" false-positives when checking for
      file-references-package-build-path in the Lintian test suite.
      (Closes: #920536)
    - Ignore duplicate .buildinfo files which can be supplied by using
      mergechanges(1) from devscripts. (Closes: #920469)
    - Rewrite "old" version calculation to prevent false-positives in the
      maintainer-script-supports-ancient-package-version tag.
      (Closes: #920638)
    - Prevent false-positives in the command-with-path-in-maintainer-script
      checks for sections automatically added by debhelper.
      (Closes: #920568)
    - Ignore quilt .pc directories when checking for
      inconsistent-appstream-metadata-license. (Closes: #920647)
  * Reporting improvements:
    - Include the upload and release dates in the output of the
      maintainer-script-supports-ancient-package-version tag.
    - Add a reference to the official specification in the long description
      of the unnecessary-source-date-epoch-assignment tag.
  * Misc:
    - Move to "Semantic Versioning" (https://semver.org/) scheme.
    - Print Carp tracebacks in --debug mode.
  [ Felix Lechner ]
  * Fix a race condition by stopping loop for collections after a task
    fails. (Closes: #920691)
  * Remove Test-For from all test specifications. (MR: !138)
  * Consolidate scripts in t/scripts; move internal harness tests there.
  * Clean up ./t; move helper binaries, including t/runtests, to t/bin.
  * Add an empty Test-Against to all tests that do not have one.
  * Calculate Test-For and Test-Against from new "Check" parameter in
  * Add an internal self-test for all the fields in "desc" files.
  * Move all t/tags/tests addressing a single check into t/tags/checks/.
    (MR: !141)
  [ Jeremy Bicha ]
  * Drop "GTK" -> "GTK+" correction. (Closes: #911449)
  * Set "multimaint-merge" in debian/gbp.conf. (MR: !125)
  [ Xavier Guimard ]
  * Update debhelper addon specification now that nodejs-dev has been
    replaced by pkg-js-tools. (MR: !135)
  [ Paul Wise ]
  * Add several spelling corrections.

7c7221c... by lamby on 2019-01-24

Import patches-unapplied version 2.5.124 to debian/sid

Imported using git-ubuntu import.

Changelog parent: cfe0d5c818583e7df058467053ac234ddc08a5c9

New changelog entries:
  * Summary of tag changes:
    + Added:
      - obsolete-crypt-alias
      - obsolete-des-encryption
  [ Chris Lamb ]
  * Locate and process .buildinfo files if mentioned in a .changes file;
    previously it was only examined if explicitly referenced. Thanks to
    James Clarke. (Closes: #920228)
  * If the changelog entry is missing a maintainer (eg. " -- <missing>"),
    don't assume that it's an NMU. (Closes: #920184)
  * Permit "-b" branch specifications in Mercurial Vcs-Hg control fields.
    (Closes: #920355)
  * Really fix summary generation code to match the "WIP" entry in the
    changelog after moving to gbp-dch(1).
  * Add "could break" as a spelling correction.
  [ Felix Lechner ]
  * Allow tests to be freely organised such as by check. (MR: !132, !134)
  [ Zack Weinberg ]
  * Add a check for binaries using obsolete DES encryption.
    (Closes: #920376)
  [ Paul Wise ]
  * Add several spelling corrections.

cfe0d5c... by lamby on 2019-01-21

Import patches-unapplied version 2.5.123 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 2bc8cf41c359ef387f6d4b6814d99877ed86ad3b

New changelog entries:
  * Summary of tag changes:
    + Added:
      - inconsistent-appstream-metadata-license
      - package-contains-python-header-in-incorrect-directory
    + Renamed:
      - package-contains-usr-unmerged-pathnames ->
  [ Chris Lamb ]
  * Group warnings that only differ on the architecture in the HTML
    reports. (Closes: #919162)
  * Prevent a large number false-positives when checking "new style" init
    scripts that use "#!/usr/bin/env /lib/init/init-d-script" as their
    shebang. (Closes: #919604)
  * Check for packages that ship headers in /usr/include/python3.x.
    (Closes: #919979)
  * Check for inconsistencies between debian/copyright and the information
    embedded/duplicated in AppStream metadata files. Thanks to Daniel Kahn
    Gillmor for the idea. (Closes: #907072)
  * package-contains-usr-unmerged-pathnames tag:
    - Prevent false-positives for leading directories. (Closes: #919839)
    - Rename from package-contains-real-file-outside-usr.
    - Move to "Classification" severity instead of a pedantic/experimental
  * Use a verb in the debian-changelog-line-too-short tag description.
  * Use "state cache" vs "state-cache" consistently between source and
    binary packages when printing warnings during report generation.
  * Update added/removed tag summary generation code to match "WIP" now we
    are using gbp-dch(1).
  [ Niels Thykier ]
  * lib/lintian: Do entry removals asynchroniously in temp labs.
  * Lintian::Unpacker:
    * Migrate to use IO::Async.
    * Refactor to extract a "find_next_task"-sub(-generator).
    * Add a simple queue to avoid some overhead.
    * Support prioritizing unpacking by collections.
  [ Felix Lechner ]
  * Template cleanup: (MR: !131)
    - Rename tests-watchfile and tests-pedantic.
    - Use renamed template sets in skeletons for suite tests.
    - Move upstream/metadata from debian-native to debian-extra-non-native.
    - Delete unused template set source-arch-independent.
  [ Mike Miller ]
  * Reword the description of the description-too-long tag to match the
    actual check. (Closes: #919740)
  [ Paul Wise ]
  * Add several spelling corrections.

2bc8cf4... by lamby on 2019-01-17

Import patches-unapplied version 2.5.122 to debian/sid

Imported using git-ubuntu import.

Changelog parent: ac302e9f5bf4cdce4e0c040a15c0dd60223ee253

New changelog entries:
  * Summary of tag changes:
    + Added:
      - example-incorrect-path-for-interpreter
      - incorrect-path-for-interpreter
      - package-contains-real-file-outside-usr
      - zero-byte-executable-in-path
  [ Chris Lamb ]
  * Add a check for empty executable files in PATH; these files do not do
    anything and produce no error message. (Closes: #919458)
  * Prevent false-positives in the
    maintainer-script-should-not-use-dpkg-maintscript-helper tag by adding
    optional support for ignoring sections automatically added by
    debhelper. (Closes: #917567)
  * Split the wrong-path-for-interpreter tag into "wrong" and "incorrect"
    variants, the latter with a reduced severity and capturing incorrect
    (but working) shebangs such as "#!/usr/bin/env perl". Thanks to Ivo De
    Decker for the report. (Closes: #917790)
  * Update Debian Policy regex and manual references since this document
    moved to Sphinx. (Closes: #918963)
  * Also update the Java policy references as a new version of Docbook
    generates different HTML links.
  * Tests:
    - Tidy "sorry" message in t/runtests.
    - Drop changelog-format.t tests now we are trialling using gbp-dch.
    - Add a note that using a "maintainer-script-should-not-" tag prefix
      ensures that the tag will automatically pass the internal coverage
  * debian/control:
    - Clarify some grammar in the package long description.
    - Prune Uploaders field to the current members of the "lintian" LDAP
      group. With thanks to all who have contributed in the past.
  [ Felix Lechner ]
  * Always use the extracted testing code in autopkgtests. (Closes: #919096)
  * Exit test runner with error code after parsing errors on the command line.
  * Convert test modules to the "Test Anything Protocol" (TAP).
    - Run TAP scripts for all tests through TAP::Harness. (MR: !124)
    - Add a generic test script for TAP::Harness.
    - Add name of the generic TAP script to the default settings.
    - Install generic TAP script into work directories during preparation.
  * Make harness timestamp calculation more robust for non-existent files.
  * Always use the installed "dplint" in autopkgtests.
  [ Josh Triplett ]
  * Add a pedantic-level package-contains-real-file-outside-usr tag to
    detect files installed to /. (MR: !128)
  [ Paul Wise ]
  * Add several spelling corrections.

ac302e9... by lamby on 2019-01-10

Import patches-unapplied version 2.5.121 to debian/sid

Imported using git-ubuntu import.

Changelog parent: e8d894d25c652a79db6245102ecb257397440d85

New changelog entries:
  * Summary of tag changes:
    + Added:
      - maintainer-script-should-not-use-dpkg-maintscript-helper
      - maintainer-script-supports-ancient-package-version
  * checks/shared-libs.pm:
    + [CL] Fix symbols-file-missing-build-depends-package-field
      false-positives when a package contains more than one library.
      Thanks to Mike Gabriel for the bug report. (Closes: #918473)
  * checks/scripts.{desc,pm}:
    + [CL] Check for manual calls to dpkg-maintscript-helper(1) in
      maintainer scripts; recommend using dh_installdeb .maintscript
      files instead. (Closes: #917567)
    + [CL] Check for packages that have maintainer scripts that ship
      support code for legacy versions of Debian. (Closes: #917566)
  * data/debhelper/compat-level:
    + [CL] Don't emit a pedantic warning for compat level 12 "until
      bullseye to avoid having to revert that change in case you need an
      unblock for the buster release". (Closes: #918809)
  * data/scripts/interpreters:
    + [CL] Apply a patch from Mo Zhou to fix the Julia interpreter path.
      (MR: !120)
  * t/*:
    + [CL] Apply a patch from Felix Lechner to ensure the
      debhelper-compat-experimental tag is run after the upgrade to
      debhelper compat level 12. (MR: !117)
    + [CL] Apply a patch series from Felix Lechner to support adaptive
      rebuilding, speeding up the test suite by a factor of 17 (excluding
      "scripts" tests). (MR: !118)
    + [CL] Apply a patch series from Felix Lechner to add a number of
      "internal" tests for the test apparatus itself. (MR: !119)
    + [CL] Apply a patch series from Felix Lechner to split the
      preparation of tests from the test runner itself. (MR: !122)

e8d894d... by lamby on 2019-01-07

Import patches-unapplied version 2.5.120 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 3949d68b7f23c28dae1b4cef806ee9f0efefbbd9

New changelog entries:
  * Summary of tag changes:
    + Removed:
      - versioned-dependency-satisfied-by-perl
  * checks/binaries.pm:
    + [CL] Guile object files do not objdump/strip correctly so exclude
      them from a number of tests. (Closes: #918444)
  * checks/fields.{desc,pm}:
    + [CL] Drop versioned-dependency-satisfied-by-perl; Perl now provides
      its dual-lived module packages with versions. (Closes: #917967)
  * checks/{menus,patch-systems}.desc:
    + [CL] Clarify that spelling-* tags also correct various grammatical
      errors too.
  * checks/rules.desc:
    + [AB] override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS: Replace
      misleading "profile" with "option" in long description. See #889746
      and https://lists.debian.org/debian-devel/2019/01/msg00047.html
  * checks/systemd.pm:
    + [CL] Apply a patch from Robin Jarry to handle service
      templates for missing init scripts. (MR: !115)
  * checks/testsuite.pm:
    + [CL] Apply a patch from Ondřej Nový fix false-positives in the
      unnecessary-testsuite-autopkgtest-field tag with non-"autopkgtest"
      values in the Testsuite control field. (Closes: #918621)
  * data/systemd/init-whitelist:
    + [CL] Add "brightness" to the list of initscripts that do not need a
      corresponding service file. (Closes: #918459)
  * debian/control:
    + [AB] Build-conflict with libperl-critic-pulp-perl (except with
      nocheck build profile) as it adds additional perlcritic rules which
      cause several checks under t/scripts/01-critic/ to fail.
  * lib/Lintian/Util.pm:
    + [CL] Add optional support for stripping comments at EOL in
      read_dpkg_control via DCTRL_COMMENTS_AT_EOL. (Closes: #917964)