[yum-commits] 2 commits - docs/yumdownloader.1 plugins/fs-snapshot

James Antill james at osuosl.org
Thu Mar 3 20:30:57 UTC 2011


 docs/yumdownloader.1               |    6 ++++++
 plugins/fs-snapshot/fs-snapshot.py |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit a505f4e19c89a50fe8731b4b11defe942dba0385
Author: James Antill <james at and.org>
Date:   Wed Mar 2 11:32:42 2011 -0500

    Add --archlist to yumdownload man page.

diff --git a/docs/yumdownloader.1 b/docs/yumdownloader.1
index 0484f30..a8a3b16 100644
--- a/docs/yumdownloader.1
+++ b/docs/yumdownloader.1
@@ -19,6 +19,12 @@ Instead of downloading RPMs, list the URLs that would be downloaded.
 When downloading RPMs, resolve dependencies and also download the required packages.
 .IP "\fB\-\-source\fP"
 Instead of downloading the binary RPMs, download the source RPMs.
+.IP "\fB\-\-archlist=ARCH1[,ARCH2...]\fP"
+Limit the query to packages of given architecture(s). Valid values are all
+architectures known to rpm/yum such as 'i386' and 'src' for
+source RPMS. Note that repoquery will now change yum's "arch" to the first
+value in the archlist. So "\-\-archlist=i386,i686" will change yum's canonical
+arch to i386, but allow packages of i386 and i686.
 .SH "ADDITIONAL OPTIONS"
 Yumdownloader inherits all other options from yum. See the yum(8) man page
 for more information
commit 1ccdd7c6783d7b81afe4c8f5cb605306225135e8
Author: James Antill <james at and.org>
Date:   Wed Mar 2 11:31:52 2011 -0500

    Fix YumPluginExit => PluginYumExit typo.

diff --git a/plugins/fs-snapshot/fs-snapshot.py b/plugins/fs-snapshot/fs-snapshot.py
index ef6f769..d0a39d8 100644
--- a/plugins/fs-snapshot/fs-snapshot.py
+++ b/plugins/fs-snapshot/fs-snapshot.py
@@ -27,7 +27,7 @@ newer version elsewhere and copy the new versions of the files back to your
 rolled-back snapshot.  You have been warned.
 """
 
-from yum.plugins import TYPE_CORE, YumPluginExit
+from yum.plugins import TYPE_CORE, PluginYumExit
 from yum.constants import *
 import os
 import time
@@ -43,7 +43,7 @@ dm_snapshot_merge_checked = 0
 dm_snapshot_merge_support = 0
 
 def _fail(msg):
-    raise YumPluginExit(msg)
+    raise PluginYumExit(msg)
 
 def kernel_supports_dm_snapshot_merge():
     # verify the kernel provides the 'snapshot-merge' DM target


More information about the Yum-commits mailing list