Re: Discarding uploaded binary packages
On Thu, 18 Oct 2012, Paul Wise <pabs@debian.org> wrote:
> On Thu, Oct 18, 2012 at 10:20 AM, Russell Coker wrote:
> > We could have a lintian warning for any occurance of the string "/home"
> > in a packaged file and have error conditions for "/build" and the
> > current value of $HOME for the account running lintian.
>
> Based on a quick grep of /usr/bin on my laptop, this is going to have
> a fair number of false positives; commented out paths, paths in POD
> documentation, URLs, paths outside of /home that include /home in
> their name somewhere.
For a warning it doesn't matter much if we have a few false-positives. For
the error conditions that I suggest for /build and $HOME I find it difficult to
imagine false-positives except the case where a DD uses their own home
directory as an example in help text, and that can't be a good practice
anyway.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
Reply to: