<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div class="Wj3C7c"><div><pre style="">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: <a href="https://bugs.launchpad.net/smart/+bug/244889" target="_blank">https://bugs.launchpad.net/smart/+bug/244889</a>
zypp .solv: <a href="https://bugs.launchpad.net/smart/+bug/251020" target="_blank">https://bugs.launchpad.net/smart/+bug/251020</a>
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
</pre></div></div></div></div>
</blockquote></div>So it comes down to the following three choices?<br><br><ol><li>Require YUM/Zypp</li><li>Don't support the new and possibly "standard more effecient repo styles"</li><li>Write another download parser</li>
</ol>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.<br>
<br>Grant<br>
</div>