[yum-commits] 2 commits - docs/Makefile docs/show-changed-rco.1 show-changed-rco.py yum-builddep.py yum-utils.spec
James Antill
james at osuosl.org
Wed Mar 30 16:47:59 UTC 2011
docs/Makefile | 3 +-
docs/show-changed-rco.1 | 67 ++++++++++++++++++++++++++++++++++++++++++++++++
show-changed-rco.py | 16 +++++++++++
yum-builddep.py | 2 -
yum-utils.spec | 2 +
5 files changed, 88 insertions(+), 2 deletions(-)
New commits:
commit 3cf5c1b192407292a9d594d407b9971abc01dfa7
Author: James Antill <james at and.org>
Date: Wed Mar 30 12:47:31 2011 -0400
Obey .conf.localpkg_gpgcheck in builddep.
diff --git a/yum-builddep.py b/yum-builddep.py
index 02db3b0..7c9e82d 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -73,7 +73,7 @@ class YumBuildDep(YumUtilBase):
# turn of our local gpg checking for opening the srpm if it is turned
# off for repos :)
- if opts.nogpgcheck:
+ if opts.nogpgcheck or not self.conf.localpkg_gpgcheck:
self.ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
# Check if there is anything to do.
commit ab1c912a5f430544787447fb5cb8c4434b5f7001
Author: James Antill <james at and.org>
Date: Wed Mar 30 12:26:24 2011 -0400
Add COPYRIGHT info. and docs for show-changed-rco.
diff --git a/docs/Makefile b/docs/Makefile
index 947498d..d01c1e4 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,6 +1,7 @@
DOCS = repoquery package-cleanup repo-rss yumdownloader yum-builddep yum-changelog reposync \
yum-list-data yum-filter-data yum-verify yum-utils yum-aliases yum-debug-dump yum-versionlock \
- yum-groups-manager debuginfo-install repodiff yum-fs-snapshot
+ yum-groups-manager debuginfo-install repodiff yum-fs-snapshot \
+ show-installed show-changed-rco
DOCS5 = yum-changelog.conf yum-versionlock.conf yum-fs-snapshot.conf
DOCS8 = yum-security yum-complete-transaction yumdb
diff --git a/docs/show-changed-rco.1 b/docs/show-changed-rco.1
new file mode 100644
index 0000000..3e3b62c
--- /dev/null
+++ b/docs/show-changed-rco.1
@@ -0,0 +1,67 @@
+.\" show-changed-rco
+.TH "show-installed" "1" "30 March 2011" "James Antill" ""
+.SH "NAME"
+show\-changed-\-rco
+.SH "SYNOPSIS"
+\fBshow\-changed-\-rco\fP [options]
+.SH "DESCRIPTION"
+.PP
+\fBshow\-changed-\-rco\fP gives a compact description of the changes to a
+packages Requires, Conflicts and Obsoletes data from the installed (or old) to
+a specified rpm file.
+.SH OPTIONS
+.TP
+.IP \-h, \-\-help
+show this help message and exit
+.IP "\fB\-C, \-\-cache\fP"
+Tells repoquery to run entirely from YUM cache - does not download any metadata
+or update the cache. Queries in this mode can fail or give partial/incorrect
+results if the cache isn't fully populated beforehand with eg "yum makecache".
+.IP "\fB\-c <config file>, \-\-config=<config file>\fP"
+Use alternative config file (default is /etc/yum.conf).
+
+.IP "\fB\-\-repoid=<repo>\fP"
+Specify which repository to query. Using this option disables all repositories
+not explicitly enabled with --repoid option (can be used multiple times). By
+default repoquery uses whatever repositories are enabled in YUM configuration.
+.IP "\fB\-\-enablerepo=<repo>\fP"
+In addition to the default set, query the given additional repository, even if
+it is disabled in YUM configuration. Can be used multiple times.
+.IP "\fB\-\-disablerepo=<repo>\fP"
+Do not query the given repository, even if it is enabled in YUM
+configuration. Can be used multiple times.
+.IP "\fB\-\-repofrompath=<repoid>,<path/url>\fP"
+Specify a path or url to a repository (same path as in a baseurl) to add to
+the repositories for this query. This option can be used multiple times. If
+you want to view only the pkgs from this repository combine this with
+--repoid. The repoid for the repository is specified by <repoid>.
+
+.IP "\fB\-\-old-packages=<pkg>\fP"
+Explicitly list the valid old packages to match the new packages against.
+.IP "\fB\-\-ignore-arch\fP"
+Ignore arch. so you can compare foo-2.i686 to foo-1.x86_64.
+.IP "\fB\-\-skip-new\fP"
+Only give output for packages which we've found an old package for.
+
+.PP
+.SH "SEE ALSO"
+.nf
+.I yum.conf (5)
+http://yum.baseurl.org/
+.fi
+
+.PP
+.SH "AUTHORS"
+.nf
+See the Authors file included with this program.
+.fi
+
+.PP
+.SH "BUGS"
+There are of course no bugs, but should you find any, you should first
+consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful
+in finding a resolution contact the mailing list: yum-devel at lists.baseurl.org.
+To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos
+related bugs and http://yum.baseurl.org/report for all other bugs.
+
+.fi
diff --git a/show-changed-rco.py b/show-changed-rco.py
index 078feec..3489247 100755
--- a/show-changed-rco.py
+++ b/show-changed-rco.py
@@ -1,5 +1,21 @@
#! /usr/bin/python -tt
+#!/usr/bin/python -tt
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
import yum
import os
diff --git a/yum-utils.spec b/yum-utils.spec
index 7959801..19c2f8b 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -471,6 +471,8 @@ fi
%{_mandir}/man1/repoquery.1.*
%{_mandir}/man1/repodiff.1.*
%{_mandir}/man1/reposync.1.*
+%{_mandir}/man1/show-changed-rco.1.*
+%{_mandir}/man1/show-installed.1.*
%{_mandir}/man1/yum-builddep.1.*
%{_mandir}/man1/yum-debug-dump.1.*
%{_mandir}/man8/yum-complete-transaction.8.*
More information about the Yum-commits
mailing list