[yum-cvs] yum-utils package-cleanup.py, 1.13, 1.13.2.1 repoquery.py, 1.41, 1.41.2.1 repoclosure.py, 1.15, 1.15.2.1 yumdownloader.py, 1.17, 1.17.2.1 repo-rss.py, 1.4.2.2, 1.4.2.3 repotrack.py, 1.11, 1.11.2.1 reposync.py, 1.12, 1.12.2.1 repo-graph.py, 1.3, 1.3.2.1
Tim Lauridsen
timlau at linux.duke.edu
Tue Mar 20 07:57:18 UTC 2007
Update of /home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv12839
Modified Files:
Tag: yum-utils-1_0_X
package-cleanup.py repoquery.py repoclosure.py
yumdownloader.py repo-rss.py repotrack.py reposync.py
repo-graph.py
Log Message:
Made the utils work with plugins, else they wont work with RHEL5, where the repos is set by a plugin.
Index: package-cleanup.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/package-cleanup.py,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -r1.13 -r1.13.2.1
--- package-cleanup.py 7 Nov 2006 06:20:07 -0000 1.13
+++ package-cleanup.py 20 Mar 2007 07:57:16 -0000 1.13.2.1
@@ -37,7 +37,7 @@
def initYum(opts):
my = yum.YumBase()
- my.doConfigSetup(opts.conffile,init_plugins=False)
+ my.doConfigSetup(opts.conffile,init_plugins=True)
if opts.orphans:
my.doRepoSetup()
else:
Index: repoquery.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repoquery.py,v
retrieving revision 1.41
retrieving revision 1.41.2.1
diff -u -r1.41 -r1.41.2.1
--- repoquery.py 11 Jan 2007 17:13:52 -0000 1.41
+++ repoquery.py 20 Mar 2007 07:57:16 -0000 1.41.2.1
@@ -635,7 +635,7 @@
pkgops.append("queryformat")
repoq = YumBaseQuery(pkgops, sackops, opts)
- repoq.doConfigSetup(fn=opts.conffile, init_plugins=False)
+ repoq.doConfigSetup(fn=opts.conffile, init_plugins=True)
if os.geteuid() != 0 or opts.tempcache:
cachedir = misc.getCacheDir()
Index: repoclosure.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repoclosure.py,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -r1.15 -r1.15.2.1
--- repoclosure.py 5 Feb 2007 13:46:27 -0000 1.15
+++ repoclosure.py 20 Mar 2007 07:57:16 -0000 1.15.2.1
@@ -59,7 +59,7 @@
self.logger = logging.getLogger("yum.verbose.repoclosure")
self.arch = arch
self.builddeps = builddeps
- self.doConfigSetup(fn = config,init_plugins=False)
+ self.doConfigSetup(fn = config,init_plugins=True)
if hasattr(self.repos, 'sqlite'):
self.repos.sqlite = False
self.repos._selectSackType()
Index: yumdownloader.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/yumdownloader.py,v
retrieving revision 1.17
retrieving revision 1.17.2.1
diff -u -r1.17 -r1.17.2.1
--- yumdownloader.py 25 Jan 2007 18:31:15 -0000 1.17
+++ yumdownloader.py 20 Mar 2007 07:57:16 -0000 1.17.2.1
@@ -34,7 +34,7 @@
def initYum(yumconfigfile):
global logger
my = yum.YumBase()
- my.doConfigSetup(fn=yumconfigfile,init_plugins=False) # init yum, without plugins
+ my.doConfigSetup(fn=yumconfigfile,init_plugins=True) # init yum, without plugins
my.conf.uid = os.geteuid()
if my.conf.uid != 0:
cachedir = getCacheDir()
Index: repo-rss.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repo-rss.py,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -u -r1.4.2.2 -r1.4.2.3
--- repo-rss.py 14 Feb 2007 14:32:23 -0000 1.4.2.2
+++ repo-rss.py 20 Mar 2007 07:57:16 -0000 1.4.2.3
@@ -182,7 +182,7 @@
days = options.days
repoids = args
my = YumQuiet()
- my.doConfigSetup(init_plugins=False)
+ my.doConfigSetup(init_plugins=True)
if os.geteuid() != 0 or options.tempcache:
cachedir = getCacheDir()
if cachedir is None:
Index: repotrack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repotrack.py,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -r1.11 -r1.11.2.1
--- repotrack.py 25 Oct 2006 05:27:15 -0000 1.11
+++ repotrack.py 20 Mar 2007 07:57:16 -0000 1.11.2.1
@@ -128,7 +128,7 @@
sys.exit(1)
my = RepoTrack(opts=opts)
- my.doConfigSetup(fn=opts.config,init_plugins=False) # init yum, without plugins
+ my.doConfigSetup(fn=opts.config,init_plugins=True) # init yum
# do the happy tmpdir thing if we're not root
if os.geteuid() != 0 or opts.tempcache:
Index: reposync.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/reposync.py,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -r1.12 -r1.12.2.1
--- reposync.py 25 Oct 2006 05:27:15 -0000 1.12
+++ reposync.py 20 Mar 2007 07:57:16 -0000 1.12.2.1
@@ -111,7 +111,7 @@
sys.exit(1)
my = RepoSync(opts=opts)
- my.doConfigSetup(fn=opts.config, init_plugins=False)
+ my.doConfigSetup(fn=opts.config, init_plugins=True)
# do the happy tmpdir thing if we're not root
if os.geteuid() != 0 or opts.tempcache:
Index: repo-graph.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repo-graph.py,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- repo-graph.py 25 Sep 2006 06:56:11 -0000 1.3
+++ repo-graph.py 20 Mar 2007 07:57:16 -0000 1.3.2.1
@@ -104,7 +104,7 @@
(opts, args) = parser.parse_args()
my = yumQuiet()
- my.doConfigSetup(opts.conffile, init_plugins=False)
+ my.doConfigSetup(opts.conffile, init_plugins=True)
cachedir = getCacheDir()
my.repos.setCacheDir(cachedir)
More information about the Yum-cvs-commits
mailing list