[yum-commits] Branch 'yum-3_2_X' - docs/yum.conf.5 yumcommands.py
James Antill
james at osuosl.org
Wed Feb 18 06:00:08 UTC 2009
docs/yum.conf.5 | 33 +++++++++++++++++++++++++++++++++
yumcommands.py | 1 -
2 files changed, 33 insertions(+), 1 deletion(-)
New commits:
commit bc23a93aa9bf14cecf0201fee55bef943e4638ac
Author: James Antill <james at and.org>
Date: Wed Feb 18 00:52:10 2009 -0500
Add documentation for color_update_* and color_list_*_reinstall
diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
index 15462b7..c8a634c 100644
--- a/docs/yum.conf.5
+++ b/docs/yum.conf.5
@@ -330,6 +330,12 @@ newer than the latest available package with the same name and arch.
Default is `bold,yellow'.
See color_list_installed_older for possible values.
+.IP \fBcolor_list_installed_reinstall \fR
+The colorization/highlighting for pacakges in list/info installed which is
+the same version as the latest available package with the same name and arch.
+Default is `normal'.
+See color_list_installed_older for possible values.
+
.IP \fBcolor_list_installed_extra \fR
The colorization/highlighting for pacakges in list/info installed which has
no available package with the same name and arch.
@@ -354,11 +360,38 @@ no installed package with the same name and arch.
Default is `normal'.
See color_list_installed_older for possible values.
+.IP \fBcolor_list_available_reinstall \fR
+The colorization/highlighting for pacakges in list/info available which is
+the same version as the installed package with the same name and arch.
+Default is `bold,underline,green.
+See color_list_installed_older for possible values.
+
.IP \fBcolor_search_match \fR
The colorization/highlighting for text matches in search.
Default is `bold'.
See color_list_installed_older for possible values.
+.IP \fBcolor_update_installed \fR
+The colorization/highlighting for packages in the "updates list" which are
+installed. The updates list is what is printed when you run "yum update",
+"yum list updates", "yum list obsoletes" and "yum check-update".
+Default is `normal'.
+See color_list_installed_older for possible values.
+
+.IP \fBcolor_update_local \fR
+The colorization/highlighting for packages in the "updates list" which are
+already downloaded. The updates list is what is printed when you run
+"yum update", "yum list updates", "yum list obsoletes" and "yum check-update".
+Default is `bold'.
+See color_list_installed_older for possible values.
+
+.IP \fBcolor_update_remote \fR
+The colorization/highlighting for packages in the "updates list" which need to
+be downloaded. The updates list is what is printed when you run "yum update",
+"yum list updates", "yum list obsoletes" and "yum check-update".
+Default is `normal'.
+See color_list_installed_older for possible values.
+
.SH "[repository] OPTIONS"
.LP
The repository section(s) take the following form:
diff --git a/yumcommands.py b/yumcommands.py
index 0d4ca47..8a8a620 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -597,7 +597,6 @@ class CheckUpdateCommand(YumCommand):
highlight_modes={'=' : cul, 'not in' : cur})
result = 100
if len(ypl.obsoletes) > 0: # This only happens in verbose mode
- rop = [0, '']
print _('Obsoleting Packages')
# The tuple is (newPkg, oldPkg) ... so sort by new
for obtup in sorted(ypl.obsoletesTuples,
More information about the Yum-commits
mailing list