Last commit made on 2018-09-21
Get this branch:
git clone -b ubuntu/cosmic-devel 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

942b89b... by lamby on 2018-09-21

Import patches-unapplied version 2.5.104 to debian/sid

Imported using git-ubuntu import.

Changelog parent: a8a034b1254bc187fe1886dcfb3b7b90aa04aa1b

New changelog entries:
  * checks/description.pm:
    + [CL] Check for overly-indented paragraph separators in package long
      descriptions. (Closes: #909272)
  * checks/fields.pm:
    + [CL] Apply patches from Josh Triplett to re-use the metapackage
      detection logic from Lintian::Collect::Binary and to allow
      metapackages to depend on toolchain packages.
  * checks/source-copyright.pm:
    + [CL] Fix a number of false-positives when checking for incomplete
      Creative Commons licenses. Thanks to Jonathan Dowland (jmtd) for
      collecting a corpus of test data. (Closes: #906284)
    + [CL] Also check the "Source" field when looking for repack
      explanations as per section 6.4 of the machine-readable
      debian/copyright file specification. (Closes: #909270)
    + [CL] Include the line number in the output of the
      incomplete-creative-commons-license tag.

a8a034b... by lamby on 2018-09-14

Import patches-unapplied version 2.5.103 to debian/sid

Imported using git-ubuntu import.

Changelog parent: da4d6ea1ff525de83c1246a6b7c6eaf6ae6be4b0

New changelog entries:
  * private/refresh-manual-refs:
    + [CL] Apply a patch series from Joseph Herlant to update some
      locations of manual references.
  * t/helpers/bin/create-deb:
    + [CL] Apply a patch from Felix Lechner to removed a likely-accidental
      slash in a find(1) call.

da4d6ea... by lamby on 2018-09-11

Import patches-unapplied version 2.5.102 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 55d9481ca927b20c8b52fe92831e4794899c0743

New changelog entries:
  * checks/files.pm:
    + [CL] Ensure package-contains-documentation-outside-usr-share-doc also
      excludes files in directories called (eg.) "autotools_templates" or
      "my-templates.d". (Closes: #907734)
  * data/fields/name_section_mappings:
    + [CL] Reclassify xfonts-foo packages as part of the "fonts" section as
      nobody was doing this in practice. This reverts the change requested
      in #878609 which was released inLintian 2.5.72. Thanks to Russ
      Allbery. (Closes: #907725)

55d9481... by lamby on 2018-09-09

Import patches-unapplied version 2.5.101 to debian/sid

Imported using git-ubuntu import.

Changelog parent: edc2cccb784a448e5651997c58a13d892dcda82b

New changelog entries:
  * Summary of tag changes:
    + Added:
      - changelog-distribution-does-not-match-changes-file
      - package-builds-dbg-and-dbgsym-variants
  * checks/changes-file.{desc,pm}:
    + [CL] Check for packages that build both foo-dbg and foo-dbgsym debug
      symbol variants. (Closes: #907423)
  * checks/changelog-file.{desc,pm}:
    + [CL] Check that .changes and debian/changelog distribution are
      identical. (Closes: #906610)
  * checks/control-files.desc:
    + [CL] Clarify that checks/control-files.* relates to the "control"
      tarball, not debian/control in the source tarball.
  * checks/fields.desc:
    + [CL] Clarify that the target of the dbg-package-missing-depends check
      cannot be "Architecture: all".
  * checks/files.pm:
    + [CL] Don't emit package-contains-documentation-outside-usr-share-doc
      for files in "templates" directories. (Closes: #907734)
    + [CL] Apply a patch from Josh Triplett and Ximin Luo to ignore
      false-positive "ancient" files generated by Rust.
  * checks/init.d.pm:
    + [CL] Avoid false positives in init.d-script-possible-missing-stop
      when checking initscripts in "early boot" packages such as udev, etc.
      (Closes: #908185)
  * checks/scripts.desc:
    + [CL] Apply a patch from Adrian Bunk to improve the long description
      of the multi-arch-same-package-calls-pycompile tag.
    + [CL] Update the long description of wrong-path-for-interpreter to
      reflect the weakening of the /usr/bin/perl "should" requirement
      and to use "particular" over "special exception". Thanks to David
  * data/changelog-file/invalid-dates:
    + [CL] Merge patch from Josh Triplett to display the correct "short"
      three-letter dates for June and July.
  * lib/Lintian/Data.pm:
    + [CL] Apply a patch series from Josh Triplett to add a "matches_any"
      utility function to Lintian::Data instances and ports a number of
      applicable instances to use it. Thanks!

edc2ccc... by lamby on 2018-09-06

Import patches-unapplied version 2.5.100 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 6381450cc328fb3d96118eb148f8288e47b430ee

New changelog entries:
  * Summary of tag changes:
    + Added:
      - obsolete-runtime-tests-restriction
      - package-contains-python-dot-directory
      - skip-systemd-native-flag-missing-pre-depends
      - vcs-obsolete-in-debian-infrastructure
    + Removed:
      - vcs-deprecated-in-debian-infrastructure
  * checks/control-file.{desc.pm}:
    + [CL] Don't check the .dsc for "XS-Autobuild"; check the control file
      itself. This fixes source-only-upload-to-non-free-without-autobuild.
      (Closes: #907681)
  * checks/debhelper.pm:
    + [CL] Also check override_dh_systemd_<action>-arch and -indep for
      debian-rules-uses-deprecated-systemd-override. (Closes: #907845)
  * checks/fields.{desc.pm}:
    + [CL] Rename vcs-deprecated-in-debian-infrastructure and update the
      documentation to match. (Closes: #907578)
  * checks/scripts.{desc.pm}:
    + [CL] Check for "invoke-rc.d --skip-systemd-native" without a suitable
      Pre-Depends. (Closes: #907836)
  * checks/testsuite.{desc,pm}:
    + [CL] Don't emit unknown-runtime-tests-feature for autopkgtest
      "Features:" entries that use the "test-name=foo" nomenclature.
      (Closes: #907620)
    + [CL] Apply patch from Paul Gevers to emit warnings for deprecated
      test features.

6381450... by lamby on 2018-08-29

Import patches-unapplied version 2.5.99 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 09f2fef6c916922c469cbae34fb12f065cae745d

New changelog entries:
  * checks/crufts.desc:
    + [FL] Improve tag description for 'package-does-not-install-examples'.
  * checks/source-copyright.desc:
    + [CL] Correct "may be" typo in the long description for the
      'incomplete-creative-commons-license' tag.
  * data/cruft/warn-file-type:
    + [CL] Match (for example) foo_o.golden with foo.cc to avoid
      source-is-missing false-positives. (Closes: #907475)
  * t/tests/changes:
    + [FL] Place all tests for the 'changes' suite into their own

09f2fef... by lamby on 2018-08-26

Import patches-unapplied version 2.5.98 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 3d54714f62d689c8b4d3e35918de92e7b8fb26ea

New changelog entries:
  * Summary of tag changes:
    + Added:
      - debian-rules-passes-version-info-to-dh_shlibdeps
      - multi-arch-same-package-calls-pycompile
  * checks/rules.pm:
    + [CL] Apply patch from Peter Pentchev to fix false-positives for
      missing Build-Depends on debhelper when using debhelper-compat
      commands. (Closes: #907261)
  * checks/scripts.{desc,pm}:
    + [CL] Warn about Multi-Arch: same packages that use pycompile or
      py3compile in their maintainer scripts. (Closes: #907276)
    + [CL] Expand the description to explain why we emit
      wrong-path-for-interpreter for #!/usr/bin/env perl.
  * checks/source-changelog.pm:
    + [FL] Fix false positives in version parsing, especially
      when some components are "0". (Closes: #906957)
  * data/rules/rules-should-not-use:
    + [CL] Check for packages that pass -V to dh_shlibdeps instead of
      dh_makeshlibs. (Closes: #906722)
  * data/standards-version/release-dates:
    + [CL] Add 4.2.1 as a known Standards-Version.

3d54714... by lamby on 2018-08-18

Import patches-unapplied version 2.5.97 to debian/sid

Imported using git-ubuntu import.

Changelog parent: c5e49717b27b2f11360f75b17552321e99a51437

New changelog entries:
  * Summary of tag changes:
    + Added:
      - debian-changelog-version-requires-debian-revision
      - maintainer-script-needs-depends-on-xfonts-utils
      - malformed-debian-changelog-version
      - missing-call-to-update-fonts
      - upload-has-backports-version-number
    + Renamed:
      - native-package-with-dash-version ->
      - non-native-package-with-native-version ->
  * checks/changes-file.{desc,pm}:
    + [CL] Apply patch from Julien Cristau (with test) to warn about
      uploads that have a version containing "~bpo" but their target
      distribution is not *-backports. (Closes: #906155)
  * checks/scripts.{desc,pm}:
    + [CL] Check for packages that contain X11 fonts but do not run
      update-fonts-* in their postinst or depend on xfonts-utils.
      (Closes: #905881)
  * checks/source-changelog.{desc.pm}:
    + [FL] Rework, centralise and improve version parsing.
      (Closes: #886036)
  * data/common/dh_addons:
    + [NT] Refresh data.
  * data/debhelper/dh_{commands,packages}:
    + [NT] Refresh data.
  * data/spelling/corrections:
    + [PW] Add a number of corrections.
  * data/testsuite/known-restrictions:
    + [CL] Re-add "allow-stderr" accidentally dropped in 0cb688fb.
      (Closes: #905843)
  * private/refresh-debhelper-data:
    + [NT] Add debhelper-compat an alternative to debhelper in
      the data files.
  * t/scripts/01-critic/runner.pl:
    + [CL] Bump perltidy test dependencies to prevent a failing build in
      backports, etc.

c5e4971... by lamby on 2018-08-09

Import patches-unapplied version 2.5.96 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 17b1ba7da62be987a823b184641f2c5a275c976e

New changelog entries:
  * Summary of tag changes:
    + Added:
      - incomplete-creative-commons-license
      - maintainer-script-should-not-use-dpkg-database-directly
      - package-contains-upstream-installation-documentation
    + Removed:
      - no-upstream-changelog
      - package-contains-upstream-install-documentation
  * checks/changelog-file.{desc,pm}:
    + [CL] Drop no-upstream-changelog; it is rarely actionable and simply
      introduces unnecessary noise and/or requiring an override. It had
      additionally been disabled in the Ubuntu profile since 2011.
      (Closes: #513544, #646192)
  * checks/cruft.desc:
    + [CL] Tidy the description of the license-problem-cc-by-nc-sa and
      license-problem-non-free-img-lenna tags.
  * checks/files.{desc,pm}:
    + [BR] Improve package-contains-documentation-outside-usr-share-doc
      by checking if README includes 'this directory' (Closes: #904852)
    + [CL] Rename package-contains-upstream-install-documentation tag to
  * checks/source-copyright.{desc,pm}:
    + [CL] Check for Creative Commons license texts that use the incomplete
      "human-readable" summary. (Closes: #903470)
  * data/scripts/maintainer-script-bad-command:
    + [CL] Warn about packages that directly query the dpkg database in
      their maintainer scripts. Thanks, Guillem Jover! (Closes: #905469)
  * data/spelling/corrections:
    + [PW] Add a number of corrections.

17b1ba7... by lamby on 2018-08-07

Import patches-unapplied version 2.5.95 to debian/sid

Imported using git-ubuntu import.

Changelog parent: a63375a3becbb313312f79b394aba427c4236fb6

New changelog entries:
  * Summary of tag changes:
    + Added:
      - debhelper-compat-virtual-relation
      - depends-on-python2-and-python3
      - no-op-testsuite
      - r-package-not-arch-all
      - source-only-upload-to-non-free-without-autobuild
  * checks/debhelper.{desc,pm}:
    + [CL] Support "debhelper-compat (= X)" build-dependency as a
      replacement for "debhelper (>= X~)". (Closes: #904886)
  * checks/changes-file.{desc,pm}:
    + [CL] Detect source-only uploads to non-free uploads that will not be
      autobuilt by default. (Closes: #905467)
  * checks/control-file.desc:
    + [AB] Fix duplicate word "the" in tag description.
  * checks/cruft.pm:
    + [CL] Don't emit mentions-deprecated-usr-lib-perl5-directory for
      debian/*.install files as they are used as source directories.
      (Closes: #905635)
  * checks/fields.{desc.pm}:
    + [CL] Warn about R packages incorrectly set to "Architecture:
      any". (Closes: #904985)
  * checks/files.{desc,pm}:
    + [CL] Whitelist files in /usr/share/doc and /usr/share/locale for the
      missing-depends-on-sensible-utils tag and update testsuite to match.
      (Closes: #904936)
    + [CL] Add Suggests and Pre-Depends as potential relations with the
      sensible-utils package. Thanks to Guillem Jover for the idea.
  * checks/python.{desc,pm}:
    + [CL] Check for Python packages that have a relation on both Python 2
      and Python 3. (Closes: #904817)
  * checks/testsuite.{desc,pm}:
    + [CL] Warn about packages that have a single, no-op autopkgtest.
      (Closes: #905030)
    + [CL] Move list of known fields, "Restriction" fields and testsuites
      to files under data/testsuite/.
    + [CL] Improve the long description of the
      testsuite-autopkgtest-missing tag; in particular, reference that
      autopkgtest results now influence migration from unstable to testing.
  * data/debhelper/filename-config-files:
    + [NT] Add mime and sharedmimeinfo as known debhelper config files.
  * data/scripts/interpreters:
    + [CL] Prevent ruby-script-but-no-ruby-dep false positives by also
      accepting ruby:any as a dependency. Thanks to Marc Dequènes for the
      bug report. (Closes: #905258)
  * data/spelling/corrections:
    + [PW] Add a number of corrections.
  * data/standards-version/release-dates:
    + [CL] Add 4.2.0 as a known Standards-Version.
  * data/testsuite/known-restrictions:
    + Add "flaky" and "skippable" to the list of known Restrictions in
      testsuite definitions. Thanks to Rebecca N. Palmer.
      (Closes: #904623)
  * lib/Lintian/Collect/Package.pm:
    + [CL] Don't assume that "tar -tv" output always includes a time.
      (Closes: #905423)
  * debian/rules:
    + [CL] Apply a patch from Felix Lechner which fixes a typo which was
      preventing the 'runtests' target relying on test descriptions.