Mailinglist Archive: zypp-devel (227 mails)

< Previous Next >
Re: [zypp-devel] libzypp-4.6.1: Allow prioritizing repos.
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Tue, 15 Apr 2008 21:04:51 +0200 (CEST)
  • Message-id: <alpine.LNX.1.10.0804152054470.13202@xxxxxxxxxxxxxxxxxxxxxxxxx>

In http://lists.opensuse.org/zypp-devel/2008-03/msg00137.html you write:

Jan Kupec wrote:
Jan Engelhardt wrote:
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.

IMO 99 (least) is a safe default. You can always raise it, and if you
really have to, you can as well use values below 99 [100,]. That's not
yum conform, but our implementation will not hind you.

YUM:
[..]
to a repository entry, where /N/ is an integer number from 1 to 99. The
default priority for repositories is 99. The repositories with the
lowest priority number have the highest priority.
[..]

zypp implementing the yum way just leaves me speechless,
it is just WRONG.

Why limit the priority value to 1..99?

Why make it hard to figure out what's low and high?

smart did it the right way, where a higher (greater) number means
higher priority --- simple mnenomic.

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

< Previous Next >
Follow Ups