Gentoo Archives: gentoo-dev

From: Aaron Walker <ka0ttic@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Treewide metadata.xml
Date: Fri, 27 May 2005 11:33:35
Message-Id: 42970590.5020705@gentoo.org
In Reply to: [gentoo-dev] [RFC] Treewide metadata.xml by Danny van Dyk
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Danny van Dyk wrote:
5
6 > On the other hand, if you want to search for a package name via
7 > metadata, you have to traverse the whole tree. Quite unhandy if done w/o
8 > a cache and not yet implemented AFAIK.
9
10 herdstat can do this. ciaranm poked me the other day to see if I could
11 implement a cache for it (which I mostly finished last night), so hopefully
12 that'll be in a release soon.
13
14 >
15 > I would like to propose the following changes:
16 > Let's keep the metadata.xml in each package's directory in _CVS only_.
17 > Don't propagate them via rsync. Instead, use a script to compile all
18 > metadata.xml files into one central (XML) file. (This would probably
19 > need slight changes to the DTD). This file would then be placed into
20 > gentoo-portage/metadata/ and Portage,devs and users could easily parse it.
21 >
22 > TIA for any feedback on this!
23 >
24 > PS: Ciaran: Leave me alive please ;-)
25 > PPS: Yes, I'd volounteer to write that compilation script.
26
27 I think it's a good idea. Regarding the compilation script, there's
28 already-written code in herdstat that could handle this, but most likely that's
29 not an option (I can hear the "C++ sucks" flames already ;p).
30
31 Cheers
32 - --
33 Politics makes strange bedfellows, and journalism makes strange politics.
34 -- Amy Gorin
35
36 Aaron Walker <ka0ttic@g.o>
37 [ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v1.4.1 (GNU/Linux)
40
41 iD8DBQFClwWQC3poscuANHARAsYOAJ4t+0wvsRSjkUpnhAfMo5Dr+HSLlwCg3WJW
42 a74kgH3r9AnXaWwDn9YFGXY=
43 =rXet
44 -----END PGP SIGNATURE-----
45 --
46 gentoo-dev@g.o mailing list