Mailinglist Archive: zypp-devel (227 mails)

< Previous Next >
Re: [zypp-devel] [SoC-student] libzypp HTTP download failover
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Thu, 3 Apr 2008 16:19:13 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0804031558240.20583@xxxxxxxxxxxxx>
Hi,

On Thu, 3 Apr 2008, Dr. Peter Poeml wrote:

Yesterday, metalink support in the redirector became a reality.

*However*, while working with the metalink format it became clear to me
that is more desirable *for libzypp* to have a its own, text-only,
format.

This in order to avoid dependencies on a library parsing XML, and avoid
the work of parsing altogether. As indicated in an earlier mail, it is
totally appropriate and sufficient if libzypp just reads the first line
of the mirror list and follows that URL.

But if you say, libzypp has XML support anyway (I suppose it would have,
in order to be able to use repo-md repositories), metalink support is
(nearly) there.

libzypp does have XML support, but it uses libxml2, which is much larger
and much slower than libexpat. It's also a bit sad that it's linked to
that at all in the meantime, because it is only used for parsing the entry
file for repo-md repos (i.e. repomd.xml). None of the other files are
parsed by libzypp. And the XML store doesn't exist meanwhile anymore, so
also no need for XML on that front.


Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References