On Sun, 30 Nov 2008 14:23:48 +0100
[EMAIL PROTECTED] (Diego 'Flameeyes' Pettenò) wrote:
> This makes it easier to get the package's homepage for submitting bugs
> upstream (you just do a single lookup for the metadata.xml file rather
> than checking the ebuild

...or you have a tool that uses the package manager API to show you the
homepage of the package in the current directory. I've attached a small
script that'll do that for you -- much easier than trying to dig your
way through an XML file.

> It also makes searching by homepage easier (a search program would
> take much less time to parse XML that an ebuild).

Search programs don't parse ebuilds. They parse the metadata cache,
which is an awful lot easier to parse than XML.

-- 
Ciaran McCreesh

Attachment: show_homepage.rb
Description: application/ruby

Attachment: signature.asc
Description: PGP signature

Reply via email to