<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/shell.py, branch 4.3.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>glance help &lt;subcommand&gt;: Clearly specify which options are mandatory</title>
<updated>2021-12-14T15:14:10+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril@redhat.com</email>
</author>
<published>2021-06-23T21:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=91ae9347dbc125a19fedd107df5cc013e018e7e1'/>
<id>91ae9347dbc125a19fedd107df5cc013e018e7e1</id>
<content type='text'>
Earlier glance help &lt;subcommand&gt; was listing required arguments as
optional arguments in help text. Added new argument group to list
required argument properly.

$ glance help stores-delete

Example before this change:
usage: glance stores-delete --store &lt;STORE_ID&gt; &lt;IMAGE_ID&gt;

Delete image from specific store.

Positional arguments:
  &lt;IMAGE_ID&gt;          ID of image to update.

Optional arguments:
  --store &lt;STORE_ID&gt;  Store to delete image from.

After this change:
usage: glance stores-delete --store &lt;STORE_ID&gt; &lt;IMAGE_ID&gt;

Delete image from specific store.

Positional arguments:
  &lt;IMAGE_ID&gt;          ID of image to update.

Required arguments:
  --store &lt;STORE_ID&gt;  Store to delete image from.

Change-Id: I51ea4c43fa62164ed43e78d1ae0fb0cb2521fc83
Closes-Bug: #1933390
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Earlier glance help &lt;subcommand&gt; was listing required arguments as
optional arguments in help text. Added new argument group to list
required argument properly.

$ glance help stores-delete

Example before this change:
usage: glance stores-delete --store &lt;STORE_ID&gt; &lt;IMAGE_ID&gt;

Delete image from specific store.

Positional arguments:
  &lt;IMAGE_ID&gt;          ID of image to update.

Optional arguments:
  --store &lt;STORE_ID&gt;  Store to delete image from.

After this change:
usage: glance stores-delete --store &lt;STORE_ID&gt; &lt;IMAGE_ID&gt;

Delete image from specific store.

Positional arguments:
  &lt;IMAGE_ID&gt;          ID of image to update.

Required arguments:
  --store &lt;STORE_ID&gt;  Store to delete image from.

Change-Id: I51ea4c43fa62164ed43e78d1ae0fb0cb2521fc83
Closes-Bug: #1933390
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix undesirable raw Python error</title>
<updated>2021-08-03T10:35:40+00:00</updated>
<author>
<name>Mridula Joshi</name>
<email>mrjoshi@redhat.com</email>
</author>
<published>2021-08-03T10:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=1eb0bbbed7c5ce12aee5f26be7a7aec51ae9ef55'/>
<id>1eb0bbbed7c5ce12aee5f26be7a7aec51ae9ef55</id>
<content type='text'>
Using the glanceclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `glance --os-image-api-version 2`.
Added a default value to `func` as placeholder
so that a help message is shown instead of the Python error.

Closes-Bug: #1903727
Change-Id: Ie4288262e408192310cbbc240bd1779b265a64fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the glanceclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `glance --os-image-api-version 2`.
Added a default value to `func` as placeholder
so that a help message is shown instead of the Python error.

Closes-Bug: #1903727
Change-Id: Ie4288262e408192310cbbc240bd1779b265a64fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Do not use the six library."</title>
<updated>2020-07-17T19:32:29+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2020-07-17T19:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=a29c6be97d923bdfb10bdb1d68a45190930e8212'/>
<id>a29c6be97d923bdfb10bdb1d68a45190930e8212</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not use the six library.</title>
<updated>2020-06-23T19:51:07+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>tipecaml@gmail.com</email>
</author>
<published>2020-06-15T19:28:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=b513c8db4bf6a5b2eb0366117ca22e042dd3529e'/>
<id>b513c8db4bf6a5b2eb0366117ca22e042dd3529e</id>
<content type='text'>
Change-Id: I3dbfcfa0f5f590a41ed549afd44537d8ed41433a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3dbfcfa0f5f590a41ed549afd44537d8ed41433a
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop to use the __future__ module.</title>
<updated>2020-06-02T18:47:47+00:00</updated>
<author>
<name>Hervé Beraud</name>
<email>hberaud@redhat.com</email>
</author>
<published>2020-06-02T18:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=e8455f5c1847638bbd1ca0d74a0003940bf78dc5'/>
<id>e8455f5c1847638bbd1ca0d74a0003940bf78dc5</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: I732a57361319687ca0a64693f0e60bc0d8f5b3d2
</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: I732a57361319687ca0a64693f0e60bc0d8f5b3d2
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated ssl options</title>
<updated>2018-01-17T00:50:57+00:00</updated>
<author>
<name>Rui Yuan Dou</name>
<email>rydou@fiberhome.com</email>
</author>
<published>2017-08-08T03:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=8e862b6018404117263e817a896728e344858d94'/>
<id>8e862b6018404117263e817a896728e344858d94</id>
<content type='text'>
Old deprecated ssl options block the new keystoneauth parser get the
correct value, should be removed.

Change-Id: Ie080f9a8fa7f4407b1fcbb7fb7c763152c5ec295
Closes-Bug: 1697163
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old deprecated ssl options block the new keystoneauth parser get the
correct value, should be removed.

Change-Id: Ie080f9a8fa7f4407b1fcbb7fb7c763152c5ec295
Closes-Bug: 1697163
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Make --profile load from environment variables"</title>
<updated>2017-07-26T04:33:49+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-07-26T04:33:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=ca9ae01841bbf2d8fb69802882d1811f404c080d'/>
<id>ca9ae01841bbf2d8fb69802882d1811f404c080d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the --no-ssl-compression parameter which is deprecated</title>
<updated>2017-07-25T13:21:38+00:00</updated>
<author>
<name>PranaliD</name>
<email>pdeore@redhat.com</email>
</author>
<published>2017-05-02T10:35:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=28c003dc1179ddb3124fd30c6f525dd341ae9213'/>
<id>28c003dc1179ddb3124fd30c6f525dd341ae9213</id>
<content type='text'>
--no-ssl-compression is deprecated and no longer used. So, it is
removed from the help message.

Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062
Closes-Bug: #1583919
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--no-ssl-compression is deprecated and no longer used. So, it is
removed from the help message.

Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062
Closes-Bug: #1583919
</pre>
</div>
</content>
</entry>
<entry>
<title>Make --profile load from environment variables</title>
<updated>2017-07-24T06:30:29+00:00</updated>
<author>
<name>Tovin Seven</name>
<email>vinhnt@vn.fujitsu.com</email>
</author>
<published>2017-06-19T03:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=c0f88d5fc0fd947319e022cfeba21bcb15635316'/>
<id>c0f88d5fc0fd947319e022cfeba21bcb15635316</id>
<content type='text'>
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.

Correct/update help text.

Co-Authored-By: Hieu LE &lt;hieulq@vn.fujitsu.com&gt;
Change-Id: I67c1e4b859b972e380eb658c98ceae4fbef5c254
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.

Correct/update help text.

Co-Authored-By: Hieu LE &lt;hieulq@vn.fujitsu.com&gt;
Change-Id: I67c1e4b859b972e380eb658c98ceae4fbef5c254
</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>
</feed>
