2007-08-20 10:19:09 -07:00
|
|
|
Order of no particular importance:
|
|
|
|
|
2007-10-14 10:22:25 -07:00
|
|
|
*** Make the daemon aware on how long between updates ***
|
|
|
|
Requires writing to a database for config stuff
|
|
|
|
- Probably should move the job number stuff there too
|
|
|
|
New method GetHoursSinceLastUpdate
|
|
|
|
Use this in the update icon
|
|
|
|
|
2007-09-30 06:23:18 -07:00
|
|
|
*** Add new callback for status ***
|
|
|
|
TimeRemaining()
|
|
|
|
|
2007-09-27 11:48:53 -07:00
|
|
|
*** Prepare download to refresh system ***
|
|
|
|
Either use a flag or a new method. I'm not sure which yet.
|
|
|
|
|
2007-09-07 10:09:40 -07:00
|
|
|
*** Add a way to import GPG keys ***
|
|
|
|
In fedora, if you add a signed repo you have to agree to the GPG key.
|
|
|
|
|
|
|
|
*** Split up PolicyKit install into different types ***
|
|
|
|
Have different permissions for signed and unsigned repos.
|
|
|
|
|
|
|
|
*** Handle rollbacks for select backends ***
|
|
|
|
To do rollbacks sanely in PK we need a few things:
|
2007-09-27 11:48:53 -07:00
|
|
|
* allow transaction data to be changed in _db
|
2007-08-24 15:45:55 -07:00
|
|
|
|
2007-10-16 10:42:39 -07:00
|
|
|
*** Use resolve for pkcon operations ***
|
|
|
|
'pkcon install zsh' should work as well as 'pkcon install "zsh;1.0;i386;repo"'
|
2007-10-18 11:02:53 -07:00
|
|
|
def command_resolve(package, filter_enum)
|
|
|
|
ret=client_resolve (package, filter)
|
|
|
|
if ret wait()
|
|
|
|
length=get_length
|
|
|
|
if length == 1 return get_item(client, 0)
|
|
|
|
else
|
|
|
|
print matched too many, quit
|
|
|
|
for each length
|
|
|
|
print get_item(client, 1)
|
|
|
|
|
|
|
|
case: INSTALL
|
|
|
|
if not a valid package_id then
|
|
|
|
pacakge=command_resolve(package, ENUM_AVAILABLE);
|
|
|
|
if (package== NULL) {
|
|
|
|
error
|
|
|
|
}
|
|
|
|
|
|
|
|
*** Unit tests ***
|
|
|
|
PkSpawn is a complex and untested bit of code.
|
|
|
|
|
2007-10-18 16:17:23 -07:00
|
|
|
*** PkSpawn enum return value ***
|
|
|
|
pk_test_finished_cb (PkSpawn *spawn, gint exitcode, gpointer data)
|
|
|
|
- exitcode is undefined - make an enum
|
|
|
|
PK_SPAWN_EXIT_SUCCESS
|
|
|
|
PK_SPAWN_EXIT_FAILED
|
|
|
|
PK_SPAWN_EXIT_KILLED
|
|
|
|
|
|
|
|
*** backend docbook ***
|
|
|
|
Explain SIGQUIT and SIGKILL in the docs
|
2007-10-16 11:12:32 -07:00
|
|
|
|