On Tue, Apr 15, Jan Engelhardt wrote:
On Tuesday 2008-04-15 21:12, Michael Matz wrote:
On Tue, 15 Apr 2008, Jan Engelhardt wrote:
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.
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. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org