rpms/yum-presto/devel total-progress+stat-fixes.patch, 1.1, 1.2 yum-presto.spec, 1.13, 1.14

James Antill james at fedoraproject.org
Thu Apr 30 03:29:54 UTC 2009


Author: james

Update of /cvs/pkgs/rpms/yum-presto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1453

Modified Files:
	total-progress+stat-fixes.patch yum-presto.spec 
Log Message:
* Wed Apr 29 2009 James Antill <james at fedoraproject.org> - 0.4.5-7
- Fix total to not overflow into rebuild


total-progress+stat-fixes.patch:

Index: total-progress+stat-fixes.patch
===================================================================
RCS file: /cvs/pkgs/rpms/yum-presto/devel/total-progress+stat-fixes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- total-progress+stat-fixes.patch	28 Apr 2009 18:46:39 -0000	1.1
+++ total-progress+stat-fixes.patch	30 Apr 2009 03:29:23 -0000	1.2
@@ -408,3 +408,41 @@ index ee7af65..17502bb 100644
  
  complete_download_size = 0
  actual_download_size   = 0
+commit 02e2eaa5a0fc96e28c9f985b89e77e2bb413509f
+Author: James Antill <james at and.org>
+Date:   Wed Apr 29 23:20:15 2009 -0400
+
+    Turn off total download, when download is finished
+
+diff --git a/yum-presto/presto.py b/yum-presto/presto.py
+index 17502bb..0fedc3c 100644
+--- a/yum-presto/presto.py
++++ b/yum-presto/presto.py
+@@ -409,6 +409,8 @@ def downloadPkgs(conduit, presto, download_pkgs=None):
+             curthread.messages = ""
+         lock.release()
+         
++    if hasattr(urlgrabber.progress, 'text_meter_total_size'):
++        urlgrabber.progress.text_meter_total_size(0)
+     ptsz, pfsz, pfnm = _processing_data()
+     if cb and rebuild_size > (ptsz + pfsz):
+         conduit.info(2, "Finishing rebuild of rpms, from deltarpms")
+commit 5b6727644f5252b15cc269279871afe8f2b85352
+Author: James Antill <james at and.org>
+Date:   Wed Apr 29 23:23:50 2009 -0400
+
+    Change post delta download text, to tell the truth
+
+diff --git a/yum-presto/presto.py b/yum-presto/presto.py
+index 0fedc3c..c9807b6 100644
+--- a/yum-presto/presto.py
++++ b/yum-presto/presto.py
+@@ -568,7 +568,7 @@ def predownload_hook(conduit):
+     if not download_pkgs:
+         return
+     xpostreposetup_hook(conduit, repos)
+-    conduit.info(2, "Downloading DeltaRPMs:")
++    conduit.info(2, "Processing delta metadata")
+ 
+     download_pkgs.sort()
+     # Download deltarpms


Index: yum-presto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yum-presto/devel/yum-presto.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- yum-presto.spec	28 Apr 2009 18:46:39 -0000	1.13
+++ yum-presto.spec	30 Apr 2009 03:29:23 -0000	1.14
@@ -3,7 +3,7 @@
 Summary: Presto plugin for yum
 Name: yum-presto
 Version: 0.4.5
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv2+
 Group: Development/Tools
 Source: http://www.lesbg.com/jdieter/presto/%{name}-%{version}.tar.bz2
@@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/presto.conf
 
 %changelog
+* Wed Apr 29 2009 James Antill <james at fedoraproject.org> - 0.4.5-7
+- Fix total to not overflow into rebuild
+
 * Tue Apr 28 2009 James Antill <james at fedoraproject.org> - 0.4.5-6
 - Add total progress data to delta downloads
 - Fix stats. to account for the fact not everything has a delta




More information about the scm-commits mailing list