diff options
author | Richard Hughes <richard@hughsie.com> | 2007-10-19 15:58:47 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2007-10-19 15:58:47 +0100 |
commit | 51e512d8a4c53a38b054500f40a44301490a5dde (patch) | |
tree | 7c8a33c1592ea342ede871f4ee9ded2d812b551d /TODO | |
parent | 6d223e24ab3e0f72de956432ca16a8fd5cadf7c0 (diff) |
add pkcon install foo capability, where foo is a package_id or something else that is resolved
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -22,25 +22,3 @@ Have different permissions for signed and unsigned repos. To do rollbacks sanely in PK we need a few things: * allow transaction data to be changed in _db -*** Use resolve for pkcon operations *** -'pkcon install zsh' should work as well as 'pkcon install "zsh;1.0;i386;repo"' - ---- RELEASE BLOCKER --- - -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 - } - |