Alternative forms of metadata

Grant McWilliams grantmasterflash at gmail.com
Sat Jul 26 04:17:07 PDT 2008


>
> Other package managers have moved to more "efficient" forms of
> representing these, and there has been some requests that Smart
> should read the alternative forms instead of the regular XML:
>
> yum sqlite: https://bugs.launchpad.net/smart/+bug/244889
>
> zypp .solv: https://bugs.launchpad.net/smart/+bug/251020
>
>
> This is easiest done by importing the parsing library, like
> yum-metadata-parser or python-zypp, and calling upon either
> yum or zypp to read the file rather than writing yet another.
>
> --anders
>
>
>
>
> So it comes down to the following three choices?


   1. Require YUM/Zypp
   2. Don't support the new and possibly "standard more effecient repo
   styles"
   3. Write another download parser

I guess it comes down to how much time people have and what functionality we
actually need. Is there any way to cheat and include code from Yum/Zypp that
would allow Smart to sidestep needing a specialized download parser for
these new metadata types? Sounds messy though.

Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20080726/5d5c8a4a/attachment-0003.htm>


More information about the Smart mailing list