Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Glep 23 and glep 5
Date: Mon, 22 Mar 2004 14:08:21
Message-Id: 200403221508.17804.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Glep 23 and glep 5 by Marius Mauch
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Thursday 18 March 2004 22:58, Marius Mauch wrote:
5 > On 03/18/04 Olivier CrĂȘte wrote:
6 > > Hi,
7 > >
8 > > I just re-read glep 5 and I noticed a problem with it. It proposes
9 > > moving the licensing information to metadata.xml. First, the license
10 > > can change from one version to another. And second, it's
11 > > incompatible with glep 23 (the accept_licenses glep) which proposes
12 > > to make use flags affect licenses (which seems pretty reasonable).
13 > > So the license part should probably be dropped from glep 5.
14 >
15 > I don't see a problem with the idea itself, but the implementation in
16 > portage could be a problematic. It would either require adding xml
17 > parsing code to some core routines or to handle variables from
18 > metadata.xml completely different which would result in API changes
19
20 Which is the main reason that this glep has been on a hold for quite some
21 time. Nick doesn't want to add xml parsing code so we currently don't
22 have such data in metadata.xml.
23
24 > breaking tools. Another issue is that it could result in serious
25 > performance penalties (e.g. emerge --search would have to parse
26 > metadata.xml for possibly hundreds of packages) and the lost
27 > capability of defining the variables in eclasses.
28
29 Parsing metadata.xml for search is actually easier than parsing ebuilds
30 for the same (there are more ebuilds to start with). One could even use
31 grep as a preselection feature to faster get candidates in which to look
32 better (read actually parse the xml).
33
34 Paul
35
36 - --
37 Paul de Vrieze
38 Gentoo Developer
39 Mail: pauldv@g.o
40 Homepage: http://www.devrieze.net
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v1.2.4 (GNU/Linux)
43
44 iD8DBQFAXvNQbKx5DBjWFdsRAv4UAJ9FbvXyHhPe+ooVwzU64VR30jcefwCfdNE5
45 S85ZASotYgaulrD2srHoj/o=
46 =NI43
47 -----END PGP SIGNATURE-----
48
49 --
50 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Glep 23 and glep 5 Marius Mauch <genone@g.o>