r11570 - in /packages/unstable/update-manager/debian: changelog patches/04_mark_keep_in_group.diff

kov at users.alioth.debian.org kov at users.alioth.debian.org
Mon Jun 18 19:07:50 UTC 2007


Author: kov
Date: Mon Jun 18 19:07:50 2007
New Revision: 11570

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11570
Log:
make markings in group while starting, so that it is not
hugely slow

Added:
    packages/unstable/update-manager/debian/patches/04_mark_keep_in_group.diff
Modified:
    packages/unstable/update-manager/debian/changelog

Modified: packages/unstable/update-manager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/update-manager/debian/changelog?rev=11570&op=diff
==============================================================================
--- packages/unstable/update-manager/debian/changelog (original)
+++ packages/unstable/update-manager/debian/changelog Mon Jun 18 19:07:50 2007
@@ -1,3 +1,11 @@
+update-manager (0.42.2ubuntu22-13) unstable; urgency=low
+
+  * debian/patches/:
+  - fix problem with huge slowness in startup, thanks to
+    Matt Karai for the patch (Closes: #428897)
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Mon, 18 Jun 2007 19:57:04 +0100
+
 update-manager (0.42.2ubuntu22-12) unstable; urgency=low
 
   [ Loic Minier ]

Added: packages/unstable/update-manager/debian/patches/04_mark_keep_in_group.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/update-manager/debian/patches/04_mark_keep_in_group.diff?rev=11570&op=file
==============================================================================
--- packages/unstable/update-manager/debian/patches/04_mark_keep_in_group.diff (added)
+++ packages/unstable/update-manager/debian/patches/04_mark_keep_in_group.diff Mon Jun 18 19:07:50 2007
@@ -1,0 +1,18 @@
+diff -ru update-manager-0.42.2ubuntu22-old/UpdateManager/UpdateManager.py update-manager-0.42.2ubuntu22/UpdateManager/UpdateManager.py
+--- update-manager-0.42.2ubuntu22-old/UpdateManager/UpdateManager.py	2006-05-24 08:14:21.000000000 -0700
++++ update-manager-0.42.2ubuntu22/UpdateManager/UpdateManager.py	2007-06-16 10:55:18.000000000 -0700
+@@ -83,8 +83,12 @@
+         assert self._depcache.BrokenCount == 0 and self._depcache.DelCount == 0
+         self.all_changes = {}
+     def clean(self):
+-        for pkg in self:
+-            pkg.markKeep()
++        action_group = apt_pkg.GetPkgActionGroup(self._depcache)
++        try:
++            for pkg in self:
++                pkg.markKeep()
++        finally:
++            action_group.release()
+     def saveDistUpgrade(self):
+         """ this functions mimics a upgrade but will never remove anything """
+         self._depcache.Upgrade(True)




More information about the pkg-gnome-commits mailing list