On Sat, Mar 25, 2006 at 11:53:53AM -0800, Russ Allbery wrote: > Michael Ablassmeier <[EMAIL PROTECTED]> writes: > > > i just wondered how am i supposed to add my own checks to lintian. It > > seems the only way to do this (without beeing root) is to copy the stuff > > from /usr/share/lintian to $HOME and use the --root switch to change > > $LINTIAN_ROOT. > > > I think it would be very nice if lintian could check ~/.lintian/checks > > for checks and load them, just like linda does. Attached is a (i guess > > pretty hackish patch) against trunk which does this. > > This seems like at least an idea worth considering. Could you submitt his > and your patch as a wishlist bug report? I don't know about the other > lintian developers,
Well, I agree such request are best filed as bugs immediately, for the same reasons you (Russ) cite, but I can already say that personally, I'm not really terribly fond of this idea. Lintian should IMHO really be a tool that has a reliable output, and that can be used as a base for structural QA work etc. An important requisite for this is that lintian output should be constant regardless of your environment. There is --root for development on lintian, testing out/using locally certain patches (including simply added checks). ~/.lintian/checks might be neat, but only addresses a small subset, because it can only add checks, and then only checks that don't need any sort of collector changes. --root actually allows any kind of adoption, and is very easy too (just a cp -a or even cp -sa and adding/modifying whatever pleases you). --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

