Mailinglist Archive: zypp-devel (70 mails)

< Previous Next >
Re: [zypp-devel] Re: [zypp-commit] r7719 - /trunk/sat-solver/src/DISCUSS
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Wed, 31 Oct 2007 12:52:34 +0100
  • Message-id: <20071031115234.GA7076@xxxxxxx>
On Wed, Oct 31, Klaus Kaempf wrote:

* Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx> [Oct 31. 2007 10:51]:
Solver algorithms:
------------------

- the solver allows arch changes from/to noarch without complaining.
good or bad?

good question. noarch is supposed to work, but I am not sure if this
usecase
really happens often. I can imagine a java package getting rid of some
native
extension, in this case the noarch package wll be the enhanced one by the
package maintainer.

I'm sorry to give the usual answer (;-)): Its a policy

Opensuse customer will most probably not care at all, server admins _do_
care about _any_ package change.


- vendow changes are allowed from unknown to known. libzypp doesn't
allow that. Feature?

There are not known vendors, there are vendor changes, and current libzypp
behaviour is not select a different vendor in a upgrade as candidate,
unless
it s a explicit user transaction.

Any change in vendor must be checked imho. The check should allow to
set up 'equivalence classes' though.

Vendor handling is similar to repository handling, regarding
preference. If an admin sets up a local repository, packages from this
repository should be preferred regardless of the vendor (or arch, or
whatever).

Yes, but we don't want to adapt the solver each time we find some new rule
how to rate and order the candidates.

So the solver can support a set of reasonable default policies, but it
must be possible to pass each one-out-of-many decision to the application.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups