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 895077 Details for
Bug 1097165
The CLI info command doesn't report version numbers correctly
[?]
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]
Patch to fix the version number reporting
0001-cli-Fix-reporting-of-version-numbers.patch (text/plain), 3.16 KB, created by
Juan Hernández
on 2014-05-13 09:41:19 UTC
(
hide
)
Description:
Patch to fix the version number reporting
Filename:
MIME Type:
Creator:
Juan Hernández
Created:
2014-05-13 09:41:19 UTC
Size:
3.16 KB
patch
obsolete
>From 5a50974e345c28dda35cb42f08bae399cf720724 Mon Sep 17 00:00:00 2001 >From: Juan Hernandez <juan.hernandez@redhat.com> >Date: Tue, 13 May 2014 11:38:22 +0200 >Subject: [PATCH] cli: Fix reporting of version numbers > >The upstream CLI reports versions of the Python SDK and CLI packages >using the upstream names ovirt-engine-sdk and ovirt-shell. This needs to >be changed in the downstream branding patch. > >Resolves: rhbz#1097165 >Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> >--- > 0001-Branding.patch | 22 +++++++++++++++++++--- > rhevm-cli.spec | 5 ++++- > 2 files changed, 23 insertions(+), 4 deletions(-) > >diff --git a/0001-Branding.patch b/0001-Branding.patch >index 0b6d722..4ee27cd 100644 >--- a/0001-Branding.patch >+++ b/0001-Branding.patch >@@ -1,4 +1,4 @@ >-From 1f828e1d963e622f8a8ffbfcebf81ff8f25f86bc Mon Sep 17 00:00:00 2001 >+From ffbc1cef7f3505fd5d83a92d970d1ea1e9a6dc6c Mon Sep 17 00:00:00 2001 > From: Juan Hernandez <juan.hernandez@redhat.com> > Date: Tue, 4 Mar 2014 16:30:45 +0100 > Subject: [PATCH] Branding >@@ -13,8 +13,9 @@ Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> > src/ovirtcli/command/disconnect.py | 4 ++-- > src/ovirtcli/command/help.py | 14 +++++++------- > src/ovirtcli/command/list.py | 6 +++--- >+ src/ovirtcli/infrastructure/context.py | 4 ++-- > src/ovirtcli/infrastructure/settings.py | 2 +- >- 6 files changed, 16 insertions(+), 16 deletions(-) >+ 7 files changed, 18 insertions(+), 18 deletions(-) > > diff --git a/src/cli/context.py b/src/cli/context.py > index cd1fa44..f317962 100644 >@@ -141,6 +142,21 @@ index c408dc9..e43fd09 100644 > > $ list disks --vm-identifier myvm --kwargs "name=Disk 3" > >+diff --git a/src/ovirtcli/infrastructure/context.py b/src/ovirtcli/infrastructure/context.py >+index 6e34820..9cb5d9c 100644 >+--- a/src/ovirtcli/infrastructure/context.py >++++ b/src/ovirtcli/infrastructure/context.py >+@@ -39,8 +39,8 @@ class OvirtCliExecutionContext(ExecutionContext): >+ REMOTE_ERROR = 10 >+ NOT_FOUND = 11 >+ >+- SDK_MODULE_NAME = "ovirt-engine-sdk-python" >+- CLI_MODULE_NAME = "ovirt-shell" >++ SDK_MODULE_NAME = "rhevm-sdk-python" >++ CLI_MODULE_NAME = "rhevm-shell" >+ DEFAULT_VERSION = (0, 0, 0, 0) >+ >+ def __init__(self, args=None, option_parser=None): > diff --git a/src/ovirtcli/infrastructure/settings.py b/src/ovirtcli/infrastructure/settings.py > index 4bbc7d9..5d51e87 100644 > --- a/src/ovirtcli/infrastructure/settings.py >@@ -155,5 +171,5 @@ index 4bbc7d9..5d51e87 100644 > INTRO = \ > """Welcome to %s shell""" % PRODUCT > -- >-1.8.5.3 >+1.9.0 > >diff --git a/rhevm-cli.spec b/rhevm-cli.spec >index 231423d..4c416af 100644 >--- a/rhevm-cli.spec >+++ b/rhevm-cli.spec >@@ -1,6 +1,6 @@ > Name: rhevm-cli > Version: 3.4.0.6 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: RHEV-M Engine Command Line Interface > Group: Development/Libraries > License: ASL 2.0 >@@ -62,6 +62,9 @@ popd > %doc LICENSE > > %changelog >+* Tue May 13 2014 Juan Hernandez <juan.hernandez@redhat.com> - 3.4.0.6-4 >+- Fix reporting of version numbers in the "info" command #1097165. >+ > * Wed Mar 26 2014 Juan Hernandez <juan.hernandez@redhat.com> - 3.4.0.6-3 > - Fix branding in help text #1081010. > >-- >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 1097165
: 895077