<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/tests/v1, branch 0.7.0</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>Add --sort-key and --sort-dir to image-list</title>
<updated>2012-11-28T17:46:32+00:00</updated>
<author>
<name>Brian Waldon</name>
<email>bcwaldon@gmail.com</email>
</author>
<published>2012-11-25T19:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=4da8b287b40cf0f0de0fd77998e3e66d8bac7999'/>
<id>4da8b287b40cf0f0de0fd77998e3e66d8bac7999</id>
<content type='text'>
The --sort-key and --sort-dir CLI options allow users to control the
field and direction by which their images are sorted in an image-list
operation. The previous default sort behavior of sorting by ID asc has
been preserved.

Fixes bug 1082957.

Change-Id: I1d3664219c275b0379fe176f8288d6ffae0dffbe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The --sort-key and --sort-dir CLI options allow users to control the
field and direction by which their images are sorted in an image-list
operation. The previous default sort behavior of sorting by ID asc has
been preserved.

Fixes bug 1082957.

Change-Id: I1d3664219c275b0379fe176f8288d6ffae0dffbe
</pre>
</div>
</content>
</entry>
<entry>
<title>Pin pep8 to 1.3.3</title>
<updated>2012-11-25T16:34:56+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2012-11-21T18:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=c0ec97f310bc56c69c22e49928b4aea4cd8458f1'/>
<id>c0ec97f310bc56c69c22e49928b4aea4cd8458f1</id>
<content type='text'>
Standardize pep8 to 1.3.3 and cleared up any errors
found by pep8 tests.

Change-Id: Ib7eb97d0789556d1676ccad58b5d3364065b7d15
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Standardize pep8 to 1.3.3 and cleared up any errors
found by pep8 tests.

Change-Id: Ib7eb97d0789556d1676ccad58b5d3364065b7d15
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle create/update of images with unknown size</title>
<updated>2012-10-08T11:16:18+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2012-09-26T12:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=727aadbc257ec3c99dd1621202948d288d45c8cc'/>
<id>727aadbc257ec3c99dd1621202948d288d45c8cc</id>
<content type='text'>
It may not be possible to know in advance the total
size of image data which is to be uploaded, for example
if the data is being piped to stdin.

To handle this we use HTTP Transfer-Encoding: chunked
and do not set any image size headers.

Various subtly different cases needed to be handled for
both image-create and image-update, including:

 * input from named pipe
 * piped input of zero size
 * regular file of zero length

Fix for bug 1056220.

Change-Id: I0c7f0a64d883e058993b954a1c465c5b057f2bcf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It may not be possible to know in advance the total
size of image data which is to be uploaded, for example
if the data is being piped to stdin.

To handle this we use HTTP Transfer-Encoding: chunked
and do not set any image size headers.

Various subtly different cases needed to be handled for
both image-create and image-update, including:

 * input from named pipe
 * piped input of zero size
 * regular file of zero length

Fix for bug 1056220.

Change-Id: I0c7f0a64d883e058993b954a1c465c5b057f2bcf
</pre>
</div>
</content>
</entry>
<entry>
<title>Specified Content-Length in update request header</title>
<updated>2012-09-06T07:41:08+00:00</updated>
<author>
<name>Unmesh Gurjar</name>
<email>unmesh.gurjar@vertex.co.in</email>
</author>
<published>2012-09-06T07:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=30d8e1b97ce0621a0ce9aae97ad8ab35101860e6'/>
<id>30d8e1b97ce0621a0ce9aae97ad8ab35101860e6</id>
<content type='text'>
While uploading a Volume to an image, the HTTPConnection's request method does
not set the Content-Length header (since the volume file is a sym link i.e. the
os.fstat call returns a st_size of 0). This causes Volume uploads to Glance
fail (since the image data is ignored as no content-length is specified).
Therefore setting the Content-Length from update( ) method if the image data is
provided.

Fixes LP: #1045824

Change-Id: If259fc5a338e3e90214a52b773132ed901691c0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While uploading a Volume to an image, the HTTPConnection's request method does
not set the Content-Length header (since the volume file is a sym link i.e. the
os.fstat call returns a st_size of 0). This causes Volume uploads to Glance
fail (since the image data is ignored as no content-length is specified).
Therefore setting the Content-Length from update( ) method if the image data is
provided.

Fixes LP: #1045824

Change-Id: If259fc5a338e3e90214a52b773132ed901691c0f
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure v1 'limit' query parameter works correctly.</title>
<updated>2012-08-15T18:50:11+00:00</updated>
<author>
<name>Brian Lamar</name>
<email>brian.lamar@rackspace.com</email>
</author>
<published>2012-08-15T18:39:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=d64876424e87b3a7f76a9bf4d29fdacbc5ad4bc4'/>
<id>d64876424e87b3a7f76a9bf4d29fdacbc5ad4bc4</id>
<content type='text'>
The tests were present but were not asserting list results.

page_size was overriding the absolute limit so limits were
not working if they were less than the page_size.

Fixes bug 1037233

Change-Id: If102824212e3846bc65d3f7928cf7aa2e48aaa63
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests were present but were not asserting list results.

page_size was overriding the absolute limit so limits were
not working if they were less than the page_size.

Fixes bug 1037233

