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

Bug#645455: Warn about packages in section debug with priority other than extra



On Thu, Oct 27, 2011 at 11:56:33AM +0200, Niels Thykier wrote:
> On 2011-10-16 15:30, Josh Triplett wrote:
> > On Sun, Oct 16, 2011 at 01:22:28PM +0200, Jakub Wilk wrote:
> >> * Josh Triplett <josh@joshtriplett.org>, 2011-10-15, 18:03:
> >>>>> The "debug" section contains debugging symbols, which should
> >>>>> always have priority extra.  Policy specifically mentions them
> >>>>> in the description of priority extra.
> >>>>>
> >>>>> Please consider warning about any packages in section "debug"
> >>>>> with any priority higher than "extra".
> >>>>
> >>>> We do check all packages named *-dbg for that
> >>>> (debug-package-should-be-priority-extra).
> >>>
> >>> Ah, good to know.  And it looks like lintian also already checks
> >>> that any package containing debug symbols follows that naming
> >>> convention, which together check that any package containing debug
> >>> symbols has priority extra. :)
> >>
> >> Right, that's debug-package-should-be-named-dbg.
> >>
> >>> Neither of those ensure that such packages have section "debug",
> >>> though.
> >>
> >> There is wrong-section-according-to-package-name, which should
> >> trigger for all *-dbg packages that are not in section "debug".
> > 
> > Oh, awesome, thanks.
> > 
> > - Josh Triplett
> 
> By the looks of this, there is nothing to be done.  If so, I will close
> this bug.  :)

>From what you mentioned, debug-package-should-be-priority-extra ensures
that packages named *-dbg have priority extra.  Since the debug section
consists almost entirely of packages named *-dbg, that mostly addresses
my request.  Ideally, I'd suggest having the converse of
wrong-section-according-to-package-name, which would trigger for all
packages in section "debug" that do not have the name *-dbg; in addition
to making sense, that test together with
debug-package-should-be-priority-extra would entirely address my
original request.

Thanks,
Josh Triplett



Reply to: