<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient, branch ocata-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>Downloading image with --progress fails</title>
<updated>2017-06-07T05:59:28+00:00</updated>
<author>
<name>Abhishek Kekane</name>
<email>abhishek.kekane@nttdata.com</email>
</author>
<published>2017-03-09T07:50:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=d25328da6ec6206eab66655d0a388e02238f0aef'/>
<id>d25328da6ec6206eab66655d0a388e02238f0aef</id>
<content type='text'>
Downloading image with --progress fails with "RequestIdProxy object is
not an iterator". This is because to display download progress
VerboseFileWrapper in progressbar requires object of IterableWithLength,
but after support of returning request-id [1] to caller it returns
RequestIdProxy object which is wrapped around IterableWithLength
and response.

To resolve this issue overridden next and __next__ methods in
RequestIdProxy so that it can act as iterator for python 2.x
and 3.x as well.

[1] 610177a779b95f931356c1e90b05a5bffd2616b3

Closes-Bug: #1670464
Change-Id: I188e67c2487b7e4178ea246f02154bbcbc35a2b1
(cherry picked from commit 60c06d526c228de314ad659bda57c42750852ef9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Downloading image with --progress fails with "RequestIdProxy object is
not an iterator". This is because to display download progress
VerboseFileWrapper in progressbar requires object of IterableWithLength,
but after support of returning request-id [1] to caller it returns
RequestIdProxy object which is wrapped around IterableWithLength
and response.

To resolve this issue overridden next and __next__ methods in
RequestIdProxy so that it can act as iterator for python 2.x
and 3.x as well.

[1] 610177a779b95f931356c1e90b05a5bffd2616b3

Closes-Bug: #1670464
Change-Id: I188e67c2487b7e4178ea246f02154bbcbc35a2b1
(cherry picked from commit 60c06d526c228de314ad659bda57c42750852ef9)
</pre>
</div>
</content>
</entry>
<entry>
<title>Downloading image with --progress fails for python3</title>
<updated>2017-06-07T05:57:51+00:00</updated>
<author>
<name>Abhishek Kekane</name>
<email>abhishek.kekane@nttdata.com</email>
</author>
<published>2017-03-09T07:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=9e014efbc15c9a6518c979958227d87bb14ae9ea'/>
<id>9e014efbc15c9a6518c979958227d87bb14ae9ea</id>
<content type='text'>
Downloading image with --progress fails for python3 with,
TypeError: 'IterableWithLength' object is not an iterator. This
is because IterableWithLength class does not implemented python3
compatible __next__ method.

Added __next__ method for python3 compatibility.

Change-Id: Ic2114180fac26e9a60678f06612be733e8671bdb
Closes-Bug: #1671365
(cherry picked from commit bb2a5e946f36fc28ffa138357d644c2b7ec52242)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Downloading image with --progress fails for python3 with,
TypeError: 'IterableWithLength' object is not an iterator. This
is because IterableWithLength class does not implemented python3
compatible __next__ method.

Added __next__ method for python3 compatibility.

Change-Id: Ic2114180fac26e9a60678f06612be733e8671bdb
Closes-Bug: #1671365
(cherry picked from commit bb2a5e946f36fc28ffa138357d644c2b7ec52242)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add support for community images"</title>
<updated>2017-01-23T22:19:37+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-23T22:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=99cbde26accbe5d066d9156cb39de9325f7116b9'/>
<id>99cbde26accbe5d066d9156cb39de9325f7116b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add request id to returned objects"</title>
<updated>2017-01-23T22:19:31+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-23T22:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=a76fdcd20a1fa7d95857c2ecd8c96bd9bfbdb509'/>
<id>a76fdcd20a1fa7d95857c2ecd8c96bd9bfbdb509</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add request id to returned objects</title>
<updated>2017-01-20T09:20:42+00:00</updated>
<author>
<name>Ravi Jethani</name>
<email>ravishekar.jethani@nttdata.com</email>
</author>
<published>2016-04-22T13:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=610177a779b95f931356c1e90b05a5bffd2616b3'/>
<id>610177a779b95f931356c1e90b05a5bffd2616b3</id>
<content type='text'>
Adding two classes RequestIdProxy and GeneratorProxy derived from
wrapt.ObjectProxy to wrap objects returned from the API.

GeneratorProxy class is used to wrap generator objects returned
by cases like images.list() etc. whereas RequestIdProxy class is
used to wrap non-generator object cases like images.create() etc.

In all cases the returned object will have the same behavior as
the wrapped(original) object. However now the returned objects
will have an extra property 'request_ids' which is a list of
exactly one request id.

For generator cases the request_ids property will be an empty list
until the underlying generator is invoked at-least once.

Co-Authored-By: Abhishek Kekane &lt;abhishek.kekane@nttdata.com&gt;

Closes-Bug: #1525259
Blueprint: return-request-id-to-caller
Change-Id: If8c0e0843270ff718a37ca2697afeb8da22aa3b1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding two classes RequestIdProxy and GeneratorProxy derived from
wrapt.ObjectProxy to wrap objects returned from the API.

GeneratorProxy class is used to wrap generator objects returned
by cases like images.list() etc. whereas RequestIdProxy class is
used to wrap non-generator object cases like images.create() etc.

In all cases the returned object will have the same behavior as
the wrapped(original) object. However now the returned objects
will have an extra property 'request_ids' which is a list of
exactly one request id.

For generator cases the request_ids property will be an empty list
until the underlying generator is invoked at-least once.

Co-Authored-By: Abhishek Kekane &lt;abhishek.kekane@nttdata.com&gt;

Closes-Bug: #1525259
Blueprint: return-request-id-to-caller
Change-Id: If8c0e0843270ff718a37ca2697afeb8da22aa3b1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ploop in disk_format</title>
<updated>2017-01-19T14:31:01+00:00</updated>
<author>
<name>Evgeny Antyshev</name>
<email>eantyshev@virtuozzo.com</email>
</author>
<published>2017-01-18T12:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=6ab6a740ff9346004609ff28fce39a7fe5560702'/>
<id>6ab6a740ff9346004609ff28fce39a7fe5560702</id>
<content type='text'>
"ploop" image format is supported in upstream Glance
https://review.openstack.org/341633

And similar patch has been added in python-openstackclient:
https://review.openstack.org/411405

Co-Authored-By: yuyafei &lt;yu.yafei@zte.com.cn&gt;
Change-Id: I1471224df97cf5fecfe7f02e549855af81c45848
Related-Bug: 1650342
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"ploop" image format is supported in upstream Glance
https://review.openstack.org/341633

And similar patch has been added in python-openstackclient:
https://review.openstack.org/411405

Co-Authored-By: yuyafei &lt;yu.yafei@zte.com.cn&gt;
Change-Id: I1471224df97cf5fecfe7f02e549855af81c45848
Related-Bug: 1650342
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Handle formatting of subcommand name in error output"</title>
<updated>2017-01-13T19:35:35+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-13T19:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=8f8df1cced5a38c720d041ff12b78ccf2eaba4b4'/>
<id>8f8df1cced5a38c720d041ff12b78ccf2eaba4b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle formatting of subcommand name in error output</title>
<updated>2017-01-11T13:33:34+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-12-07T21:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=81039a1e36dd8d85b14f0753bf6d4de14eaeeb94'/>
<id>81039a1e36dd8d85b14f0753bf6d4de14eaeeb94</id>
<content type='text'>
On Python 2, decoding all arguments leads to the possibility that users
that use the wrong command or mistype the name will see error output
with a unicode string's representation instead of one without it. To
avoid this we try and find the first non-option string in the argument
list and replace it with an string that is not text only on Python 2. If
we encoded the string at all times, then users installing glanceclient
on Python 3 would see b'invalid-subcommand' instead. That's as bad as
seeing u'invalid-subcommand' on Python 2.

Closes-bug: 1533090
Change-Id: I018769e159a607ebb233902cbeb13b95ca417190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Python 2, decoding all arguments leads to the possibility that users
that use the wrong command or mistype the name will see error output
with a unicode string's representation instead of one without it. To
avoid this we try and find the first non-option string in the argument
list and replace it with an string that is not text only on Python 2. If
we encoded the string at all times, then users installing glanceclient
on Python 3 would see b'invalid-subcommand' instead. That's as bad as
seeing u'invalid-subcommand' on Python 2.

Closes-bug: 1533090
Change-Id: I018769e159a607ebb233902cbeb13b95ca417190
</pre>
</div>
</content>
</entry>
<entry>
<title>Add vhdx in disk_format</title>
<updated>2017-01-10T07:41:02+00:00</updated>
<author>
<name>Li Wei</name>
<email>wei.li@easystack.cn</email>
</author>
<published>2016-09-27T08:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=efb5e2aa32db3f36557abdb1ddf85709b116e746'/>
<id>efb5e2aa32db3f36557abdb1ddf85709b116e746</id>
<content type='text'>
vhdx is also a format of the disk valid value in v2 version,
so add it in disk_format.

Related-Bug: 1635518
Co-Authored-By: Stuart McLaren &lt;stuart.mclaren@hpe.com&gt;
Change-Id: I7d82d4a4bdb180a53e86552f6f6b3bed908e6dc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vhdx is also a format of the disk valid value in v2 version,
so add it in disk_format.

Related-Bug: 1635518
Co-Authored-By: Stuart McLaren &lt;stuart.mclaren@hpe.com&gt;
Change-Id: I7d82d4a4bdb180a53e86552f6f6b3bed908e6dc0
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Use import_versioned_module from oslo.utils"</title>
<updated>2016-12-16T12:30:19+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-12-16T12:30:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=fa11427af53595532124c74991ddcee6a89624ff'/>
<id>fa11427af53595532124c74991ddcee6a89624ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
