<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/common/utils.py, branch kilo-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>Merge "Return 130 for keyboard interrupt"</title>
<updated>2015-02-06T16:23:21+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-02-06T16:23:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=1c377212876d0b21686e016375d4319891f575f8'/>
<id>1c377212876d0b21686e016375d4319891f575f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change oslo.utils to oslo_utils</title>
<updated>2015-02-05T22:27:16+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2015-02-05T22:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=e99e0c8690e25abf226f3a7eaf636ce967537fee'/>
<id>e99e0c8690e25abf226f3a7eaf636ce967537fee</id>
<content type='text'>
The oslo.utils libraries are moving away from namespace packages.

This requires oslo.utils&gt;=1.2.0

bp drop-namespace-packages

Change-Id: I803df61e91eabb96329d859aef6bea03530fb84f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oslo.utils libraries are moving away from namespace packages.

This requires oslo.utils&gt;=1.2.0

bp drop-namespace-packages

Change-Id: I803df61e91eabb96329d859aef6bea03530fb84f
</pre>
</div>
</content>
</entry>
<entry>
<title>Return 130 for keyboard interrupt</title>
<updated>2015-02-05T05:08:59+00:00</updated>
<author>
<name>Rakesh H S</name>
<email>rh-s@hp.com</email>
</author>
<published>2014-09-25T05:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=96ff6e46c4e5c476b42399d9df016a468b2e1b6d'/>
<id>96ff6e46c4e5c476b42399d9df016a468b2e1b6d</id>
<content type='text'>
When keyboard interrupt is received by glanceclient, the return code as
of now is 1.

