summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-10-18 19:02:53 +0100
committerRichard Hughes <richard@hughsie.com>2007-10-18 19:02:53 +0100
commitba18968994f1e87496c4cb20e536c4d44a137664 (patch)
tree4dd57f888f668390f75790270f9389b5628f8cd4 /TODO
parent1e745db08e341f17c2758eccb2c1d32213902fae (diff)
add some items to the todo
Diffstat (limited to 'TODO')
-rw-r--r--TODO23
1 files changed, 23 insertions, 0 deletions
diff --git a/TODO b/TODO
index 6068743d..9b4ca02c 100644
--- a/TODO
+++ b/TODO
@@ -24,4 +24,27 @@ To do rollbacks sanely in PK we need a few things:
*** Use resolve for pkcon operations ***
'pkcon install zsh' should work as well as 'pkcon install "zsh;1.0;i386;repo"'
+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.
+
+*** Send SIGQUIT ***
+Do SIGKILL only if SIGQUIT didn't work...
+