Change-Id: If102824212e3846bc65d3f7928cf7aa2e48aaa63
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow 'deleted' to be passed through image update</title>
<updated>2012-08-13T17:56:27+00:00</updated>
<author>
<name>Brian Waldon</name>
<email>bcwaldon@gmail.com</email>
</author>
<published>2012-08-13T17:56:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=a5b8165d7de5edd15a616e2ff97c1f8b72b53e8c'/>
<id>a5b8165d7de5edd15a616e2ff97c1f8b72b53e8c</id>
<content type='text'>
The legacy client allowed users to pass 'deleted' through an
update call. This is breaking some clients of this library because
they expect to be be able to still do that.

Fixes bug 1036315

Change-Id: I9ae20a5e4579240c7d5e86316d6d1e927755dbf5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The legacy client allowed users to pass 'deleted' through an
update call. This is breaking some clients of this library because
they expect to be be able to still do that.

Fixes bug 1036315

Change-Id: I9ae20a5e4579240c7d5e86316d6d1e927755dbf5
</pre>
</div>
</content>
</entry>
<entry>
<title>Cast is_public, protected, deleted to bool</title>
<updated>2012-08-13T17:55:43+00:00</updated>
<author>
<name>Brian Waldon</name>
<email>bcwaldon@gmail.com</email>
</author>
<published>2012-08-13T17:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=8f0d5c4f2cea6e5dae827b5f728c54dab4a4386b'/>
<id>8f0d5c4f2cea6e5dae827b5f728c54dab4a4386b</id>
<content type='text'>
To keep a consistent view of an image, is_public, protected, and
deleted need to be cast to a bool when being parsed from headers.

Fix bug 1036299

Change-Id: I2730a0f2d705d26ebc0ba883e99c1caf44d70b51
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To keep a consistent view of an image, is_public, protected, and
deleted need to be cast to a bool when being parsed from headers.

Fix bug 1036299

Change-Id: I2730a0f2d705d26ebc0ba883e99c1caf44d70b51
</pre>
</div>
</content>
</entry>
<entry>
<title>Return known int values as int, not str</title>
<updated>2012-08-13T17:18:51+00:00</updated>
<author>
<name>Brian Waldon</name>
<email>bcwaldon@gmail.com</email>
</author>
<published>2012-08-13T17:18:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=1e539dfdbecfdcf33d57ef79b9f845b90f547506'/>
<id>1e539dfdbecfdcf33d57ef79b9f845b90f547506</id>
<content type='text'>
Cast size, min_ram, min_disk to integers before returning them
to the user from the v1 API.

Fixes bug 1036297

Change-Id: Ib1e2a3bf931e433b6311cc8a1a5219168b50be97
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cast size, min_ram, min_disk to integers before returning them
to the user from the v1 API.

Fixes bug 1036297

Change-Id: Ib1e2a3bf931e433b6311cc8a1a5219168b50be97
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable client V2 to download images</title>
<updated>2012-08-09T17:14:22+00:00</updated>
<author>
<name>Lars Gellrich</name>
<email>lars.gellrich@hp.com</email>
</author>
<published>2012-08-01T16:04:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=137b3cf975d73437943e100065c76b83acfa7dd3'/>
<id>137b3cf975d73437943e100065c76b83acfa7dd3</id>
<content type='text'>
Added the CLI option image-download to download an image via API V2.
Added utility function to save an image.
Added common iterator to validate the checksum.

Related to bp glance-client-v2

Change-Id: I0247f5a3462142dc5e9f3dc16cbe00c8e3d42f42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added the CLI option image-download to download an image via API V2.
Added utility function to save an image.
Added common iterator to validate the checksum.

Related to bp glance-client-v2

Change-Id: I0247f5a3462142dc5e9f3dc16cbe00c8e3d42f42
</pre>
</div>
</content>
</entry>
<entry>
<title>Add pagination to v1 image-list</title>
<updated>2012-07-19T20:26:37+00:00</updated>
<author>
<name>Brian Waldon</name>
<email>bcwaldon@gmail.com</email>
</author>
<published>2012-07-14T04:39:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=0f628b19cbbe53ea29de02f4ae84bc893138820f'/>
<id>0f628b19cbbe53ea29de02f4ae84bc893138820f</id>
<content type='text'>
* Use recursive generator function to make subsequent requests
  to the v1 detailed images resource
* 'limit' continues to act as the absolute limit of images to return
  from a list call
* 'page_size' indicates how many images to ask for in each subsequent
  pagination request
* Expose --page-size through the cli
* Convert v1 images tests to use strict url comparison
* Drop strict_url_check from FakeAPI kwargs - now the functionality
  is always active and tests must directly match fixture urls
* Fix bug 1024614

Change-Id: Ifa7874d88360e03b5c8aa95bfb9d5e6dc6dc927e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use recursive generator function to make subsequent requests
  to the v1 detailed images resource
* 'limit' continues to act as the absolute limit of images to return
  from a list call
* 'page_size' indicates how many images to ask for in each subsequent
  pagination request
* Expose --page-size through the cli
* Convert v1 images tests to use strict url comparison
* Drop strict_url_check from FakeAPI kwargs - now the functionality
  is always active and tests must directly match fixture urls
* Fix bug 1024614

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