Hi, Danny van Dyk wrote: > On the other hand, if you want to search for a package name via > metadata, you have to traverse the whole tree. Quite unhandy if done w/o > a cache and not yet implemented AFAIK.
It is implemented, see app-portage/eix or app-portage/esearch, but these both depend on cache, which has to be updated regulary. > I would like to propose the following changes: > Let's keep the metadata.xml in each package's directory in _CVS only_. > Don't propagate them via rsync. Instead, use a script to compile all > metadata.xml files into one central (XML) file. (This would probably > need slight changes to the DTD). This file would then be placed into > gentoo-portage/metadata/ and Portage,devs and users could easily parse it. Sounds good, if your script validates the per-package metadata.xml before transform it to the global one. It'd really suck if a single missing '>' could screw the whole tree's metadata. This shouldn't be a problem, especially if you transform the information with XSLT. I definitively like the idea, it should speed up emerge -s enormously and save quite some inodes. A reduction of 8% of files sounds really good. Greetings, blubb -- blubb Gentoo/AMD64 Developer http://www.blubb.li/ -- gentoo-dev@gentoo.org mailing list