* beta-light'i zenginlestir, daha cok CLI kullan

* configure-pending'in command'i, bir de toplevel'a bos fonksiyon koy
This commit is contained in:
Eray Özkural
2005-08-08 22:59:10 +00:00
parent 16b283d1cb
commit 98b82062bc
3 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -232,8 +232,9 @@ Remove a package from your system. Just give the package name to remove.
class ConfigurePending(PackageOp):
"""configure pending packages"""
def __init__(self):
super(Remove, self).__init__()
super(ConfigurePending, self).__init__()
def run(self):
#if not self.args:
+5
View File
@@ -172,6 +172,11 @@ def remove(A):
return True # everything went OK :)
def configure_pending():
# TODO: not coded yet
# start with pending packages
# configure them in reverse topological order of configuration dependency
pass
def info(package_name):
from package import Package
+5
View File
@@ -6,8 +6,13 @@ set -x -e
pisi-cli build tests/zip/pspec.xml tests/unzip/pspec.xml
pisi-cli index .
pisi-cli add-repo repo1 pisi-index.xml
pisi-cli list-repo
pisi-cli update-repo repo1
pisi-cli list-available
pisi-cli --ignore-comar install zip
pisi-cli list-installed
pisi-cli --ignore-comar remove unzip
pisi-cli info zip*.pisi
pisi-cli --ignore-comar install zip*.pisi
pisi-cli list-pending
pisi-cli configure-pending