<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/shell.py, branch 1.0.4</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Merge "Minor typo/message fixes"</title>
<updated>2013-04-09T15:26:12+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-04-09T15:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=e7cfd77ba3a378bd811e62acb88a7fa8dff78e3a'/>
<id>e7cfd77ba3a378bd811e62acb88a7fa8dff78e3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor typo/message fixes</title>
<updated>2013-04-08T21:11:16+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2013-04-02T14:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=fd3351ffa81d5c1aef336d789ebcf8c26b26d53c'/>
<id>fd3351ffa81d5c1aef336d789ebcf8c26b26d53c</id>
<content type='text'>
Correct it's -&gt; its in force-delete message
Print whole bash_completion message in "cinder help"
Reformat some doc strings per PEP-0257

Change-Id: I013b849508beac5c9fe5c6f9d4cdfae54676c29c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct it's -&gt; its in force-delete message
Print whole bash_completion message in "cinder help"
Reformat some doc strings per PEP-0257

Change-Id: I013b849508beac5c9fe5c6f9d4cdfae54676c29c
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add OS_TENANT_ID as authentication option"</title>
<updated>2013-04-05T12:59:08+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-04-05T12:59:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=222f501d9f641b1a2d4b54084cc10b59755fb3a8'/>
<id>222f501d9f641b1a2d4b54084cc10b59755fb3a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Decodes input and encodes output</title>
<updated>2013-03-29T12:50:48+00:00</updated>
<author>
<name>Flaper Fesp</name>
<email>flaper87@gmail.com</email>
</author>
<published>2013-02-27T13:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=03a4806d972ac150e717451566e9c4c35a141d8f'/>
<id>03a4806d972ac150e717451566e9c4c35a141d8f</id>
<content type='text'>
Currently cinderclient doesn't handle properly incoming and outgoing
encode / decode process. As a solution for this, this patch implements a
decoding process for all data incoming from the user side and encodes
everything going out of the client, i.e: http requests, prints, etc.

This patch introduces a new module (strutils.py) taken from
oslo-incubator in order to use 2 of the functions present in it:

About safe_(decode|encode):

    Both functions try to encode / decode the incoming text using the
    stdin encoding, fallback to python's default encoding if that
    returns None or to UTF-8 as the last option.

    In both functions only basestring objects are accepted and they both
    raise TypeError if an object of another type is passed.

About the general cinderclient changes:

    In order to better support non-ASCII characters, it is a good
    practice to use unicode interanlly and encode everything that has to
    go out. This patch aims to do that and introduces this behaviour in
    the client.

Testing:

    A good test (besides using tox) is to use cinder client with and
    without setting any locale (export LANG=).

Fixes bug: 1130572

Change-Id: Idb7d06954c29e003f68a0c4aa0b80ecc7017cbc9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently cinderclient doesn't handle properly incoming and outgoing
encode / decode process. As a solution for this, this patch implements a
decoding process for all data incoming from the user side and encodes
everything going out of the client, i.e: http requests, prints, etc.

This patch introduces a new module (strutils.py) taken from
oslo-incubator in order to use 2 of the functions present in it:

About safe_(decode|encode):

    Both functions try to encode / decode the incoming text using the
    stdin encoding, fallback to python's default encoding if that
    returns None or to UTF-8 as the last option.

    In both functions only basestring objects are accepted and they both
    raise TypeError if an object of another type is passed.

About the general cinderclient changes:

    In order to better support non-ASCII characters, it is a good
    practice to use unicode interanlly and encode everything that has to
    go out. This patch aims to do that and introduces this behaviour in
    the client.

Testing:

    A good test (besides using tox) is to use cinder client with and
    without setting any locale (export LANG=).

Fixes bug: 1130572

Change-Id: Idb7d06954c29e003f68a0c4aa0b80ecc7017cbc9
</pre>
</div>
</content>
</entry>
<entry>
<title>Add OS_TENANT_ID as authentication option</title>
<updated>2013-03-27T16:14:39+00:00</updated>
<author>
<name>Liam Kelleher</name>
<email>liam.kelleher@hp.com</email>
</author>
<published>2013-03-27T15:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=f80509ff1a1319ed6c7caa8a7dda6534fe42106d'/>
<id>f80509ff1a1319ed6c7caa8a7dda6534fe42106d</id>
<content type='text'>
bug 1160898

Change-Id: I8849ab8f552801b8a317cd0394251c2db1ba8e9a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug 1160898

