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

Bug#943525: lintian: Create private name spaces for tags



Package: lintian
Severity: wishlist

Hi,

Tags currently reside in a global name space, which has many
drawbacks. Based on my difficulties of separating reused tags in the
'files' family of checks, the time is right to implement private name
spaces. Then two checks can share the same tag name without a
conflict.

Some things may break, like overrides. We can probably fix those by
adding the name changes to data/override/renamed-tags.

I am happy to present advantages if someone wants to hang on to the
current setup.

For now, let's focus on:

    (1) What's the best tag format?
    (2) How can we mitigate potential breakage for custom profiles
such as FTP Master and pkg-perl-tools, as well as for downstream users
in Debian derivatives?

Here are some suggestions for the format:

    debian/changelog/malformed-version
    debian/changelog:malformed-version
    debian/changelog->malformed-version
    debian/changelog@malformed-version
    debian/changelog#malformed-version
    <debian/changelog>malformed-version
    debian/changelog^malformed-version

Putting the check up front means the tags sort naturally. Also, some
formats interfere less with shell scripts than others. All suggestions
are welcome. Which is your favorite?

Kind regards,
Felix Lechner


Reply to: