diff options
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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... + |