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

Bug#822833: Detect Recommends to non-free



Hi Mathieu!

* Mathieu Malaterre <malat@debian.org>, 2016-04-28, 08:37:
It would be super nice if lintian could somehow detect 'Recommends' pointing outside main:

Policy 2.2.1 states:

In addition, the packages in main

must not require or recommend a package outside of main for compilation or execution (thus, the package must not declare a "Pre-Depends", "Depends", "Recommends", "Build-Depends", or "Build-Depends-Indep" relationship on a non-main package),

This was detected by a human:

https://bugs.debian.org/820190

Lintian doesn't do any cross-package checks (with the exception of packages built from the same sources). We have debcheck for archive-wide dependency checks:

https://qa.debian.org/debcheck.php?dist=sid&list=withinmain&arch=ANY

(Sadly, debcheck UI leaves much to be desired, and it looks unmaintained. :-\)

That said, there are currently only ~760 non-main packages, and the list probably don't change much over time, so maybe we could just save the list into a static data file.

--
Jakub Wilk


Reply to: