* 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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user