~roguescholar/lintian/+git/trunk:brackets-in-overrides-rc-bug-1003353

Last commit made on 2022-06-20
Get this branch:
git clone -b brackets-in-overrides-rc-bug-1003353 https://git.launchpad.net/~roguescholar/lintian/+git/trunk

Branch merges

Branch information

Name:
brackets-in-overrides-rc-bug-1003353
Repository:
lp:~roguescholar/lintian/+git/trunk

Recent commits

dce8416... by Axel Beckert

Add unit test for Lintian::Util::match_glob

Also fix the anchoring of regular expressions returned by
Regexp::Wildcards. The test showed that it wasn't implemented as
expected (i.e. as before Text::Glob was used). It should do just
substring matches but match the whole line (if patterns are present).

This is basically meant as a test case for #1003353 because writing a
test that tests if lintian overrides actually match seems to be
impossible with the current way Lintian's test suite works.

The weird indentation in the test script is (C) by perltidy. O.o

91b36bc... by Axel Beckert

Replace unfitting Text::Glob with more flexible Regexp::Wildcards

Write a match_glob() function which emulates Text::Glob's match_glob()
preconfigured for Lintian's needs, put it into Lintian::Utils and
allow to export it from there.

The mentioned preconfiguration for just using the "Jokers" set of
Regexp::Wildcards fixes the issues with brackets in overrides which
Lintian had since the introduction of Text::Glob in commit
139009d5a54225ebff4509ec37b979cb898c17fe.

Closes: #1003353

This also allows us to remove one item from the exception list for
Perl::Critic's Variables::ProhibitPackageVars policy as we no more
need to configure Text::Glob every time (!) when we call match_glob().

Also update the dependencies accordingly.

a4dad19... by Axel Beckert

Drop mentioning of never existing --no-overrides option from man page

Also clarify some of the text about --show-overrides and
--no-show-overrides.

f28bde6... by Axel Beckert

README.developers.pod: Explain the difference between a check and a test

f0bddf1... by Axel Beckert

Fix a bunch of "Use of uninitialized value $_ in concatenation" warnings

They happened in Lintian::Profile and Lintian::Tag, but only showed up
when running POD tests manually with "prove -l t/scripts/pod-*.t".

ea44c27... by Axel Beckert

Documentation update: Replace directory "frontend/" with "bin/"

Has been forgotten in commit c3ecfb43c41a2d61693eb78b14efdd673d0f8144.

c319d5f... by Axel Beckert

Switch syntax marker of README.developers.pod from "perl" to "pod"

f9ef40a... by Axel Beckert

Make current own lintian overrides work with old and new lintian versions

9550e5f... by Axel Beckert

Rename README.developers to have a proper file suffix (.pod)

Should help to render it properly on Salsa, too.

e386ec3... by Axel Beckert

Empty hints file seem to require a Test-Against field in desc

This hopefully fixes testsuite/autopkgtest failures introduced by
my recent commit ac93c6a22ee797bce1700892e399b4d8e7dce601.