<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/common, branch mitaka-eol</title>
<subtitle>opendev.org: openstack/python-glanceclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/'/>
<entry>
<title>Fix "Codec can't encode characters"</title>
<updated>2016-05-23T14:37:35+00:00</updated>
<author>
<name>Darja Shakhray</name>
<email>dshakhray@mirantis.com</email>
</author>
<published>2016-05-13T12:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=4a5567109174a05d434fe336c056ca09eda4b976'/>
<id>4a5567109174a05d434fe336c056ca09eda4b976</id>
<content type='text'>
Headers were encoded in HTTPClient, but when glance client started
to use SessionClient this functionality was lost.

This commit replaces static method "encode_headers" from HTTPClient
and makes it a common function, that SessionClient can use when
converting image meta to headers.


Change-Id: If9f8020220d2a0431b4241b38b9c83c09c0d75cb
Closes-bug: #1574587
(cherry picked from commit 9329ef0bc40375cd9b115415e10baf89789f56f0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Headers were encoded in HTTPClient, but when glance client started
to use SessionClient this functionality was lost.

This commit replaces static method "encode_headers" from HTTPClient
and makes it a common function, that SessionClient can use when
converting image meta to headers.


Change-Id: If9f8020220d2a0431b4241b38b9c83c09c0d75cb
Closes-bug: #1574587
(cherry picked from commit 9329ef0bc40375cd9b115415e10baf89789f56f0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Handle 403 forbidden on download"</title>
<updated>2016-02-29T13:04:08+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-02-29T13:04:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=6aaa6f2f8c09a9af98bf6f340c3a9ee8203cca5d'/>
<id>6aaa6f2f8c09a9af98bf6f340c3a9ee8203cca5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle 403 forbidden on download</title>
<updated>2016-02-24T18:31:38+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2015-12-07T16:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=5b9f21b38b59322d6c9423aa4f5b028e72dd01f6'/>
<id>5b9f21b38b59322d6c9423aa4f5b028e72dd01f6</id>
<content type='text'>
A download of a deactivated image may result in a 403.
The cli should catch this error rather than stack trace.

We also catch other unexpected http responses.

Change-Id: If33fbc3a56cdb02b3ab32a6479a67fff20b4b1a9
Closes-bug: 1523612
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A download of a deactivated image may result in a 403.
The cli should catch this error rather than stack trace.

We also catch other unexpected http responses.

Change-Id: If33fbc3a56cdb02b3ab32a6479a67fff20b4b1a9
Closes-bug: 1523612
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove code needed for python2.5</title>
<updated>2016-02-01T10:23:18+00:00</updated>
<author>
<name>kairat_kushaev</name>
<email>kkushaev@mirantis.com</email>
</author>
<published>2016-02-01T10:23:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=b4a2e28295b1deb002bc5b876c6e17721ba3941c'/>
<id>b4a2e28295b1deb002bc5b876c6e17721ba3941c</id>
<content type='text'>
glance has a code specific for python2.5. We need to delete this
code cause glanceclient doesn't support neither python2.5 or
python2.6.

Change-Id: I17e4905b6e02fcfff033a6cde03324e2a47bfce2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
glance has a code specific for python2.5. We need to delete this
code cause glanceclient doesn't support neither python2.5 or
python2.6.

Change-Id: I17e4905b6e02fcfff033a6cde03324e2a47bfce2
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove monkey-patching for getsockopt</title>
<updated>2016-01-15T13:29:27+00:00</updated>
<author>
<name>kairat_kushaev</name>
<email>kkushaev@mirantis.com</email>
</author>
<published>2016-01-15T13:29:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=799febf73e03c3bddfcbef472aa5dcff051523a3'/>
<id>799febf73e03c3bddfcbef472aa5dcff051523a3</id>
<content type='text'>
Not getsocketopts is presented in GreenSocket for Linux.
See the bug for the info. So we don't need to patch it anymore.

Closes-Bug: #1348269

Change-Id: Ie2211238656eddfb0af5f3ef84ab638f6248a10a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not getsocketopts is presented in GreenSocket for Linux.
See the bug for the info. So we don't need to patch it anymore.

Closes-Bug: #1348269

Change-Id: Ie2211238656eddfb0af5f3ef84ab638f6248a10a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix image-download to stdout on Python 3.x</title>
<updated>2015-12-22T03:42:15+00:00</updated>
<author>
<name>Andy Botting</name>
<email>andy@andybotting.com</email>
</author>
<published>2015-12-21T01:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=3caeb4504e7f96130f904356bf45f93fcd7834c6'/>
<id>3caeb4504e7f96130f904356bf45f93fcd7834c6</id>
<content type='text'>
Glance image-download to stdout fails on Python3 due to sys.stdout.write
not allowing bytes to be written directly.

A good description of the issue is listed at http://bugs.python.org/issue18512

Closes-Bug: #1528083

Change-Id: I2963914e2e0744410267b5735ff77939413916d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Glance image-download to stdout fails on Python3 due to sys.stdout.write
not allowing bytes to be written directly.

A good description of the issue is listed at http://bugs.python.org/issue18512

Closes-Bug: #1528083

Change-Id: I2963914e2e0744410267b5735ff77939413916d4
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove broken try/except workaround for old requests</title>
<updated>2015-12-15T10:30:04+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2015-12-14T20:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=9bc0018eda5c16ca5e7a10db722cb6b08445f0fa'/>
<id>9bc0018eda5c16ca5e7a10db722cb6b08445f0fa</id>
<content type='text'>
Not only is this code broken on the requests we require on
distro-provided requests, it's not needed anymore. Remove it.

Closes-bug: 1526254

Change-Id: I47a07bf9910f118392785fc20e015f036a2e8a7c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not only is this code broken on the requests we require on
distro-provided requests, it's not needed anymore. Remove it.

Closes-bug: 1526254

Change-Id: I47a07bf9910f118392785fc20e015f036a2e8a7c
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that identity token in header is not an unicode string</title>
<updated>2015-11-17T17:14:20+00:00</updated>
<author>
<name>Vincent Untz</name>
<email>vuntz@suse.com</email>
</author>
<published>2015-04-24T11:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=f65ba822682a8ea6939144a77bddef341b997911'/>
<id>f65ba822682a8ea6939144a77bddef341b997911</id>
<content type='text'>
We need all the headers to be safe strings so they can be joined
together and not become an unicode string in doing so.

This fixes a bug when creating an image with non-ascii characters in the
name.

This is required for python 2.6 compatibility.

Change-Id: I66ebc27edf4ccd8f903399da58705711c372536d
Closes-Bug: 1448080
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need all the headers to be safe strings so they can be joined
together and not become an unicode string in doing so.

This fixes a bug when creating an image with non-ascii characters in the
name.

This is required for python 2.6 compatibility.

Change-Id: I66ebc27edf4ccd8f903399da58705711c372536d
Closes-Bug: 1448080
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the missing help descripiton of "image-create"</title>
<updated>2015-10-27T01:20:56+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan@huawei.com</email>
</author>
<published>2015-10-27T01:20:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=dfcb468c1da3513d18da39969ef55bd22bc6685b'/>
<id>dfcb468c1da3513d18da39969ef55bd22bc6685b</id>
<content type='text'>
Now, when use "glance help" to show the help message, the description
of 'image-create' is missing.

Change-Id: I748209222c540e0024580dccac850ea465d176b4
Closes-bug: #1510340
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, when use "glance help" to show the help message, the description
of 'image-create' is missing.

Change-Id: I748209222c540e0024580dccac850ea465d176b4
Closes-bug: #1510340
</pre>
</div>
</content>
</entry>
<entry>
<title>Import i18n functions directly</title>
<updated>2015-10-16T08:26:11+00:00</updated>
<author>
<name>kairat_kushaev</name>
<email>kkushaev@mirantis.com</email>
</author>
<published>2015-09-29T09:08:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=6b9133c9b60788e360919590309789098727c3e5'/>
<id>6b9133c9b60788e360919590309789098727c3e5</id>
<content type='text'>
As stated in i18n guide it is normal to import i18n functions
(_, _LW..)  directly and we can include i18n functions in
hacking exceptions.
Also there is no need to make exceptions for six moves
because pep8 passes correctly without it.

Change-Id: I9c9aa490f1447bb7ae221809df7bc110c27d1336
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As stated in i18n guide it is normal to import i18n functions
(_, _LW..)  directly and we can include i18n functions in
hacking exceptions.
Also there is no need to make exceptions for six moves
because pep8 passes correctly without it.

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