public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Treewide metadata.xml
@ 2005-05-27 10:38 Danny van Dyk
  2005-05-27 10:41 ` Michael Hanselmann
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Danny van Dyk @ 2005-05-27 10:38 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi @ all,

I'd like to have some feedback on an idea that stuck to my mind for some
time already:

Currently, we (should) have one metadata.xml file per package (8635 in
the whole tree). This is quite handy if you want to look up information
about a package you know by name.

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.

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.

TIA for any feedback on this!

PS: Ciaran: Leave me alive please ;-)
PPS: Yes, I'd volounteer to write that compilation script.

Danny
- --
Danny van Dyk <kugelfang@gentoo.org>
Gentoo/AMD64 Project, Gentoo Scientific Project
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFClviVaVNL8NrtU6IRAs8zAJ0UIS5jnBT+V+w6P+403ebW0TE15gCfTIsJ
4GWNpxCkRgQrbPrpEHtzLBE=
=Ul1J
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-05-28  2:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27 10:38 [gentoo-dev] [RFC] Treewide metadata.xml Danny van Dyk
2005-05-27 10:41 ` Michael Hanselmann
2005-05-27 11:01 ` Simon Stelling
2005-05-27 11:28   ` Brian Harring
2005-05-27 11:47     ` Danny van Dyk
2005-05-27 11:52       ` Ciaran McCreesh
2005-05-27 12:21       ` Brian Harring
2005-05-27 15:51     ` Simon Stelling
2005-05-28  2:08       ` James Northrup
2005-05-27 12:08   ` Paul de Vrieze
2005-05-27 11:05 ` Paul de Vrieze
2005-05-27 11:17   ` Danny van Dyk
2005-05-27 12:06     ` Paul de Vrieze
2005-05-27 11:33 ` Aaron Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox