Felix Lechner pushed to branch master at lintian / lintian


Commits:
fa1f3e2c by Felix Lechner at 2019-10-04T00:16:16Z
Add Moo::Role for Lintian checks.

This is a preparation to instantiate all checks as Moo objects. It is
ultimately expected to bring a number of benefits, such as a reduction
in global variables, easier post-processing of issued tags, and
additional facilities that make it easier to write Lintian checks.

Gbp-Dch: ignore

- - - - -
6bdcfc1c by Felix Lechner at 2019-10-04T00:20:43Z
Optionally instantiate Lintian checks as objects if they implement the role 
Lintian::Check.

All checks will gradually be converted to the new format. For now, it
remains optional.

Checks in dependent projects, such as pkg-perl-tools and pkg-js-tools
will ultimately be asked to convert the profiles to the new format. It
is currently still in development.

Gbp-Dch: ignore

- - - - -
b51f01c1 by Felix Lechner at 2019-10-04T00:44:08Z
Convert all checks to instantiated objects using the role Lintian::Check.

It is ultimately expected to bring a number of benefits, such as a
reduction in global variables, easier post-processing of issued tags,
and additional facilities that make it easier to write Lintian checks.

Uses the new Moo-based facility in all checks that ship with Lintian.

- - - - -


30 changed files:

- checks/apache2.pm
- checks/application-not-library.pm
- checks/appstream-metadata.pm
- checks/automake.pm
- checks/binaries.pm
- checks/changes-file.pm
- checks/conffiles.pm
- checks/control-files.pm
- checks/cruft.pm
- checks/dbus.pm
- checks/deb-format.pm
- checks/debhelper.pm
- checks/debian/changelog.pm
- checks/debian/control.pm
- checks/debian/copyright.pm
- checks/debian/debconf.pm
- checks/debian/po-debconf.pm
- checks/debian/readme.pm
- checks/debian/rules.pm
- checks/debian/source-dir.pm
- checks/debian/version-substvars.pm
- checks/debian/watch.pm
- checks/duplicate-files.pm
- checks/elpa.pm
- checks/fields.pm
- checks/fields/architecture.pm
- checks/fields/bugs.pm
- checks/fields/built-using.pm
- checks/fields/checksums.pm
- checks/fields/derivatives.pm


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/90a0329b3115f4f1521ba964f14fdab2768ab295...b51f01c1d62a200f6e6a1f2d037250159238dd93

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/90a0329b3115f4f1521ba964f14fdab2768ab295...b51f01c1d62a200f6e6a1f2d037250159238dd93
You're receiving this email because of your account on salsa.debian.org.


Reply via email to