[yum-cvs] yum output.py, 1.46, 1.47 yum-daily.spec, 1.15, 1.16 yum.spec, 1.49, 1.50

Gijs Hollestelle gijs at login.linux.duke.edu
Fri Feb 25 19:30:25 UTC 2005


Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv15277

Modified Files:
	output.py yum-daily.spec yum.spec 
Log Message:
Adding the sqlite stuff to yum HEAD.
Note that currently package excludes are non-functional and there are a number
of outstanding TODOs.



Index: output.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/output.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- output.py	24 Feb 2005 08:25:35 -0000	1.46
+++ output.py	25 Feb 2005 19:30:23 -0000	1.47
@@ -208,6 +208,11 @@
         # build up changelog
         changelog = ''
         cnt = 0
+        # For sqlite caches not all changelogs are loaded automaticly
+        # If there is no changelog and there is a function loadChangelog
+        # call it, to load the changelog
+        if (pkg.changelog == None) and (hasattr(pkg,'loadChangelog')):
+            pkg.loadChangelog()
         for e in pkg.changelog:
             cnt += 1
             if cnt > 3: 

Index: yum-daily.spec
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum-daily.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- yum-daily.spec	25 Feb 2005 07:17:16 -0000	1.15
+++ yum-daily.spec	25 Feb 2005 19:30:23 -0000	1.16
@@ -14,7 +14,7 @@
 BuildRequires: python
 BuildRequires: gettext
 Obsoletes: yum-phoebe
-Requires: python, rpm-python, rpm >= 0:4.1.1, libxml2-python
+Requires: python, rpm-python, rpm >= 0:4.1.1, libxml2-python, python-sqlite
 Prereq: /sbin/chkconfig, /sbin/service
 
 %description
@@ -74,6 +74,9 @@
 %{_mandir}/man*/*
 
 %changelog
+* Fri Feb 25 2005 Gijs Hollestelle <gijs at gewis.nl>
+- Require python-sqlite
+
 * Mon Feb 21 2005 Seth Vidal <skvidal at phy.duke.edu>
 -  new devel branch - things will break - people will die!
 

Index: yum.spec
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- yum.spec	25 Feb 2005 07:17:16 -0000	1.49
+++ yum.spec	25 Feb 2005 19:30:23 -0000	1.50
@@ -13,7 +13,7 @@
 BuildRequires: python
 BuildRequires: gettext
 Obsoletes: yum-phoebe
-Requires: python, rpm-python, rpm >= 0:4.1.1, libxml2-python
+Requires: python, rpm-python, rpm >= 0:4.1.1, libxml2-python, python-sqlite
 Prereq: /sbin/chkconfig, /sbin/service, coreutils
 
 %description
@@ -73,6 +73,9 @@
 %{_mandir}/man*/*
 
 %changelog
+* Fri Feb 25 2005 Gijs Hollestelle <gijs at gewis.nl>
+- Require python-sqlite
+
 * Fri Feb 25 2005 Seth Vidal <skvidal at phy.duke.edu>
 - add yum.cron to weekly to clean packages
 




More information about the Yum-cvs-commits mailing list