<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/utils.py, branch 7.2.0</title>
<subtitle>opendev.org: openstack/python-troveclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/'/>
<entry>
<title>Support project name in quota CLI</title>
<updated>2021-04-29T02:17:48+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2021-04-28T23:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=e41d08d24325a61a213592934b508bf77ce67dac'/>
<id>e41d08d24325a61a213592934b508bf77ce67dac</id>
<content type='text'>
Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
</pre>
</div>
</content>
</entry>
<entry>
<title>Support to restore backup from data location</title>
<updated>2021-02-20T11:37:08+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2021-02-19T20:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=c7319d8fe8cb6cfd5c423472283aadffb12ed52c'/>
<id>c7319d8fe8cb6cfd5c423472283aadffb12ed52c</id>
<content type='text'>
This feature needs to bump python-troveclient major version as it
introduced an incompatible change for backup creation CLI.

Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature needs to bump python-troveclient major version as it
introduced an incompatible change for backup creation CLI.

Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in print_list when using formatters</title>
<updated>2020-12-29T08:29:51+00:00</updated>
<author>
<name>zhangjunhui</name>
<email>zhangjunhui@yovole.com</email>
</author>
<published>2020-12-28T07:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=182301ac681d7f8e1e00a8163f6ac301aad9522b'/>
<id>182301ac681d7f8e1e00a8163f6ac301aad9522b</id>
<content type='text'>
If using formatters it will raise a error that local variable
'data' referenced before assignment

story: 2008472
task: 41511
Change-Id: I6c66139b54a203bd8af01e8534e4d7ce7735e02d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If using formatters it will raise a error that local variable
'data' referenced before assignment

story: 2008472
task: 41511
Change-Id: I6c66139b54a203bd8af01e8534e4d7ce7735e02d
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove six</title>
<updated>2020-10-13T03:02:06+00:00</updated>
<author>
<name>wangzihao</name>
<email>wangzihao@yovole.com</email>
</author>
<published>2020-10-12T11:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=17d2d5175e322519da96c41c761027e49c10c766'/>
<id>17d2d5175e322519da96c41c761027e49c10c766</id>
<content type='text'>
Remove all usages of six.

Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all usages of six.

Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop to use the __future__ module.</title>
<updated>2020-06-02T18:54:04+00:00</updated>
<author>
<name>Hervé Beraud</name>
<email>hberaud@redhat.com</email>
</author>
<published>2020-06-02T18:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=e2bf7cff227eb464550aac1f94b504265c5ed26a'/>
<id>e2bf7cff227eb464550aac1f94b504265c5ed26a</id>
<content type='text'>
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I73b532283079d346b75a925e2aee707c4de8fa9e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I73b532283079d346b75a925e2aee707c4de8fa9e
</pre>
</div>
</content>
</entry>
<entry>
<title>Support to batch delete database instances</title>
<updated>2019-06-06T01:38:35+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2019-06-06T01:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=16d1dedb54dc70a6f0ae7e5068fd5582f0539a5a'/>
<id>16d1dedb54dc70a6f0ae7e5068fd5582f0539a5a</id>
<content type='text'>
Allow users to delete database instances in batch, usage:

usage: openstack database instance delete [-h] instance [instance ...]

Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow users to delete database instances in batch, usage:

usage: openstack database instance delete [-h] instance [instance ...]

Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix show instance with integer name NotFound</title>
<updated>2018-01-16T08:00:29+00:00</updated>
<author>
<name>renminmin</name>
<email>mm.ren@haihangyun.com</email>
</author>
<published>2017-12-25T10:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=c346c7be7138edf4437ace2c7efdeb320d814332'/>
<id>c346c7be7138edf4437ace2c7efdeb320d814332</id>
<content type='text'>
Fix trove cli 'show' instance with integer name error

Change-Id: Ic6a943b4d5980017915dd2c0361636877376c5cb
Closes-bug: #1740015
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix trove cli 'show' instance with integer name error

Change-Id: Ic6a943b4d5980017915dd2c0361636877376c5cb
Closes-bug: #1740015
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix print_list label name in troveclient/utils.py</title>
<updated>2017-12-21T14:35:34+00:00</updated>
<author>
<name>zhanggang</name>
<email>zhanggang@cmss.chinamobile.com</email>
</author>
<published>2017-12-12T08:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=aa81cd281db4666b09e5333d0a2001cbe415c4f6'/>
<id>aa81cd281db4666b09e5333d0a2001cbe415c4f6</id>
<content type='text'>
The output of list make nice labels from fields. Fisrt, replace
underscore with space. Then, replace "id" with "ID". Finally,
capitalize each word. This works fine for "*_id"(for exmaple,
"flavor_id" will be replaced to "Flavor ID"), but when a word
has a "id" inside, it will be wrong. For example, "cidr"
will be replaced to "CIDr", actually it should be "Cidr".

This change fix the problem, only "id" after a underscore will be
replaced to "ID".

Change-Id: I8e357c946b21dc6f6c6c79d78a45f23b440a57da
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The output of list make nice labels from fields. Fisrt, replace
underscore with space. Then, replace "id" with "ID". Finally,
capitalize each word. This works fine for "*_id"(for exmaple,
"flavor_id" will be replaced to "Flavor ID"), but when a word
has a "id" inside, it will be wrong. For example, "cidr"
will be replaced to "CIDr", actually it should be "Cidr".

This change fix the problem, only "id" after a underscore will be
replaced to "ID".

Change-Id: I8e357c946b21dc6f6c6c79d78a45f23b440a57da
</pre>
</div>
</content>
</entry>
<entry>
<title>Support delete and cluster_delete with many resources</title>
<updated>2017-12-21T02:44:24+00:00</updated>
<author>
<name>wangyao</name>
<email>wangyao@cmss.chinamobile.com</email>
</author>
<published>2017-11-20T09:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=3d9576bfa581be42e8892440eddeb62f88d6e7c9'/>
<id>3d9576bfa581be42e8892440eddeb62f88d6e7c9</id>
<content type='text'>
Not like nova-delete when use trove-delete there is only support
delete an instance everytime. With this patch, we can delete
many instances or clusters in the same call, like
trove delete instance1 instance2.

Change-Id: I6bb0c406ba7f4c0e43cddfdff1d156b7e82ffa7a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not like nova-delete when use trove-delete there is only support
delete an instance everytime. With this patch, we can delete
many instances or clusters in the same call, like
trove delete instance1 instance2.

Change-Id: I6bb0c406ba7f4c0e43cddfdff1d156b7e82ffa7a
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add proper message when delete instance or cluster"</title>
<updated>2017-11-17T02:08:53+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2017-11-17T02:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=34dbdd2198a17cde04911f39fb084681f581743c'/>
<id>34dbdd2198a17cde04911f39fb084681f581743c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
