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

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



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





Reply to: