SOURCES: yumex-obsoletes.patch - do not perform full obsoletion by...

patrys patrys at pld-linux.org
Wed May 30 11:37:37 CEST 2007


Author: patrys                       Date: Wed May 30 09:37:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not perform full obsoletion by default

---- Files affected:
SOURCES:
   yumex-obsoletes.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/yumex-obsoletes.patch
diff -u SOURCES/yumex-obsoletes.patch:1.2 SOURCES/yumex-obsoletes.patch:1.3
--- SOURCES/yumex-obsoletes.patch:1.2	Mon May 28 15:51:15 2007
+++ SOURCES/yumex-obsoletes.patch	Wed May 30 11:37:31 2007
@@ -1,5 +1,5 @@
---- yumex-1.9.6/src/packages.py~       2007-03-20 13:00:23.000000000 +0100
-+++ yumex-1.9.6/src/packages.py        2007-05-28 11:10:45.761489850 +0200
+--- yumex-1.9.6/src/packages.py~	2007-03-20 13:00:23.000000000 +0100
++++ yumex-1.9.6/src/packages.py	2007-05-28 11:10:45.761489850 +0200
 @@ -172,6 +172,7 @@
                      yp.action = 'i'
                      yield yp
@@ -8,3 +8,18 @@
              obsoletes = self.up.getObsoletesTuples( newest=1 )
              for ( obsoleting, installed ) in obsoletes:
                  obsoleting_pkg = self.getPackageObject( obsoleting )
+--- yumex-1.9.6/src/yumapi.py~	2007-05-30 11:17:44.000000000 +0200
++++ yumex-1.9.6/src/yumapi.py	2007-05-30 11:26:21.570229473 +0200
+@@ -165,7 +165,7 @@
+                 tx = self.update()
+             else:
+                 self.yumex_logger.info( _( "--> Preparing for a partial update" ) )
+-                #if self.settings.fullobsoletion:
+-                self.yumex_logger.info( _( "--> Adding all obsoletion to transaction" ) )
+-                self._doFullObsoletion()
++                if self.settings.fullobsoletion:
++                    self.yumex_logger.info( _( "--> Adding all obsoletion to transaction" ) )
++                    self._doFullObsoletion()
+                 for po in pkgs['u']:
+                    tx = self.update( po.pkg )
+                    print tx
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/yumex-obsoletes.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list