From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [RFC] Moving HOMEPAGE out of ebuilds for the future
Date: Mon, 1 Dec 2008 00:20:58 +0000 [thread overview]
Message-ID: <20081201002058.0e0cd1a1@snowmobile> (raw)
In-Reply-To: <m2bpvwkduw.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3532 bytes --]
On Mon, 01 Dec 2008 00:12:23 +0100
flameeyes@gmail.com (Diego 'Flameeyes' Pettenò) wrote:
> - no need to replicate homepage data between versions; even though
> forks can change homepage, I would expect that to at worse split in
> two a package, or have to be different by slot, like Java;
You mean "no way of handling generated homepages, use conditional
homepages, per version homepages or common homepages".
> - allows proper handling of packages lacking a HOMEPAGE;
Uh, we can do that using in-ebuild HOMEPAGE too. Just need to decide on
a convention.
> - less data in metadata cache;
Entirely a non-issue. Heck, we want more in there, not less.
> - users can check the metadata much more easily by just opening the
> xml file or interfacing to that rather than having to skim through the
> ebuild, the xml files are probably more user readable then ebuilds
> using multiple eclasses;
...or they can just use a decent too. Try 'paludis --query' for an
example.
> - displaying info about the package does not require parsing the full
> ebuild file, with its eclasses;
Uhm. It doesn't anyway, because of the metadata cache.
> - extensible to provide more links than just the homepage (forums,
> trackers, gentoo-specific documentation, ...);
So's HOMEPAGE. You could extend the syntax to allow annotations:
HOMEPAGE="
http://example.com/
http://forums.example.com/ [[ role = forums ]]
http://www.gentoo.org/example [[ role = [ Gentoo specific docs ] ]]
gtk+? ( http://gui.example.com/ [[ role = [ Optional GUI docs ] ]]
"
> - if we also move DESCRIPTION, search software can ignore everything
> about ebuild parsing, and just use the metadata.xml files;
> considering how many people actually use or used eix, it would make
> sense to allow third-party applications to be able to search through
> the tree;
Except that any decent search client needs to be aware of masks,
visibility and so on anyway.
> - webapps like packages.gentoo.org would be able to display basic
> information without having to parse the ebuilds or the metadata
> cache.
But they already display complex information.
> - as much as people might think metadata is easier to parse than
> anything, XML has one huge advantage: there are plently of parsers
> for any language without having to actually write one, even as easy
> as it can be, and it's easily interfaced with anything; I wrote a
> simple XSL file that outputs the basic metadata details for packages
> without having any parser or executable code but xsltproc (or any
> other XSLT software), correlating data with herds.xml too;
...or you could use a proper ebuild-aware tool that displays metadata
details, including things like visibility. Again, paludis --query.
> - it really is metadata, and it makes very little sense to need
> parsing of eclasses and EAPI handling to get some data from a package
> that is non-functional in nature and free form (just like
> DESCRIPTION, and unlike LICENSE like Alec said), and that changes at
> worse once each slot (unlike LICENSE that can change at any given
> version).
It isn't non-functional.
> And the fact that you can ask the package manager for something is
> for me not a valid reason to avoi moving something in a more
> approchable place for other software.
"More approachable" is a decent package manager API. If you had that
you wouldn't need to mess around with XML APIs.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-12-01 0:21 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-30 13:23 [gentoo-dev] [RFC] Moving HOMEPAGE out of ebuilds for the future Diego 'Flameeyes' Pettenò
2008-11-30 13:35 ` Jan Kundrát
2008-11-30 13:39 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-11-30 13:50 ` [gentoo-dev] " Tobias Scherbaum
2008-11-30 13:56 ` Serkan Kaba
2008-11-30 14:17 ` Tobias Scherbaum
2008-11-30 14:20 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-11-30 14:33 ` Tobias Scherbaum
2008-11-30 14:36 ` Diego 'Flameeyes' Pettenò
2008-11-30 14:28 ` [gentoo-dev] " Hans de Graaff
2008-11-30 15:03 ` Peter Volkov
2008-11-30 15:09 ` Serkan Kaba
2008-11-30 16:53 ` Peter Volkov
2008-11-30 20:57 ` Alec Warner
2008-11-30 23:12 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-11-30 23:37 ` Jan Kundrát
2008-12-01 8:29 ` Diego 'Flameeyes' Pettenò
2008-12-02 20:35 ` James Cloos
2008-12-03 1:05 ` Diego 'Flameeyes' Pettenò
2008-12-03 2:16 ` Marius Mauch
2008-12-02 20:34 ` James Cloos
2008-12-01 0:20 ` Ciaran McCreesh [this message]
2008-12-01 1:05 ` Alec Warner
2008-12-01 8:24 ` Diego 'Flameeyes' Pettenò
2008-12-01 8:41 ` Alec Warner
2008-12-01 9:00 ` Diego 'Flameeyes' Pettenò
2008-12-03 1:11 ` Ryan Hill
2008-11-30 18:52 ` [gentoo-dev] " Steve Dibb
2008-11-30 13:46 ` Tomáš Chvátal
2008-11-30 13:51 ` Serkan Kaba
2008-11-30 13:59 ` Matti Bickel
2008-11-30 14:06 ` Tobias Scherbaum
2008-11-30 14:02 ` Ciaran McCreesh
2008-11-30 14:08 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-11-30 14:42 ` [gentoo-dev] " Thomas Anderson
2008-11-30 14:44 ` Ciaran McCreesh
2008-11-30 15:10 ` Santiago M. Mola
2008-11-30 16:50 ` Peter Volkov
2008-11-30 16:54 ` Ciaran McCreesh
2008-11-30 18:07 ` Peter Volkov
2008-11-30 18:41 ` Ciaran McCreesh
2008-11-30 16:07 ` Joe Peterson
2008-11-30 22:17 ` James Cloos
2008-11-30 22:42 ` Ulrich Mueller
2008-12-03 0:50 ` Robin H. Johnson
2008-12-03 23:31 ` Gilles Dartiguelongue
2008-12-03 22:18 ` Robin H. Johnson
2008-12-03 23:51 ` Ciaran McCreesh
2008-12-03 23:36 ` Ciaran McCreesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081201002058.0e0cd1a1@snowmobile \
--to=ciaran.mccreesh@googlemail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox