Re: Packages with empty directories

2007-11-22 Thread Mark Brown
On Thu, Nov 22, 2007 at 12:55:50PM +0100, Josselin Mouette wrote: > What I'm suggesting is to grep for them in maintainer scripts. Any empty > directory created in /etc and which isn't used in the maintainer scripts > is likely to be a mistake. You'd need to check binaries as well - quite a few t

Re: Packages with empty directories

2007-11-22 Thread Josselin Mouette
Le mercredi 21 novembre 2007 à 14:08 -0500, Daniel Schepler a écrit : > Some of the common false positives are /var/lib/ or /etc/, or > subdirectories under one of those. Since often doesn't match the > binary package name exactly, I don't see any easy way to detect these cases. What I'm sugge

Re: Packages with empty directories

2007-11-21 Thread Neil Williams
Daniel Schepler wrote: > On Tuesday 20 November 2007 11:20:17 pm Michael Biebl wrote: >> Imho adding a lintian check for empty /usr/bin, /usr/sbin, /usr/lib and >> /usr/include directories (as created by dh-make) would be a good start. > > I wrote a lintian check implementing the conservative appr

Re: Packages with empty directories

2007-11-21 Thread Daniel Schepler
On Tuesday 20 November 2007 11:20:17 pm Michael Biebl wrote: > Imho adding a lintian check for empty /usr/bin, /usr/sbin, /usr/lib and > /usr/include directories (as created by dh-make) would be a good start. I wrote a lintian check implementing the conservative approach, and submitted a patch as

Re: Packages with empty directories

2007-11-21 Thread Daniel Schepler
On Wednesday 21 November 2007 04:08:44 am Josselin Mouette wrote: > Hi, > > Le mercredi 21 novembre 2007 à 05:20 +0100, Michael Biebl a écrit : > > Imho adding a lintian check for empty /usr/bin, /usr/sbin, /usr/lib and > > /usr/include directories (as created by dh-make) would be a good start. > >

Re: Packages with empty directories

2007-11-21 Thread Bernd Zeimetz
Josselin Mouette wrote: > Maybe we could check for empty directories except for a number of common > false positives (like the python-support directories or /var/games), and > for the rest, grep in the maintainer scripts. > zope-common needs /var/lib/zope and the Zope packages come with somthing

Re: Packages with empty directories

2007-11-21 Thread Bernhard R. Link
* Josselin Mouette <[EMAIL PROTECTED]> [071121 10:08]: > Maybe we could check for empty directories except for a number of common > false positives (like the python-support directories or /var/games), and > for the rest, grep in the maintainer scripts. And menu-methods (which cause a lot of false-

Re: Packages with empty directories

2007-11-21 Thread Josselin Mouette
Hi, Le mercredi 21 novembre 2007 à 05:20 +0100, Michael Biebl a écrit : > Imho adding a lintian check for empty /usr/bin, /usr/sbin, /usr/lib and > /usr/include directories (as created by dh-make) would be a good start. Maybe we could check for empty directories except for a number of common fals

Re: Packages with empty directories

2007-11-21 Thread Manuel Prinz
Am Mittwoch, den 21.11.2007, 05:11 +0100 schrieb Michael Biebl: > All of my packages listed there are false positives. What I noticed > though, are a lot of packages, shipping empty /usr/sbin, /usr/bin/, > /usr/lib/ or /usr/include directories. > This directories, very likely, come from dh-make *.d

Re: Packages with empty directories

2007-11-20 Thread Bernd Zeimetz
Daniel Schepler wrote: > Obviously, a lot of these will be false positives, so I definitely won't file > mass bugs based on this list without checking the full details first. Using python-support also creates false-positives. python-support relies on having /usr/share/python-support/packagename/

Re: Packages with empty directories

2007-11-20 Thread Michal Čihař
Hi On Tue, 20 Nov 2007 21:55:30 -0500 Daniel Schepler <[EMAIL PROTECTED]> wrote: > I recently noticed that many of the binary packages in Debian have > unnecessary > empty directories in them, How do you detect that the directory is "unnecessary"? It can be for example used for storing data i

Re: Packages with empty directories

2007-11-20 Thread Michael Biebl
Daniel Schepler schrieb: > On Tuesday 20 November 2007 10:26:39 pm Cyril Brulebois wrote: >> On 21/11/2007, Daniel Schepler wrote: >>> Obviously, a lot of these will be false positives, so I definitely >>> won't file mass bugs based on this list without checking the full >>> details first. >> Maybe

Re: Packages with empty directories

2007-11-20 Thread Michael Biebl
Daniel Schepler schrieb: > I recently noticed that many of the binary packages in Debian have > unnecessary > empty directories in them, so I wrote a script to find all packages with any > empty directories. The results are too numerous to post on the list. The > list by maintainer/uploader i

Re: Packages with empty directories

2007-11-20 Thread Daniel Schepler
On Tuesday 20 November 2007 10:26:39 pm Cyril Brulebois wrote: > On 21/11/2007, Daniel Schepler wrote: > > Obviously, a lot of these will be false positives, so I definitely > > won't file mass bugs based on this list without checking the full > > details first. > > Maybe suggesting a lintian check

Re: Packages with empty directories

2007-11-20 Thread Cyril Brulebois
On 21/11/2007, Daniel Schepler wrote: > Obviously, a lot of these will be false positives, so I definitely > won't file mass bugs based on this list without checking the full > details first. Maybe suggesting a lintian check would be a good idea? Cheers, -- Cyril Brulebois pgpw3I0trgcoK.pgp D