[yum-cvs] yum cli.py,1.253,1.254 yum-updatesd.py,1.35,1.36

Seth Vidal skvidal at linux.duke.edu
Wed Feb 14 20:41:38 UTC 2007


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

Modified Files:
	cli.py yum-updatesd.py 
Log Message:
remove the need for .hdr files for the transaction run.
- add 'noheaders' option to DepSolve.populateTs(). Defaults to False for
  backward api compat. When True it will not attempt to retrieve the .hdr
  via byteranges but will read it out of the rpm

add 


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -r1.253 -r1.254
--- cli.py	7 Feb 2007 06:05:34 -0000	1.253
+++ cli.py	14 Feb 2007 20:41:36 -0000	1.254
@@ -326,7 +326,7 @@
         # save our dsCallback out
         dscb = self.dsCallback
         self.dsCallback = None # dumb, dumb dumb dumb!
-        self.populateTs(keepold=0) # sigh
+        self.populateTs(keepold=0, noheaders=True) # sigh
         tserrors = self.ts.test(testcb, conf=tsConf)
         del testcb
         
@@ -347,7 +347,7 @@
         signal.signal(signal.SIGQUIT, signal.SIG_DFL)
         
         self.initActionTs() # make a new, blank ts to populate
-        self.populateTs(keepold=0) # populate the ts
+        self.populateTs(keepold=0, noheaders=True) # populate the ts
         self.ts.check() #required for ordering
         self.ts.order() # order
 

Index: yum-updatesd.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum-updatesd.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- yum-updatesd.py	3 Feb 2007 16:05:20 -0000	1.35
+++ yum-updatesd.py	14 Feb 2007 20:41:36 -0000	1.36
@@ -298,7 +298,7 @@
 
         del self.updd.ts
         self.updd.initActionTs() # make a new, blank ts to populate
-        self.updd.populateTs(keepold=0)
+        self.updd.populateTs(keepold=0, noheaders=True)
         self.updd.ts.check() #required for ordering
         self.updd.ts.order() # order
         cb = callback.RPMInstallCallback(output = 0)




More information about the Yum-cvs-commits mailing list