[packagekit] simulate patch

Daniel Nicoletti dantti85-pk at yahoo.com.br
Mon Aug 24 09:29:07 PDT 2009


synced patch


----- Mensagem original ----
> De: Richard Hughes <hughsient at gmail.com>
> Para: Daniel Nicoletti <daniel_nic85 at yahoo.com.br>
> Cc: PackageKit users and developers list <packagekit at lists.freedesktop.org>
> Enviadas: Segunda-feira, 24 de Agosto de 2009 9:09:14
> Assunto: Re: [packagekit] simulate patch
> 
> 2009/8/21 Daniel Nicoletti :
> > Ok, here is the smaller one,
> 
> +/**
> + * pk_console_download_packages:
> + **/
> +static void
> +pk_console_print_simulate (const PkPackageList *list, gboolean print_versions)
> +{
> +    PkPackageList *list_installing;
> +    PkPackageList *list_updating;
> +    PkPackageList *list_removing;
> +    PkPackageList *list_reinstalling;
> +    PkPackageList *list_obsoleting;
> +    guint i;
> +    guint length;
> +    guint length_installing;
> +    guint length_updating;
> +    guint length_removing;
> +    guint length_reinstalling;
> +    guint length_obsoleting;
> +    const PkPackageObj *obj;
> +
> +    list_installing   = pk_package_list_new ();
> +    list_updating     = pk_package_list_new ();
> 
> I've re-written this in git master in a much simpler way -- I also
> don't think we need the explicit simulate-* methods in pkcon, and we
> should just wire up SimulateInstallPackages and SimulateUpdatePackages
> like we are using SimulateRemovePackages now.
> 
> If you want me to do this, just yell. Thanks.
> 
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simulate.patch
Type: text/x-diff
Size: 33433 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/packagekit/attachments/20090824/8124a2b2/attachment-0001.patch 


More information about the PackageKit mailing list