Mailinglist Archive: zypp-devel (92 mails)

< Previous Next >
Re: [zypp-devel] Deprecated Pattern::install_packages() ?
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Fri, 24 Aug 2007 14:32:47 +0200
  • Message-id: <200708241432.47281.visnov@xxxxxxx>
Dňa Friday 24 August 2007 14:27:56 Stefan Schubert ste napísal:
> 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 ).

There is Case 3: pattern is autoselected, user wants to check what does it 
mean.

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

< Previous Next >