* 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):
|
class ConfigurePending(PackageOp):
|
||||||
"""configure pending packages"""
|
"""configure pending packages"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(Remove, self).__init__()
|
super(ConfigurePending, self).__init__()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
#if not self.args:
|
#if not self.args:
|
||||||
|
|||||||
@@ -172,6 +172,11 @@ def remove(A):
|
|||||||
|
|
||||||
return True # everything went OK :)
|
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):
|
def info(package_name):
|
||||||
from package import Package
|
from package import Package
|
||||||
|
|||||||
@@ -6,8 +6,13 @@ set -x -e
|
|||||||
pisi-cli build tests/zip/pspec.xml tests/unzip/pspec.xml
|
pisi-cli build tests/zip/pspec.xml tests/unzip/pspec.xml
|
||||||
pisi-cli index .
|
pisi-cli index .
|
||||||
pisi-cli add-repo repo1 pisi-index.xml
|
pisi-cli add-repo repo1 pisi-index.xml
|
||||||
|
pisi-cli list-repo
|
||||||
pisi-cli update-repo repo1
|
pisi-cli update-repo repo1
|
||||||
|
pisi-cli list-available
|
||||||
pisi-cli --ignore-comar install zip
|
pisi-cli --ignore-comar install zip
|
||||||
pisi-cli list-installed
|
pisi-cli list-installed
|
||||||
pisi-cli --ignore-comar remove unzip
|
pisi-cli --ignore-comar remove unzip
|
||||||
|
pisi-cli info zip*.pisi
|
||||||
pisi-cli --ignore-comar install zip*.pisi
|
pisi-cli --ignore-comar install zip*.pisi
|
||||||
|
pisi-cli list-pending
|
||||||
|
pisi-cli configure-pending
|
||||||
|
|||||||
Reference in New Issue
Block a user