[packagekit] Removing UpdateSystem()
Duncan Mac-Vicar P.
dmacvicar at suse.de
Wed Aug 1 01:45:03 PDT 2012
On 07/02/2012 04:19 PM, Richard Hughes wrote:
> Hey all,
>
> I was talking to Daniel last week and we started talking about
> removing UpdateSystem() from the API. The basic questions are:
>
> * do we ever want to treat GetUpdates()->UpdatePackages() any
> differently to UpdateSystem()
> * do we ever now want to do GetUpdates before updating the system?
> i.e. "I just don't care, JFDI"
>
> If you've got a valid use case of UpdateSystem -- then please explain.
> Otherwise I'll probably remove it from the API this week. Thanks.
Not sure, but in ZYpp UpdateSystem() maps to "zypper up" which is
"upgrade all packages without uninstalling anything", which is a softer
version of "zypper dup" (distribution upgrade).
Now, with UdpatePackages, one can select which packages get updated, and
this is more fragile than zypper up.
--
Duncan Mac-Vicar P. - http://www.suse.com/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
More information about the PackageKit
mailing list