<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient, branch 1.0.3</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>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>Merge "Add support for snapshot quotas."</title>
<updated>2013-03-28T14:07:39+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-03-28T14:07:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=7369310622224073ecbef4ab84a48c2a873a56b9'/>
<id>7369310622224073ecbef4ab84a48c2a873a56b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for snapshot quotas.</title>
<updated>2013-03-21T23:02:19+00:00</updated>
<author>
<name>john-griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2013-03-21T22:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4d76d3c481d4dfd95ebb5f7fe1c2d6161b7d2135'/>
<id>4d76d3c481d4dfd95ebb5f7fe1c2d6161b7d2135</id>
<content type='text'>
Now we have [volumes, gigabyes, snapshots] as valid
tenant quotas.

Change-Id: Iae8a86b31e63b9e56d6ef0bee7e03f4089aa8138
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we have [volumes, gigabyes, snapshots] as valid
tenant quotas.

Change-Id: Iae8a86b31e63b9e56d6ef0bee7e03f4089aa8138
</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>Debug output the http body</title>
<updated>2013-03-15T15:20:36+00:00</updated>
<author>
<name>Cory Stone</name>
<email>corystone@gmail.com</email>
</author>
<published>2013-03-15T15:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=f2ac10f282d2c5def47487d845d4aa18e7054917'/>
<id>f2ac10f282d2c5def47487d845d4aa18e7054917</id>
<content type='text'>
Output the kwargs[data] instead of kwargs[body] which was deleted.

Change-Id: I233e37cceb7079ec78b9bde093967dea9ad94441
Fixes: bug #1155655
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Output the kwargs[data] instead of kwargs[body] which was deleted.

Change-Id: I233e37cceb7079ec78b9bde093967dea9ad94441
Fixes: bug #1155655
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo breaking --debug option to cinder client</title>
<updated>2013-02-20T15:49:52+00:00</updated>
<author>
<name>Ollie Leahy</name>
<email>oliver.leahy@hp.com</email>
</author>
<published>2013-02-20T15:49:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=458ff24513e39e9ebf669ea1155fc2d1c919f042'/>
<id>458ff24513e39e9ebf669ea1155fc2d1c919f042</id>
<content type='text'>
Fixes LP bug #1130730

Change-Id: Ia105e8a561b8d45c60e9a3c6ed46a953cc6df96f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes LP bug #1130730

Change-Id: Ia105e8a561b8d45c60e9a3c6ed46a953cc6df96f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "adding v2 support to cinderclient"</title>
<updated>2013-02-19T11:29:18+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-02-19T11:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4c375935d1b7d09fead75c0bc66580b27b987350'/>
<id>4c375935d1b7d09fead75c0bc66580b27b987350</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix upload-to-image volume_id help"</title>
<updated>2013-02-16T21:34:29+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-02-16T21:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=a35ebc2c6ef58c1d3b971e0d237ee1ef2d612c9a'/>
<id>a35ebc2c6ef58c1d3b971e0d237ee1ef2d612c9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix upload-to-image volume_id help</title>
<updated>2013-02-15T23:15:54+00:00</updated>
<author>
<name>Josh Durgin</name>
<email>josh.durgin@inktank.com</email>
</author>
<published>2013-02-15T23:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=ecffd7090f9da013ff202dde3d8ad421ac93106c'/>
<id>ecffd7090f9da013ff202dde3d8ad421ac93106c</id>
<content type='text'>
It's not for taking a snapshot.

Change-Id: I3af4ea0e3657a2359fda55c890a030fabaad129d
Signed-off-by: Josh Durgin &lt;josh.durgin@inktank.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not for taking a snapshot.

Change-Id: I3af4ea0e3657a2359fda55c890a030fabaad129d
Signed-off-by: Josh Durgin &lt;josh.durgin@inktank.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle metadata args the same for all calls.</title>
<updated>2013-02-14T04:51:48+00:00</updated>
<author>
<name>john-griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2013-02-14T04:47:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=662cbb95e16be30bb1358e8aa502dce68964c5c5'/>
<id>662cbb95e16be30bb1358e8aa502dce68964c5c5</id>
<content type='text'>
key-create stored it's metadata arg as an appended list,
while create stored as strings.  The metadata parsing
is compatable with both, so let's just use the same
method of parsing in both of these methods.

Change-Id: I337068d45fa848d8621add29c91e4a43c9d7dc72
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
key-create stored it's metadata arg as an appended list,
while create stored as strings.  The metadata parsing
is compatable with both, so let's just use the same
method of parsing in both of these methods.

Change-Id: I337068d45fa848d8621add29c91e4a43c9d7dc72
</pre>
</div>
</content>
</entry>
</feed>
