-
740847da
by Chris Lamb
at 2020-09-18T10:47:33+01:00
Open new changelog entry.
Gbp-Dch: ignore
-
e290103b
by Felix Lechner
at 2020-09-22T19:09:07-07:00
Streamline location of Debian changelog in installation packages.
The old was circuitous and used too many temporary files. Now we only use
such files to provide uncompressed content.
For file operations, rely on Lintian::Index instead of accessing the
unpacked files directly.
Completes a key step to dismantle the last remnant of the old unpacker in
Processable::Installable.
Adds more context for symbolic links, and identifies some that went
undetected until now. Ccontext for news files is was harmonized with the
other tags.
Gbp-Dch: ignore
-
473b33e2
by Felix Lechner
at 2020-09-23T08:58:19-07:00
Inline determination of copyright path into the copyright check.
The path was not used anywhere else. Inlining it avoids the awkward reliance
on a defined path in the processable's base directory ('copyright').
This is a prerequisite to removing the last remnant of the old Unpacker in
Processable::Installable.
Gbp-Dch: ignore
-
eecb4d4a
by Felix Lechner
at 2020-09-23T09:25:57-07:00
Make objdump_info an attribute of Processable; drop last remnant of Unpacker.
Simplifies initialization of Processables. They are now unpacked on demand
the first time a feature is used.
The new architecture finally replaces in full the functionality originally
provided by the 'Needs-Info' annotations in the POD the Unpacker needed
years ago.
The collection of information is now triggered by the checks as needed, but
without explicit specifications that are difficult to maintain and likely to
provoke human error.
When only some checks are selected via the command line, only the
information needed for those checks is collected.
Gbp-Dch: ignore
-
5080c006
by Chris Lamb
at 2020-09-23T17:52:45+01:00
Update the expected Vcs-{Browser,Git} location of modules and applications maintained by the Python module team. (Closes: #970743)
-
8c548fdf
by Louis-Philippe Véronneau
at 2020-09-23T14:33:36-04:00
Update DPMT and PAPT VCS tags for new Python Team.
The DMPT and the PAPT have been merged into the Debian Python Team
(DPT). This commit updates the names and messages of the existing VCS
tags for these teams.
-
a044a57b
by Louis-Philippe Véronneau
at 2020-09-23T15:41:55-04:00
Add new tag papt-dmpt-merged for DPT Maintainer.
The PAPT and the DPMT have been merged into the new DPT. This commit
checks the Maintainer field to make sure the proper email address is
used.
-
acd41709
by Felix Lechner
at 2020-09-24T05:15:36-07:00
Enforce code style as part of autopkgtest.
Many of the third-party contributions we receive are only vetted in Salsa,
but the autopkgtest job does not enforce the same code style the maintainers
are subject to when running ./private/runtests locally.
As a result, we frequently have to make follow-on commits to tidy up code..
For example, the previous commit was not perltidy-clean. This commit should
cause the pipeline to fail.
This commit enables a variety of code style tests (aka 'the scripts') as
part of autopkgtest. They were disabled for good reason, namely to avoid
unnecessary build failures. The decision was not made lightly. Complications
are possible.
One complication may be that perltidy's idea of 'tidy' changes unexpectedly
over time, and can differ between Debian releases.
Fortunately, our tests contains additional safeguards that prevent style
tests from running when installed perltidy and perlcritic versions do not
match minimum versions known to agree with the style in our repository.
Backports should not be affected.
Future issues with new version of perltidy or perlcritic should be addressed
with two commits: One to make the code tidy, and another to bump the minimum
version of those tools required to pass the tests.
The merits of this commit are presently unclear. Fixups are expected.
-
1fd602d9
by Felix Lechner
at 2020-09-24T05:20:20-07:00
Perltidy for second-to-last to commit a044a57b.
The commit immediately preceeding this one enables style tests in Salsa CI.
It should make commits like this one unnecessary in the future.
Gbp-Dch: ignore
-
df713986
by Felix Lechner
at 2020-09-24T05:30:47-07:00
Combine Processable::Binary and Processable::Udeb into Processable::Installable.
The two Moo roles did exactly the same thing, except they exposed a
different type.
Gbp-Dch: ignore
-
407bdb09
by Felix Lechner
at 2020-09-24T07:43:18-07:00
Do not try to print logs that do not exist, in unattended mode.
May resolve pipeline failure in Salsa CI.
Gbp-Dch: ignore
-
fc995b26
by Felix Lechner
at 2020-09-24T09:42:42-07:00
Install .perlcriticrc into /usr/share/lintian; matches code with specifications.
Out of all possible consequences, this was the one I least expected. After
some reflection, it made sense to keep the standard for code style, namely
the perlcritic selection, near the code being evaluated.
If the failures prove too difficult to resolve, an alternative might be to
disable the style tests again (i.e. revert commit acd41709). Instead, the
tests could be a separate job in the Salsa CI pipeline.
Credit for that latest idea belongs to Antonio Terceiro. Thank you!
Gbp-Dch: ignore
-
b1443afc
by Felix Lechner
at 2020-09-24T10:55:34-07:00
Run POD tests only for POD sources that exist.
Takes another step in possibly restoring the Salsa CI pipeline.
Gbp-Dch: ignore
-
53f73684
by Felix Lechner
at 2020-09-24T12:13:18-07:00
Remove two outdated harness tests for old check specifications; may restore CI pipeline.
The older check specifications parsed by some tests scripts have not been
used for a while. They were not modular and are now obsolete. Removes the
affected scripts.
There is some hope this commit may restore the Salsa CI pipeline, but the
failed log from Salsa also shows an untested tag:
Unknown/missing tag: inconsistency-debian-watch
It is a _javascript_ team tag that was not imported in commit 8a665222. Our
sources do not contain the string. It is a mystery how the tag (or the
string) appeared in the failed Salsa log.
Our test suite probably located the tag via pkg-js-tools, which was
installed as a test prerequisite via d/tests/control.
Gbp-Dch: ignore
-
241daca1
by Felix Lechner
at 2020-09-24T17:37:59-07:00
Do not install pkg-js-tools as part of autopkgtest until path conflicts are resolved.
Several tests require a debhelper build system that ships in pkg-js-tools..
That package also installs a custom tag. Lintian cannot tell the tag is from
a third party and fails its autopkgtests because the tag is untested.
Lintian does not presently offer ways to test third-party tags. Such a
facility is also unlikely to be provided in the near future.
A good long-term solution would be to install third-party tags in a
different location, such as usr/share/lintian/contrib/${package}/tags.
The package pkg-js-tools is the only known package with a custom tag. This
commit prevents it from being installed in autopkgtests until the
installation paths are adjusted.
As an aside, the tag inconsistency-debian-watch may at some point be
integrated into mainline Lintian like other tags from that package but the
check for it uses the network, which would be a controversial change for
Lintian.
Either way, the latter would not be a permanent solution for the issue.
-
119dac7c
by Chris Lamb
at 2020-09-25T10:35:55+00:00
Release lintian/2.96.0 into unstable.
-
77597104
by Chris Lamb
at 2020-09-27T10:59:40+01:00
Merge tag '2.96.0' into buster-backports
Release lintian/2.96.0 into unstable.
Format: 1.8
Date: Fri, 25 Sep 2020 10:35:54 +0000
Source: lintian
Architecture: source
Version: 2.96.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 970743
Changes:
lintian (2.96.0) unstable; urgency=medium
.
* Summary of tag changes:
+ Added:
- old-dpmt-vcs
- old-papt-vcs
- papt-dmpt-merged
+ Removed:
- wrong-vcs-location-for-dpmt
- wrong-vcs-location-for-papt
.
[ Chris Lamb ]
* Update the expected Vcs-{Browser,Git} location of modules and
applications maintained by the Python module team. (Closes: #970743)
.
[ Louis-Philippe Véronneau ]
* Update DPMT and PAPT VCS tags for new Python Team.
* Add a new papt-dmpt-merged tag for Debian Python Team Maintainer.
.
[ Felix Lechner ]
* Enforce code style as part of autopkgtest testing.
* Do not install pkg-js-tools as part of running the autopkgtests until
path conflicts are resolved.
Checksums-Sha1:
7561789166f3d7d8bcf57b20a5c51f28e90ca0a1 1542 lintian_2.96.0.dsc
fe9a27c87489f50921204a37888684b61f51d651 1976892 lintian_2.96.0.tar.xz
f20c47fe4a73773f07851214a9cebe9b22761952 4990 lintian_2.96.0_amd64.buildinfo
Checksums-Sha256:
94fa78fa327e74e0f0860140bdcd7f13d8359762fd69bd9a172c52e846d17571 1542 lintian_2.96.0.dsc
1ec0e03802259aeb94101ec605a8282d2fba52aad2ad9684344d38ca2e0fa455 1976892 lintian_2.96.0.tar.xz
6ca56c460d02850d8303dcdd8d6b4059b6178125ba6e1a14c057894a0448e3b7 4990 lintian_2.96.0_amd64.buildinfo
Files:
296a4a129ad01c3ee0defba48a7fae21 1542 devel optional lintian_2.96.0.dsc
a2fa338a4510abbf5931703ddb877141 1976892 devel optional lintian_2.96.0.tar.xz
e0e16955c28594ee5e693d3e2ab0a501 4990 devel optional lintian_2.96.0_amd64.buildinfo
* tag '2.96.0':
Release lintian/2.96.0 into unstable.
Do not install pkg-js-tools as part of autopkgtest until path conflicts are resolved.
Remove two outdated harness tests for old check specifications; may restore CI pipeline.
Run POD tests only for POD sources that exist.
Install .perlcriticrc into /usr/share/lintian; matches code with specifications.
Do not try to print logs that do not exist, in unattended mode.
Combine Processable::Binary and Processable::Udeb into Processable::Installable.
Perltidy for second-to-last to commit a044a57b.
Enforce code style as part of autopkgtest.
Add new tag papt-dmpt-merged for DPT Maintainer.
Update DPMT and PAPT VCS tags for new Python Team.
Update the expected Vcs-{Browser,Git} location of modules and applications maintained by the Python module team. (Closes: #970743)
Make objdump_info an attribute of Processable; drop last remnant of Unpacker.
Inline determination of copyright path into the copyright check.
Streamline location of Debian changelog in installation packages.
Open new changelog entry.
-
0dbf6528
by Chris Lamb
at 2020-09-27T11:00:35+01:00
Rebuild for buster-backports.