[Popcon-developers] Bug#414865: popularity-contest: A script to filter requested/recommended/suggested packages

Carsten Hey carsten at debian.org
Mon May 11 15:10:10 UTC 2009


Hi,

thanks for the CC.

On Mon, May 11, 2009 at 04:23:14PM +0200, Christophe Lohr wrote:
>   . it manages a list of files to keep "/var/lib/deborphan/keep" (do one
> have to do something else specific?)

deborphan 1.7.29 will allow optional comments in the keep file, these
are whitespace separated from the package names, additionally
whitespaces before the package name are ignored and empty lines or lines
containing only whitespaces are skipped, for example:

perl        
           deborphan     Don't orphan myself
	               
    apt      apt really shouldn't be detected as orphan

 dialog    needed for orphaner, but it is only a recommendation

Without looking at your code, I guess this part of your scripts needs to
be updated, awk '/[[:graph:]]/ {print $1}' $FILENAME would handle this
correctly when $FILENAME is the keep file.

I will take a look at your code either later or in the next days.


Regards
Carsten





More information about the Popcon-developers mailing list