Mailinglist Archive: zypp-devel (148 mails)

< Previous Next >
Re: [zypp-devel] libzypp-4.6.1: Allow prioritizing repos.
  • From: Jano Kupec <jkupec@xxxxxxx>
  • Date: Sun, 30 Mar 2008 23:45:59 +0200
  • Message-id: <47F00A17.3030302@xxxxxxx>
Jano Kupec wrote:
Michael Andres wrote:
JFYI: libzypp-4.6.1 now supports repo priorities.

/etc/zypp/repos.d
-----------------
Allow prioritizing repos (yum-priorities) by adding a line

priority=N

to the .repo file. Where N is an integer number from 1 (highest prio)
to 99 (least and default).

(In reply to comment #4 from Lars Vogdt)
> Wouldn't this make things more complicated if a user wants to "downrate" an
> existing repo instead of "uprating" all others?

sure

> I would suggest to use a default value of 50 ... :-)

I like this idea, can't we make it so?

(https://bugzilla.novell.com/show_bug.cgi?id=369827#c9 from Jan Engelhardt)
If you default to 50, you only have 50 possible repositories below it if an
unsigned integer is used. And if you use a signed integer, just default to 0
like smart — which is what most suse users that do not use yast/zypper use
— does.

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

< Previous Next >
Follow Ups