[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003272: lintian: chokes on overrides with "(" but no ")"



Hi,

On Fri, Jan 7, 2022 at 2:57 AM Tobias Frost <tobi@debian.org> wrote:
>
> Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE

That is a consequence of switching to Text::Glob for overrides. I
would suggest '[(]' and '[)]' as probable fixes (backslashes do not
work) but more changes are coming to override files.

We recently introduced 'pointed hints' which allow live links on our
website to sources.d.o and soon others. In terminal output, they are
shown as

    tag annotation [file pointer]

but that format is not great for overrides.

We will likely allow globbing on the file pointer, regular expressions
on the annotation and require literal matches for the tag name. To
keep those fields separate, we may switch to a Deb822 format for
override files, but hope to provide automated tools for migration and
management similar to those we already use internally to interactively
recalibrate Lintian's test suite.

Kind regards
Felix Lechner


Reply to: