Felix Lechner pushed to branch master at lintian / lintian


Commits:
03624482 by Felix Lechner at 2020-12-16T11:23:46-08:00
Capitalize module names for checks in camel case; drop underscores.

Lintian tried for a long time to make the module names for checks
similar to their names. It is not possible to make them the same.
(Module names may not contain hyphens; not sure about dots.) This
commit chooses an alternative naming scheme.

The new names are more in line with Perl customs. We introduce them
here in preparation to move the modules to their correct location in
our name space. Symbolic links will be provided as a convenience where
appropriate.

The move will prevent modules from being absent due to typos. It will
also help to ensure that all modules are loaded. Some of these
assertions did not appear possible without the perlcritic policy
Freenode::PackageMatchesFilename, which we hope to enable shortly.

Aside from the broader name tranlations, this commit currently
special-cases the dot in the check 'init.d' in two conversions from
camel case in which otherwise a hyphen would be inserted.

Together with the changes to follow, this may break pkg-js-tools and
pkg-perl-tools. The maintainers of those packages will be advised
separately, as has been our custom.

- - - - -


30 changed files:

- checks/apache2.pm → checks/Apache2.pm
- checks/application-not-library.pm → checks/ApplicationNotLibrary.pm
- checks/appstream-metadata.pm → checks/AppstreamMetadata.pm
- checks/apt.pm → checks/Apt.pm
- checks/binaries.pm → checks/Binaries.pm
- checks/build-systems/automake.pm → checks/BuildSystems/Automake.pm
- checks/build-systems/cmake.pm → checks/BuildSystems/Cmake.pm
- checks/changes-file.pm → checks/ChangesFile.pm
- checks/conffiles.pm → checks/Conffiles.pm
- checks/continuous-integration/salsa.pm → checks/ContinuousIntegration/Salsa.pm
- checks/control-files.pm → checks/ControlFiles.pm
- checks/cron.pm → checks/Cron.pm
- checks/cruft.pm → checks/Cruft.pm
- checks/deb-format.pm → checks/DebFormat.pm
- checks/debhelper.pm → checks/Debhelper.pm
- checks/debian/changelog.pm → checks/Debian/Changelog.pm
- checks/debian/control.pm → checks/Debian/Control.pm
- checks/debian/copyright.pm → checks/Debian/Copyright.pm
- checks/debian/copyright/apache-notice.pm → 
checks/Debian/Copyright/ApacheNotice.pm
- checks/debian/copyright/dep5.pm → checks/Debian/Copyright/Dep5.pm
- checks/debian/debconf.pm → checks/Debian/Debconf.pm
- checks/debian/desktop-entries.pm → checks/Debian/DesktopEntries.pm
- checks/debian/filenames.pm → checks/Debian/Filenames.pm
- checks/debian/files.pm → checks/Debian/Files.pm
- checks/debian/line-separators.pm → checks/Debian/LineSeparators.pm
- checks/debian/lintian-overrides.pm → checks/Debian/LintianOverrides.pm
- checks/debian/lintian-overrides/comments.pm → 
checks/Debian/LintianOverrides/Comments.pm
- checks/debian/manual-pages.pm → checks/Debian/ManualPages.pm
- checks/debian/not-installed.pm → checks/Debian/NotInstalled.pm
- checks/debian/patches.pm → checks/Debian/Patches.pm


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/03624482039aa89f33d94439c04d52da99e53fd4

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/03624482039aa89f33d94439c04d52da99e53fd4
You're receiving this email because of your account on salsa.debian.org.


Reply via email to