But since the client was terminated by an keyboard interrupt, the return
code should be 130. (http://tldp.org/LDP/abs/html/exitcodes.html)
It is useful when people are writing automation test cases and want to
validate based on the return code.

Change-Id: Ia70116ab6f0708a0ce6eeaed07c1e7a56e68c9f4
Closes-Bug: #1373231
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When keyboard interrupt is received by glanceclient, the return code as
of now is 1.

But since the client was terminated by an keyboard interrupt, the return
code should be 130. (http://tldp.org/LDP/abs/html/exitcodes.html)
It is useful when people are writing automation test cases and want to
validate based on the return code.

Change-Id: Ia70116ab6f0708a0ce6eeaed07c1e7a56e68c9f4
Closes-Bug: #1373231
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove openstack.common.importutils</title>
<updated>2015-01-28T02:12:18+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2015-01-06T15:13:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=878bdcbdbcec103311793c55fa942632b60c65c0'/>
<id>878bdcbdbcec103311793c55fa942632b60c65c0</id>
<content type='text'>
This module now lives in oslo.utils, so import it from there.

Change-Id: I41fa4897fc820596fb010336044ff4c493017d5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This module now lives in oslo.utils, so import it from there.

Change-Id: I41fa4897fc820596fb010336044ff4c493017d5a
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove openstack.common.strutils</title>
<updated>2015-01-27T19:22:42+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2015-01-06T14:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=b818826420a383e733ec40881ff436595ca57cc8'/>
<id>b818826420a383e733ec40881ff436595ca57cc8</id>
<content type='text'>
This module now lives in oslo.utils, so import it from there instead.

Co-Authored-By: Ian Cordasco &lt;ian.cordasco@rackspace.com&gt;
Change-Id: Ib35dc840992433542490670781badd9529ec8947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This module now lives in oslo.utils, so import it from there instead.

Co-Authored-By: Ian Cordasco &lt;ian.cordasco@rackspace.com&gt;
Change-Id: Ib35dc840992433542490670781badd9529ec8947
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Requests breaking download progress bar</title>
<updated>2015-01-04T20:52:00+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2014-11-01T20:49:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=df02ee8e2a10d2f37a9c013dec157c88b8dce49d'/>
<id>df02ee8e2a10d2f37a9c013dec157c88b8dce49d</id>
<content type='text'>
The move to the requests library (dbb242b) broke the progress bar during
downloading an image with --progress enabled, due to requests returning
a generator, which has no __len__ function. This patch adds an iterable
wrapper which provides the length, sourced from Content-Length headers.

Closes-Bug: #1384664

Change-Id: I48598a824396bc6e7cba69eb3ce32e7c8f30a18a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The move to the requests library (dbb242b) broke the progress bar during
downloading an image with --progress enabled, due to requests returning
a generator, which has no __len__ function. This patch adds an iterable
wrapper which provides the length, sourced from Content-Length headers.

Closes-Bug: #1384664

Change-Id: I48598a824396bc6e7cba69eb3ce32e7c8f30a18a
</pre>
</div>
</content>
</entry>
<entry>
<title>Support schema types with non-str value</title>
<updated>2014-12-10T12:23:36+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-12-10T09:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=3989cd202de5d122da011be4f3bb9cede2fe8d45'/>
<id>3989cd202de5d122da011be4f3bb9cede2fe8d45</id>
<content type='text'>
Change I75da1e9309e0f7ef8839dea3ec9c99c58edc5d63 introduced some
properties' types which are not string. This broke the `schema_args`
utility since lists are not hashable and there was no support for such
type values.

This patch fixes this issue with a very glance specific strategy in
which this values are assumed to have a `null` type and another type -
string, integer, etc. The fix ignores `null` options and it takes the
first non-null type as the valid one.

The patch adds support for enum types that accept `None`

Closes-bug: #1401032
Change-Id: I250e8912aca262a56c54ac59bb24f917e5d8cfce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change I75da1e9309e0f7ef8839dea3ec9c99c58edc5d63 introduced some
properties' types which are not string. This broke the `schema_args`
utility since lists are not hashable and there was no support for such
type values.

This patch fixes this issue with a very glance specific strategy in
which this values are assumed to have a `null` type and another type -
string, integer, etc. The fix ignores `null` options and it takes the
first non-null type as the valid one.

The patch adds support for enum types that accept `None`

Closes-bug: #1401032
Change-Id: I250e8912aca262a56c54ac59bb24f917e5d8cfce
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't require version to create Client instance</title>
<updated>2014-12-09T14:45:06+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-11-24T14:12:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=9829d7b6b9f2232bda8039b6db54be1d8885e7a0'/>
<id>9829d7b6b9f2232bda8039b6db54be1d8885e7a0</id>
<content type='text'>
We currently require a version to always be passed to discover the
client version that should be loaded. However, this information is
commonly present in the URL instead. The current behavior forces
consumers of the library to keep the required version around and/or to
strip it themselves from the URL.

This patch relaxes that requirement by making the version a keyword and
requesting instead an endpoint to be passed. The patch gives priority to
the version in the endpoint and falls back to the keyword if the later is
not present.

Follow-up patches will improve this code making it interact a bit more
with the endpoint's catalog.

Closes-bug: #1395714
Change-Id: I4ada9e724ac4709429e502b5a006604ca0453f61</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently require a version to always be passed to discover the
client version that should be loaded. However, this information is
commonly present in the URL instead. The current behavior forces
consumers of the library to keep the required version around and/or to
strip it themselves from the URL.

This patch relaxes that requirement by making the version a keyword and
requesting instead an endpoint to be passed. The patch gives priority to
the version in the endpoint and falls back to the keyword if the later is
not present.

Follow-up patches will improve this code making it interact a bit more
with the endpoint's catalog.

Closes-bug: #1395714
Change-Id: I4ada9e724ac4709429e502b5a006604ca0453f61</pre>
</div>
</content>
</entry>
<entry>
<title>Update how tokens are redacted</title>
<updated>2014-09-15T22:28:34+00:00</updated>
<author>
<name>Travis Tripp</name>
<email>travis.tripp@hp.com</email>
</author>
<published>2014-09-15T22:17:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=f980fc549247fa2deb87dfacebc6d8d13ccd45d1'/>
<id>f980fc549247fa2deb87dfacebc6d8d13ccd45d1</id>
<content type='text'>
Using SHA-1 to match how Nova and Swift redact their tokens.
Was discussed in the below thread:

http://lists.openstack.org/pipermail/openstack-dev/2014-September/045802.html

Here's what nova went with: https://review.openstack.org/#/c/99511/
swift seem to be following suit: https://review.openstack.org/#/c/99632/

Change-Id: I3045d6d9d2a13770f4022dbbd474b34eb1032f6e
Closes-bug: 1329301
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using SHA-1 to match how Nova and Swift redact their tokens.
Was discussed in the below thread:

http://lists.openstack.org/pipermail/openstack-dev/2014-September/045802.html

Here's what nova went with: https://review.openstack.org/#/c/99511/
swift seem to be following suit: https://review.openstack.org/#/c/99632/

Change-Id: I3045d6d9d2a13770f4022dbbd474b34eb1032f6e
Closes-bug: 1329301
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix v2 requests to non-bleeding edge servers</title>
<updated>2014-09-12T09:12:49+00:00</updated>
<author>
<name>Lakshmi N Sampath</name>
<email>lakshmi.sampath@hp.com</email>
</author>
<published>2014-09-09T21:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=97b1506bdbccea9fbfcac731cf8b7e0cadebcbab'/>
<id>97b1506bdbccea9fbfcac731cf8b7e0cadebcbab</id>
<content type='text'>
In the case where v2 requests are sent to a server which is not running
head of tree which includes the v2 metadef code some 404 cases need to
be handled to enable standard requests to complete.

This patch aslo improves fetching schemas -- they are now only
fetched as needed.

Change-Id: I8c871f11b909337bd7df19b77e606772dbc634b2
Closes-bug: #1367326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case where v2 requests are sent to a server which is not running
head of tree which includes the v2 metadef code some 404 cases need to
be handled to enable standard requests to complete.

This patch aslo improves fetching schemas -- they are now only
fetched as needed.

Change-Id: I8c871f11b909337bd7df19b77e606772dbc634b2
Closes-bug: #1367326
</pre>
</div>
</content>
</entry>
</feed>
