<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/apiclient, branch 8.0.0</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Add flake8-import-order extension</title>
<updated>2021-03-10T20:04:27+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2020-06-02T21:58:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=82f0ceb724e93ccf22140762c65da88c9c2f4bb4'/>
<id>82f0ceb724e93ccf22140762c65da88c9c2f4bb4</id>
<content type='text'>
This adds the import order extension to match what we have in the cinder
repo. This is a linting extension that will check that imports are in
the correct order and the correct grouping so they automatically get
flagged, and it won't be whether reviewers notice and decide to do
anything or not.

Cinder change was Ic13ba238a4a45c6219f4de131cfe0366219d722f for a little
more wordy reasoning.

Also includes updates for noqa tags. Newer version of the linters appear
to want these on the function definition line, not on the decorator
line.

Change-Id: Ibf3f3afbf3bb6ec6613b35f91d4a353c6a391f41
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the import order extension to match what we have in the cinder
repo. This is a linting extension that will check that imports are in
the correct order and the correct grouping so they automatically get
flagged, and it won't be whether reviewers notice and decide to do
anything or not.

Cinder change was Ic13ba238a4a45c6219f4de131cfe0366219d722f for a little
more wordy reasoning.

Also includes updates for noqa tags. Newer version of the linters appear
to want these on the function definition line, not on the decorator
line.

Change-Id: Ibf3f3afbf3bb6ec6613b35f91d4a353c6a391f41
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all usage of six library</title>
<updated>2021-03-04T08:03:35+00:00</updated>
<author>
<name>haixin</name>
<email>haixin@inspur.com</email>
</author>
<published>2020-09-30T02:40:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=cea1f674ae1ce545c0cac209b423ac9d626f0c68'/>
<id>cea1f674ae1ce545c0cac209b423ac9d626f0c68</id>
<content type='text'>
Replace six with Python 3 style code.

Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace six with Python 3 style code.

Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix encoding of query parameters"</title>
<updated>2018-10-03T17:54:19+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-10-03T17:54:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=4e17e1d1912f1902a37e4db543e38cdbe3961358'/>
<id>4e17e1d1912f1902a37e4db543e38cdbe3961358</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix encoding of query parameters</title>
<updated>2018-09-14T00:51:17+00:00</updated>
<author>
<name>Goutham Pacha Ravi</name>
<email>gouthampravi@gmail.com</email>
</author>
<published>2018-09-13T22:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=223d754f6162d87a305bcb2b041a5e73d5fae303'/>
<id>223d754f6162d87a305bcb2b041a5e73d5fae303</id>
<content type='text'>
IETF RFC 3986 classifies "~" as a reserved character [1],
however until python3.7 [2], python's url parsing
used to encode this character.

urllib has seen a lot of churn in various python
releases, and hence we were using a six wrapper
to shield ourselves, however, this backwards-incompatible
change in encoding norms forces us to deal with
the problem at our end.

Cinder's API accepts "~" in both, its encoded
or un-encoded forms. So, let's stop encoding it
within cinderclient, regardless of the version
of python running it.

Also fix an inconsitency around the use of the
generic helper method in utils added in
I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
(cinderclient/utils.py - build_query_param)
to allow for False as a value in the query.

[1] https://tools.ietf.org/html/rfc3986.html
[2] https://docs.python.org/3/library/urllib.parse.html#url-quoting

Change-Id: I89809694ac3e4081ce83fd4f788f9355d6772f59
Closes-Bug: #1784728
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IETF RFC 3986 classifies "~" as a reserved character [1],
however until python3.7 [2], python's url parsing
used to encode this character.

urllib has seen a lot of churn in various python
releases, and hence we were using a six wrapper
to shield ourselves, however, this backwards-incompatible
change in encoding norms forces us to deal with
the problem at our end.

Cinder's API accepts "~" in both, its encoded
or un-encoded forms. So, let's stop encoding it
within cinderclient, regardless of the version
of python running it.

Also fix an inconsitency around the use of the
generic helper method in utils added in
I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
(cinderclient/utils.py - build_query_param)
to allow for False as a value in the query.

[1] https://tools.ietf.org/html/rfc3986.html
[2] https://docs.python.org/3/library/urllib.parse.html#url-quoting

Change-Id: I89809694ac3e4081ce83fd4f788f9355d6772f59
Closes-Bug: #1784728
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor the getid method base.py</title>
<updated>2018-08-08T02:55:44+00:00</updated>
<author>
<name>zhubx007</name>
<email>zhu.boxiang@99cloud.net</email>
</author>
<published>2018-08-08T02:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=42b598d1098d3ee3eb403d606252bab6cc130bd5'/>
<id>42b598d1098d3ee3eb403d606252bab6cc130bd5</id>
<content type='text'>
Refer to a merged commit.
https://review.openstack.org/#/c/588983/

