[yum-cvs] yum cli.py,1.174,1.175 shell.py,1.9,1.10
Seth Vidal
skvidal at login.linux.duke.edu
Sun Mar 27 09:22:18 UTC 2005
Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv15095
Modified Files:
cli.py shell.py
Log Message:
modify order of args for cli.doRepoSetup()
make todo list in shell.py
Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- cli.py 27 Mar 2005 08:46:28 -0000 1.174
+++ cli.py 27 Mar 2005 09:22:16 -0000 1.175
@@ -56,7 +56,7 @@
self.localPackages = [] # for local package handling - possibly needs
# to move to the lower level class
- def doRepoSetup(self, dosack=1, thisrepo=None):
+ def doRepoSetup(self, thisrepo=None, dosack=1):
"""grabs the repomd.xml for each enabled repository
and sets up the basics of the repository"""
Index: shell.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/shell.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- shell.py 27 Mar 2005 09:13:22 -0000 1.9
+++ shell.py 27 Mar 2005 09:22:16 -0000 1.10
@@ -18,6 +18,15 @@
import cmd
from yum import Errors
+# TODO: implement setconfig and getconfig - this should only expose a subset
+# of the configuration options. exposing all of them, especially the lists
+# would be a pain to parse and handle but the int, string and booleans
+# should be doable. Config only affects global config settings not
+# repo configuration.
+# one of the oft-requested lists will be 'exclude' - this should be its
+# own command, probably so we can set excludes. make it a space separated
+# list
+
class YumShell(cmd.Cmd):
def __init__(self, base):
cmd.Cmd.__init__(self)
More information about the Yum-cvs-commits
mailing list