Mailinglist Archive: zypp-devel (227 mails)
| < Previous | Next > |
Re: [zypp-devel] libzypp-4.6.1: Allow prioritizing repos.
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Fri, 18 Apr 2008 10:24:25 +0200
- Message-id: <20080418082424.GE27784@xxxxxxx>
On Thu, Apr 17, 2008 at 07:07:45PM +0200, Jan Engelhardt wrote:
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |