Mailinglist Archive: zypp-devel (148 mails)

< Previous Next >
Re: [zypp-devel] [SoC-student] libzypp HTTP download failover
  • From: Jan Kupec <jkupec@xxxxxxx>
  • Date: Fri, 28 Mar 2008 18:26:59 +0100
  • Message-id: <47ED2A63.6060007@xxxxxxx>
Hi,

Gerard Farràs i Ballabriga wrote:
Hello :-)

My name is Gerard Farràs, I am a graduate student in Computer Science
at the UOC [1], in Barcelona, and I am interested, within the
framework of the Google Summer code [2] in developing the project
"Concept for libzypp doing failover when downloading packages from
download.opensuse.org "[3].

Thanx for the interest!

The project proposal is interesting, but IMO can't be implemented as
proposed now. It needs to be discussed.

Just a quick thought. Two things that cross my mind are:
1) the idea of downloading & parsing a mirror list for each file doesn't
sound appealing to me.
- downloading a mirror list for files as small as $repo/media.1/media
is pointless
- it would be fine if the fetching of the mirror list happens only in
case of error, BUT this is also not easy - an error can occur
outside of the media back-end at various places (e.g. checksum
failure is something which is handled outside of the media back-end
- in the Fetcher)
2) the feature is specific to downloads.opensuse.org (for now)
- we would need to hardcode a is_download_opensuse_org condition to
avoid useless requests for other URLs (or introduce a mechanism to
query for availability of such capability and check that when
starting zypp). This would not apply if the mirror list would be
requested and processed only on errors.

There may be other issues, too. Opinions?

Moreover, I have already begun installing the development environment
and doing a look at the code: Is this list the most appropriate for
the doubts that arise me?

Yes, you're in the right place. Feel free to ask.

Cheers,

jano

Thank you!

[1] http://www.uoc.edu
[2] http://code.google.com/soc/2008/
[3] http://en.opensuse.org/Libzypp/Failover

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

< Previous Next >