[yum-commits] 2 commits - plugins/changelog plugins/fastestmirror

James Antill james at osuosl.org
Mon Jan 26 22:07:36 UTC 2009


 plugins/changelog/changelog.py           |    4 ++--
 plugins/fastestmirror/fastestmirror.conf |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 7d77c40bc2853145de581824e4a919d65c7062b7
Author: James Antill <james at and.org>
Date:   Mon Jan 26 17:07:30 2009 -0500

    Sort packages in --changelog output

diff --git a/plugins/changelog/changelog.py b/plugins/changelog/changelog.py
index 1f22f04..4819b20 100644
--- a/plugins/changelog/changelog.py
+++ b/plugins/changelog/changelog.py
@@ -63,12 +63,12 @@ def show_changes(conduit, msg):
             srpms[name] = [tsmem.po]
 
     conduit.info(2, "\n%s\n" % msg)
-    for name in srpms.keys():
+    for name in sorted(srpms.keys()):
         rpms = []
         if origpkgs.has_key(name):
             for rpm in srpms[name]:
                 rpms.append("%s" % rpm)
-            conduit.info(2, ", ".join(rpms))
+            conduit.info(2, ", ".join(sorted(rpms)))
             for line in changelog_delta(srpms[name][0], origpkgs[name]):
                 conduit.info(2, "%s\n" % line)
 
commit b1ac72ac231ab5bbd7bed270e29d31429a4cecf9
Author: James Antill <james at and.org>
Date:   Mon Jan 26 17:07:20 2009 -0500

    Add "live documentation" about new always_print_best_host config.

diff --git a/plugins/fastestmirror/fastestmirror.conf b/plugins/fastestmirror/fastestmirror.conf
index 5504a7d..32ecec4 100644
--- a/plugins/fastestmirror/fastestmirror.conf
+++ b/plugins/fastestmirror/fastestmirror.conf
@@ -1,6 +1,7 @@
 [main]
 enabled=1
 verbose=0
+always_print_best_host = true
 socket_timeout=3
 hostfilepath=/var/cache/yum/timedhosts.txt
 maxhostfileage=10


More information about the Yum-commits mailing list