[yum-cvs] yum/yum config.py,1.124,1.125

Seth Vidal skvidal at linux.duke.edu
Thu Jul 5 14:05:02 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv13392/yum

Modified Files:
	config.py 
Log Message:
as a result of the depsolving bugs we've been seeing I added in a temporary
ts.check() debug option. If you're running yum from the cli and you set
rpm_check_debug=True in your yum.conf then it will run an rpm ts.check()
before it runs the transaction test. If it finds any problems it will bail
out. This might help us find bogus depsolving.



Index: config.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/config.py,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- config.py	4 Jul 2007 21:39:36 -0000	1.124
+++ config.py	5 Jul 2007 14:05:00 -0000	1.125
@@ -521,6 +521,7 @@
     http_caching = SelectionOption('all', ('none', 'packages', 'all'))
     metadata_expire = IntOption(1800)   # time in seconds
     mirrorlist_expire = IntOption(86400) # time in seconds (1 day)
+    rpm_check_debug = BoolOption(False)
     
     _reposlist = []
 
@@ -553,7 +554,7 @@
     http_caching = Inherit(YumConf.http_caching)
     metadata_expire = Inherit(YumConf.metadata_expire)
     mirrorlist_expire = Inherit(YumConf.mirrorlist_expire)
-    
+
 def readStartupConfig(configfile, root):
     '''
     Parse Yum's main configuration file and return a StartupConf instance.




More information about the Yum-cvs-commits mailing list