Refactor the getid method both in cinderclient/base.py
and in cinderclient/apiclient/base.py

TrivialFix

Change-Id: I4d1fb81f6876ab072ded3f14004ad064dcc949d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refer to a merged commit.
https://review.openstack.org/#/c/588983/

Refactor the getid method both in cinderclient/base.py
and in cinderclient/apiclient/base.py

TrivialFix

Change-Id: I4d1fb81f6876ab072ded3f14004ad064dcc949d3
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused cinderclient/apiclient/client.py module</title>
<updated>2018-02-20T15:16:16+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem.os@gmail.com</email>
</author>
<published>2018-02-20T15:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=98822d1fb4c28f5192fb8245c0737e50e3f20ac0'/>
<id>98822d1fb4c28f5192fb8245c0737e50e3f20ac0</id>
<content type='text'>
This old module was a carry over from the oslo incubator days
and is no longer used.

Change-Id: I44982d2581e90b781c78f3d2421cd1dcd8e590fd
Related-Bug: #1685678
Related-Bug: #1640269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This old module was a carry over from the oslo incubator days
and is no longer used.

Change-Id: I44982d2581e90b781c78f3d2421cd1dcd8e590fd
Related-Bug: #1685678
Related-Bug: #1640269
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused and duplicated fake_client module</title>
<updated>2017-03-10T15:27:49+00:00</updated>
<author>
<name>Ivan Kolodyazhny</name>
<email>e0ne@e0ne.info</email>
</author>
<published>2017-03-10T15:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=ff32fb788795e64c129b6d1c832dc86500a3eacb'/>
<id>ff32fb788795e64c129b6d1c832dc86500a3eacb</id>
<content type='text'>
Change-Id: I3d3f335832b8cc44681235c79855a0cdd579894b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3d3f335832b8cc44681235c79855a0cdd579894b
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle log message interpolation by the logger</title>
<updated>2017-02-07T15:22:27+00:00</updated>
<author>
<name>Gábor Antal</name>
<email>antal@inf.u-szeged.hu</email>
</author>
<published>2017-02-07T15:21:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=84346b5dba784bfeb3a53ae83d400ba264263cf6'/>
<id>84346b5dba784bfeb3a53ae83d400ba264263cf6</id>
<content type='text'>
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: Ib5f86d1f0846e292457813c893b73c6999e554a5
Closes-Bug: #1596829
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: Ib5f86d1f0846e292457813c893b73c6999e554a5
Closes-Bug: #1596829
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix adding non-ascii attrs to Resource objects error</title>
<updated>2017-01-20T20:12:29+00:00</updated>
<author>
<name>Michael Dovgal</name>
<email>mdovgal@mirantis.com</email>
</author>
<published>2016-12-26T11:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=d8a621015259eaafd8d1fee99db3ca663cd4be5c'/>
<id>d8a621015259eaafd8d1fee99db3ca663cd4be5c</id>
<content type='text'>
Due to these lines of code [0] we don't have an opportunity
to add attributes with non-ascii symbols to Resource objects,
but information about it will be in _info dict.

Example of side effect - quota_show command.
Because we don't have such an attr, here [1] it will be added
None value instead of real value [2].

This patch fixes this problem.

[0] - https://github.com/openstack/python-cinderclient/blob/f8c93ed03b388612ca28b8055debf915ce631cec/cinderclient/apiclient/base.py#L498-L499
[1] - https://github.com/openstack/python-cinderclient/blob/f8c93ed03b388612ca28b8055debf915ce631cec/cinderclient/shell_utils.py#L179
[2] - http://paste.openstack.org/show/593358/

Change-Id: I0493845dafc5dad836e899b9c22d563023c1dab0
Closes-Bug: #1652605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to these lines of code [0] we don't have an opportunity
to add attributes with non-ascii symbols to Resource objects,
but information about it will be in _info dict.

Example of side effect - quota_show command.
Because we don't have such an attr, here [1] it will be added
None value instead of real value [2].

This patch fixes this problem.

[0] - https://github.com/openstack/python-cinderclient/blob/f8c93ed03b388612ca28b8055debf915ce631cec/cinderclient/apiclient/base.py#L498-L499
[1] - https://github.com/openstack/python-cinderclient/blob/f8c93ed03b388612ca28b8055debf915ce631cec/cinderclient/shell_utils.py#L179
[2] - http://paste.openstack.org/show/593358/

Change-Id: I0493845dafc5dad836e899b9c22d563023c1dab0
Closes-Bug: #1652605
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Minor refactoring for nested try-block"</title>
<updated>2016-12-23T18:59:17+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-12-23T18:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=4eb63b8ef278de2e82e3b4957b95ba6fd9032e4f'/>
<id>4eb63b8ef278de2e82e3b4957b95ba6fd9032e4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
