Mailinglist Archive: zypp-devel (92 mails)

< Previous Next >
Re: [zypp-devel] Deprecated Pattern::install_packages() ?
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Fri, 24 Aug 2007 14:27:56 +0200
  • Message-id: <46CECECC.6040902@xxxxxxx>
Stefan Schubert schrieb:
> The function is deprecated for anyone using the Pattern API.
> PatternContent is
>> allowed to do nasty things because it assumes anyone using PatternContent is 
>> a nasty application ;-), we should probably move that "mini-solver" to the 
>> zypp/ui directory.
>>
>>   
>>     
> It does not exists anymore in 10.3 cause none use it, or the use has no
> effect anymore.
>   
That is not true. It still does exists.

So we have two cases how we look onto patterns in the QT-UI:

Case 1:The user select a pattern ( do not select for installation/deletion):

On the right side packages will be shown which has to ANYTHING with that
pattern.
This is an information what COULD belong e.g. to a webserver pattern only.
For that case we are using the PatternContent mechanism. HuHA is that
correct  ?

Case 2:The user install a pattern:
The user wants to see which packages will be definetely installed. In
that case
we make a complete solverrun. The result is completely independent from
Case 1.
So, some packages of Case 1 can be installed or not and other packages
which are
not part of the selected patterns can be installed too ( due dependecies ).

So, Katerina which kind of view do you need ?

-- 
*******************************************************************************
Stefan Schubert
SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany
e-mail: schubi@xxxxxxx
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


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

< Previous Next >