Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 879535 Details for
Bug 1081550
[PATCH] yum shell doesn't accept skip_broken as a valid config option
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add more options to yum shell
0002-Add-missing-options-to-yum-shell.patch (text/plain), 2.24 KB, created by
Xavier Bachelot
on 2014-03-27 16:21:24 UTC
(
hide
)
Description:
Add more options to yum shell
Filename:
MIME Type:
Creator:
Xavier Bachelot
Created:
2014-03-27 16:21:24 UTC
Size:
2.24 KB
patch
obsolete
>From 7929d6e3ad8c5c7a319b206653f528d45da3f2d9 Mon Sep 17 00:00:00 2001 >From: Xavier Bachelot <xavier@bachelot.org> >Date: Thu, 27 Mar 2014 17:15:23 +0100 >Subject: [PATCH 2/2] Add missing options to yum shell > >--- > shell.py | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > >diff --git a/shell.py b/shell.py >index 00b6896..3d498cc 100644 >--- a/shell.py >+++ b/shell.py >@@ -288,13 +288,14 @@ class YumShell(cmd.Cmd): > :param line: the remainder of the line, containing an option, > and then optionally a value in the form [option] [value]. > Valid options are one of the following: debuglevel, >- errorlevel, obsoletes, gpgcheck, assumeyes, exclude. If no >- value is given, print the current value. If a value is >- supplied, set the option to the given value. >+ errorlevel, rpmverbosity, obsoletes, gpgcheck, assumeyes, assumeno, >+ exclude, includepkgs, skip_broken. If no value is given, print the >+ current value. If a value is supplied, set the option to the given >+ value. > """ > (cmd, args, line) = self.parseline(line) > # logs >- if cmd in ['debuglevel', 'errorlevel']: >+ if cmd in ['debuglevel', 'errorlevel', 'rpmverbosity' ]: > opts = self._shlex_split(args) > if not opts: > self.verbose_logger.log(logginglevels.INFO_2, '%s: %s', cmd, >@@ -312,7 +313,7 @@ class YumShell(cmd.Cmd): > elif cmd == 'errorlevel': > logginglevels.setErrorLevel(val) > # bools >- elif cmd in ['gpgcheck', 'repo_gpgcheck', 'obsoletes', 'assumeyes']: >+ elif cmd in ['gpgcheck', 'repo_gpgcheck', 'obsoletes', 'assumeyes', 'assumeno', 'skip_broken', 'plugins']: > opts = self._shlex_split(args) > if not opts: > self.verbose_logger.log(logginglevels.INFO_2, '%s: %s', cmd, >@@ -327,7 +328,7 @@ class YumShell(cmd.Cmd): > if cmd == 'obsoletes': > self.base.up = None > >- elif cmd in ['exclude']: >+ elif cmd in ['exclude', 'includepkgs', 'installroot']: > args = args.replace(',', ' ') > opts = self._shlex_split(args) > if not opts: >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1081550
:
879517
|
879534
|
879535
|
879546