On Thu, Apr 17, 2008 at 07:07:45PM +0200, Jan Engelhardt wrote:
On Wednesday 2008-04-16 12:46, Michael Andres wrote:
While I also would have preferred lower numbers for lower priorities there's no wrong or right involved here. Both directions make sense, and it's a matter of taste what to prefer.
Right, and since people rather used smart than yum, it should really be the former's way.
The restriction [1..99] is artificial. The priority is stored in the .repo file. It was requested to support what YUM uses.
Internally the priority found in a .repo is mapped to [-99..-1] within the full integer range of possible priorities.
We could as well use some 'smartlikeprio=' instead of 'priority=' and allow the full range of priorities.
More like 'priority=' and 'yumpriority='.
The problem is that the .repo file is YUM syntax. It would be very confusing if everything else looks like yum, but the priority behaves different. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org