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

Bug#370087: marked as done (Please include the package description.)



On Sat, Jun 10, 2006 at 12:13:33PM +0200, Christoph Berg wrote:
> Re: Filippo Giunchedi 2006-06-10 <[🔎] 20060610095443.GB4467@esaurito.net>
> > allright, I see a problem here: PTS is source based but AFAIK there's no
> > Description: for Source: stanza in debian/control, listing the (short)
> > description for every binary package (in a tooltip!) can be tricky.
> > ideas are welcome as always :)
> 
> DDPO does the following:
> 
>     $description = htmlspecialchars(dba_fetch("d:$package", $pack_db)); /* try source name first */
>     if (!$description)
>         $description = htmlspecialchars(dba_fetch("d:$binaries[0]", $pack_db));

thanks for the quick reply, is the "package - (short) description" available
somewhere? (okay, this might be another feature for the famous CRMI *g*)
Right now the PTS only parses Sources files and I would avoid having to
download/parse also Packages :)

how does DDPO cope with libraries descriptions? source package name rarely is
the same as binary, and the -dev package might be the first Binary:, oh well
corner cases.

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

It's not that I'm afraid to die, I just don't want to be there
when it happens.
-- Woody Allen

Attachment: signature.asc
Description: Digital signature


Reply to: