Mailinglist Archive: zypp-devel (66 mails)

< Previous Next >
Re: [zypp-devel] How to add multiple baseurl=URIs to zypper repo from command line?
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Thu, 05 Feb 2009 09:57:47 +0100
  • Message-id: <498AAA0B.9030705@xxxxxxx>
PGNet wrote:
Does the multiple url stuff really works? I have never tested it, it has
never been an official feature.

I was thinking that we may enhance it by using Url::downloads() and skip
urls based on network status.

"really work". good question ...

well, i'd had a repeatedly failing repo this morning, and added a
second baseurl.

it then worked.

what i did NOT check, is whether it actually failed-over.

checking with,
...
so, it looks like the answer to your question is, "no".

and i've been just lucky :-/

Hi,

I can't see any possibility for multiple baseurl entries in .repo file
(or any other entry) in the documentation:
http://en.opensuse.org/Standards/RepoInfo

It seems you were lucky to add the "working" URL as the "last" one,
which indicates the .repo file parser in libzypp runs through the file
line by line and uses the last entry (guessing).

Bye
Lukas

--

Lukas Ocilka, YaST Developer (xn--luk-gla45d)
-----------------------------------------------------------------
Ano, ano. Moudry rozkaz. Sam jsem nemel v tech gratulacich jasno.

< Previous Next >