[packagekit] Res: Features discussion/request KPackageKit

Daniel Nicoletti dantti85-pk at yahoo.com.br
Fri Nov 28 07:13:44 PST 2008


Thanks Thomas,
i'm very busy right now, i'm also
helping to finish the lasts bits of
polkit in kde so i guess all this itens
won't be ready so fast, Trever probably
will help these itens to be ready sooner.
But we'll try to put priority on them, if
you can give us a patch is also apreciate :D

Regards,
Daniel




________________________________
De: Thomas Goettlicher <thomas.goettlicher at suse.de>
Para: PackageKit users and developers list <packagekit at lists.freedesktop.org>
Cc: Stephan Binner <stbinner at suse.de>; Stephan Kulow <coolo at suse.de>; Will Stephenson <wstephenson at suse.de>
Enviadas: Sexta-feira, 28 de Novembro de 2008 8:23:09
Assunto: Re: [packagekit] Features discussion/request KPackageKit

Hi.

I want to send a summary of the discussion about possible KPackagekit
features (see below). Thanks to all contributors for their ideas.

Thomas




1. Warn and Add when No Update Repository is Defined
----------------------------------------------------
The frontend could shows a warning when no update repository exists and
gives the user a chance to add an update repository. 

The backends that can detect whether update repos are missing send a
warning if no update repo exists:

C: GetUpdates()
S: ::Warning(NO_UPDATE_REPOS_CONFIGURED, "no update repos are
configured")
S: ::Finished(SUCCESS)

The frontend shows a notification with a localized warning and a button
to add an update repo. A script 'pk-config-update-repo.sh' (similar to
'pk-upgrade-distro.sh') should add an update repo.



2. Manual Installation on Errors
--------------------------------
On errors KPackageKit should be able to call the distro specific
packagemanager as this can deal with complex scenarios like dependency
conflicts.



3. Distribution Upgrade
-----------------------
When the backend signalizes an available distro upgrade the frontend
calls pk-upgrade-distro.sh. This script needs to be extended for SUSE.



4. Send System Profile
----------------------
This isn't a feature for PackageKit. 



5. Postpone Operation when System isn't Ready
---------------------------------------------
When the system is busy, on battery or not connected to the network
checking for updates or installation of updates should wait until the
system is ready (or the user explicitly wants this operation). 

KDE provides:
Solid::Networking::status()
Solid::Battery::isPlugged()
Solid::PowerManagement::appShouldConserveResources()



6. Disable Auto Suspend while Operation 
---------------------------------------
While package installation power management auto suspend should be
disabled.

KDE provides:
Solid::PowerManagement::beginSuppressingSleep()
Solid::PowerManagement::stopSuppressingSleep()



7. Install Firmware and Drivers
-------------------------------
a) Search and install firmware that belongs to files
in /var/run/PackageKit/udev/*.
b) When Solid::DeviceNotifier signalizes an attached device, the
frontend asks using WhatProvides(drivers) for appropriate drivers.

Each backend has its own magic to find drivers and firmware.







-- 
Thomas Goettlicher
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

_______________________________________________
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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20081128/fc688bcc/attachment-0002.htm>


More information about the PackageKit mailing list