Change-Id: I8849ab8f552801b8a317cd0394251c2db1ba8e9a
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch KeyboardInterrupt</title>
<updated>2013-03-20T17:10:34+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2013-03-20T17:06:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=36ba504d52a53fb6108896f93cab81bfd0cea670'/>
<id>36ba504d52a53fb6108896f93cab81bfd0cea670</id>
<content type='text'>
When a user Ctrl-C's the client, this will cause a short message to
be printed rather than an ugly backtrace.

This will not catch all instances of this (can still Ctrl-C before
reaching this code, etc.), but it should catch most of them, and those
for long-running sessions.

The specific message was chosen to match one recently added to the
glance client.

Change-Id: Ib748835ad1f94fb901b4941dc5e3797b719e197f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a user Ctrl-C's the client, this will cause a short message to
be printed rather than an ugly backtrace.

This will not catch all instances of this (can still Ctrl-C before
reaching this code, etc.), but it should catch most of them, and those
for long-running sessions.

The specific message was chosen to match one recently added to the
glance client.

Change-Id: Ib748835ad1f94fb901b4941dc5e3797b719e197f
</pre>
</div>
</content>
</entry>
<entry>
<title>adding v2 support to cinderclient</title>
<updated>2013-02-13T08:58:17+00:00</updated>
<author>
<name>Mike Perez</name>
<email>thingee@gmail.com</email>
</author>
<published>2013-02-02T21:26:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=636ec5eccda3f4caef90db3fe4e0c19df1bd348d'/>
<id>636ec5eccda3f4caef90db3fe4e0c19df1bd348d</id>
<content type='text'>
This will allow the cinderclient to speak to the v2 rest api if it's
enabled in the cinder config. Includes additional v2 tests as well.

blueprint cinderclient-v2-support

Change-Id: I004134d9f528a6eadefdaa89eb48087bcae2691f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow the cinderclient to speak to the v2 rest api if it's
enabled in the cinder config. Includes additional v2 tests as well.

blueprint cinderclient-v2-support

Change-Id: I004134d9f528a6eadefdaa89eb48087bcae2691f
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid UnicodeEncodeError exception on exception</title>
<updated>2013-02-06T16:26:44+00:00</updated>
<author>
<name>Dirk Mueller</name>
<email>dirk@dmllr.de</email>
</author>
<published>2013-02-06T16:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=8cc89fdfe58175f284e7fffafa16377a5547ac1b'/>
<id>8cc89fdfe58175f284e7fffafa16377a5547ac1b</id>
<content type='text'>
When an exception message contained a non-ascii
character, the str() conversion raised an UnicodeEncodeError.

Avoid this by simply passing the message itself.
Python handles the encoding to locale already.

Change-Id: I3c4440fc238d8c8136a9bd93a0040668f82bda6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an exception message contained a non-ascii
character, the str() conversion raised an UnicodeEncodeError.

Avoid this by simply passing the message itself.
Python handles the encoding to locale already.

Change-Id: I3c4440fc238d8c8136a9bd93a0040668f82bda6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed documentation of the cinder shell command.</title>
<updated>2013-01-31T19:41:47+00:00</updated>
<author>
<name>Frederic Lepied</name>
<email>frederic.lepied@enovance.com</email>
</author>
<published>2013-01-11T20:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=33c897d87e953479bfc80518f5e9750431b52869'/>
<id>33c897d87e953479bfc80518f5e9750431b52869</id>
<content type='text'>
Updated README.rst and shell.rst to match changes
in the cinder command and novaclient README.rst.

Change-Id: Ifaa53d5c06e6d7d8e3d4d858672717954303bea7
Fixes: bug #1074125
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated README.rst and shell.rst to match changes
in the cinder command and novaclient README.rst.

Change-Id: Ifaa53d5c06e6d7d8e3d4d858672717954303bea7
Fixes: bug #1074125
</pre>
</div>
</content>
</entry>
<entry>
<title>Change Nova -&gt; Cinder in credentials error message</title>
<updated>2013-01-21T22:34:59+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2013-01-21T22:30:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=c74994597fe9400bee79046bf9f15b163c50b61c'/>
<id>c74994597fe9400bee79046bf9f15b163c50b61c</id>
<content type='text'>
Change-Id: I410360ca23388e93bcbbf3dce053cae99c84a431
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I410360ca23388e93bcbbf3dce053cae99c84a431
</pre>
</div>
</content>
</entry>
</feed>
