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

Bug#974641: lintian: classification tag for test suite



On 13/11/20 at 02:57 -0800, Felix Lechner wrote:
> Hi Lucas,
> 
> On Thu, Nov 12, 2020 at 11:51 PM Lucas Nussbaum <lucas@debian.org> wrote:
> >
> > Could you please reintroduce a classification tag that makes it possible
> > to say whether a package has a test suite?
> 
> We provide it already. It's in a classification tag called
> 'trimmed-field'. [1] Just look for tag contexts that start with
> 'Testsuite'. (Please be case-insensitive like Deb822; the field name
> is quoted verbatim.) You can't see it on our website, but it's in UDD.
> Do you see it there?

I see it indeed. However, I wonder if lintian should provide a specific
classification tag for that (as it did in the past), rather than force
me to analyze the content of the Testsuite control field in the
trimmed-field tag.

(In that specific case, I agree that it's probably easy enough, and I
can live with that... But I wonder a bit about the general policy here,
and where you draw the line between what you should go into specific
tags, and what should be done via parsing trimmed-field -- one could
argue that the 'vcs' and 'vcs-uri' could be removed in favor of
trimmed-field as well.)

Lucas


Reply to: