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

Bug#433469: PTS: please parse 'Homepage:' pseudo-header in the Descriptions...



On Tue, Jul 17, 2007 at 11:49:32PM +0200, Christoph Berg wrote:
> Re: Pierre Habouzit 2007-07-17 <[🔎] 20070717123702.25719.51809.reportbug@localhost>
> >   Please parse the Homepage: pseudo-header in the control's
> > descriptions, and display it in the packages summaries, as it's already
> > done with XS-Vcs-Browser.
> 
> XS-* is a real field, just an "unofficial" one.
> 
> >   An example of such a package is nsd3, note that packages.d.o has it
> > right: http://packages.debian.org/unstable/net/nsd3.
> 
> I think pdo just adds <a href> to whatever substring that looks like
> an URL, cf. http://packages.debian.org/unstable/games/dds.
> 
> Having said that, I don't oppose this proposal, I would just prefer a
> less ugly standard used first. (Why is there a space at the beginning
> of that line anyway?)

  Yes, I'd would have preferred a better standard as well, thing is,
custom is that many packages uses that:

$ grep '^  *Homepage:' /var/lib/apt/lists/mad_debian_dists_sid_main_binary-amd64_Packages | wc -l
4223

  That's quite a lot (and as you can see, some people use two spaces,
some don't).


  If we draft a proper standard, note that the PTS would like to have
XS-URL/Homepage headers, whereas what suits the users is a header that
the binary packages have. And I guess this is the good part of having
Homepage part of the Description, it's easy to spot: it's not lost in
the myriad of other headers, it just at the end of the Description, and
is also shown in dselect/aptitude/$FRONTEND. Having a XB-URL/Homepage
would be seen as a regression from the user POV if the tools don't show
it specifically.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgppha49z1FXR.pgp
Description: PGP signature


Reply to: