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

Bug#608554: lintian: [checks/fields] wrong-section-according-to-package-name should be component-aware



On Sat, 2011-01-01 at 13:12 +0000, Adam D. Barratt wrote:
> It would be nice if the wrong-section-according-to-package-name check
> made suggestions that were component-aware.  See #608530 for some
> background, but for example for a binary package blah-doc produced from
> a source package which is in non-free, we should be suggesting that
> blah-doc be in non-free/doc, not simply doc.

Hrm, possibly not that simple, as we could be invoked on a single binary
package which, outside of a suitably configured lab or checking
a .dsc / .changes containing the source, means that the source won't be
usefully available to compare the section against.

This could be checked in one of the source package scripts, although
that does mean doing so in a script that might not be the ideal
location.

Regards,

Adam




Reply to: