<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/cliff.git, branch master</title>
<subtitle>opendev.org: openstack/cliff.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/'/>
<entry>
<title>Removing helper functions providing Python &lt; 3.3 compatibility</title>
<updated>2023-03-01T08:18:15+00:00</updated>
<author>
<name>Jiri Podivin</name>
<email>jpodivin@redhat.com</email>
</author>
<published>2022-10-26T12:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=72e81d7d846a8e306fd8d98e2f15270a8a537620'/>
<id>72e81d7d846a8e306fd8d98e2f15270a8a537620</id>
<content type='text'>
Functions used for deriving terminal width are no longer
necessary, as Python 3.3 introduced[0] built in solution.

Remaining helper function `utils.terminal_width` received docstring
explaining return parameters.

Method `_assign_max_widths` of the `TableFormatter` class was refactored
to no longer use the `stdout` argument. Uses of the method were adjusted accordingly.
Method now also has minimal docstring. Minor adjustment was made to inline comments
to more closely reflect functionality of the code.

[0]https://docs.python.org/3.8/library/os.html?highlight=get_terminal_size#os.get_terminal_size

Signed-off-by: Jiri Podivin &lt;jpodivin@redhat.com&gt;
Change-Id: I2898f099227e8c97aef6492c60f2f99038aa1357
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functions used for deriving terminal width are no longer
necessary, as Python 3.3 introduced[0] built in solution.

Remaining helper function `utils.terminal_width` received docstring
explaining return parameters.

Method `_assign_max_widths` of the `TableFormatter` class was refactored
to no longer use the `stdout` argument. Uses of the method were adjusted accordingly.
Method now also has minimal docstring. Minor adjustment was made to inline comments
to more closely reflect functionality of the code.

[0]https://docs.python.org/3.8/library/os.html?highlight=get_terminal_size#os.get_terminal_size

Signed-off-by: Jiri Podivin &lt;jpodivin@redhat.com&gt;
Change-Id: I2898f099227e8c97aef6492c60f2f99038aa1357
</pre>
</div>
</content>
</entry>
<entry>
<title>Strip trailing periods when getting description</title>
<updated>2022-12-12T18:14:52+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>sfinucan@redhat.com</email>
</author>
<published>2022-12-12T18:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=fb9a3a9b2daa21317d0adceca86215c393e975e6'/>
<id>fb9a3a9b2daa21317d0adceca86215c393e975e6</id>
<content type='text'>
This yields slightly prettier output.

Change-Id: Ibec7cd861eacc3630182d6a782ffaf361f449aa6
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This yields slightly prettier output.

Change-Id: Ibec7cd861eacc3630182d6a782ffaf361f449aa6
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "columns: Useful __str__, __repr__ implementation"</title>
<updated>2022-10-04T18:15:39+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-10-04T18:15:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=91c62985fb6c529cecfed5354ae687d62c25a821'/>
<id>91c62985fb6c529cecfed5354ae687d62c25a821</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Replace abc.abstractproperty with property and abc.abstractmethod"</title>
<updated>2022-10-04T18:15:37+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-10-04T18:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=d1b46e9f97a990cc8456ecfc7efc5263a41f24ba'/>
<id>d1b46e9f97a990cc8456ecfc7efc5263a41f24ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>columns: Useful __str__, __repr__ implementation</title>
<updated>2022-10-03T13:23:47+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>sfinucan@redhat.com</email>
</author>
<published>2022-09-20T15:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=67217b0e56cae8e88ebb861d3894551e3dedb1b7'/>
<id>67217b0e56cae8e88ebb861d3894551e3dedb1b7</id>
<content type='text'>
The default implementations for __str__ and __repr__ are rubbish.

  &gt;&gt;&gt; from osc_lib.cli import format_columns
  &gt;&gt;&gt; str(format_columns.DictColumn({'foo': 'bar'}))
  '&lt;osc_lib.cli.format_columns.DictColumn object at 0x7f6e26771e40&gt;'
  &gt;&gt;&gt; repr(format_columns.DictColumn({'foo': 'bar'}))
  '&lt;osc_lib.cli.format_columns.DictColumn object at 0x7f6e26b57ac0&gt;'

Make it useful.

  &gt;&gt;&gt; from osc_lib.cli import format_columns
  &gt;&gt;&gt; str(format_columns.DictColumn({'foo': 'bar'}))
  "foo='bar'"
  &gt;&gt;&gt; repr(format_columns.DictColumn({'foo': 'bar'}))
  "DictColumn({'foo': 'bar'})"

This helps when testing as the reason for mismatches will be more
obvious.

Change-Id: I8b8598875f896cb3dbf417515d377e7758b3b98b
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default implementations for __str__ and __repr__ are rubbish.

  &gt;&gt;&gt; from osc_lib.cli import format_columns
  &gt;&gt;&gt; str(format_columns.DictColumn({'foo': 'bar'}))
  '&lt;osc_lib.cli.format_columns.DictColumn object at 0x7f6e26771e40&gt;'
  &gt;&gt;&gt; repr(format_columns.DictColumn({'foo': 'bar'}))
  '&lt;osc_lib.cli.format_columns.DictColumn object at 0x7f6e26b57ac0&gt;'

Make it useful.

  &gt;&gt;&gt; from osc_lib.cli import format_columns
  &gt;&gt;&gt; str(format_columns.DictColumn({'foo': 'bar'}))
  "foo='bar'"
  &gt;&gt;&gt; repr(format_columns.DictColumn({'foo': 'bar'}))
  "DictColumn({'foo': 'bar'})"

This helps when testing as the reason for mismatches will be more
obvious.

Change-Id: I8b8598875f896cb3dbf417515d377e7758b3b98b
Signed-off-by: Stephen Finucane &lt;sfinucan@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Python3 antelope unit tests</title>
<updated>2022-09-09T11:21:06+00:00</updated>
<author>
<name>OpenStack Release Bot</name>
<email>infra-root@openstack.org</email>
</author>
<published>2022-09-09T11:21:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=9614d30450c642dd176ba00e6b6c2a893d742171'/>
<id>9614d30450c642dd176ba00e6b6c2a893d742171</id>
<content type='text'>
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I96731db47eee8597bce78d69529695d76db998e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I96731db47eee8597bce78d69529695d76db998e4
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Removing brackets around tested conditional"</title>
<updated>2022-08-04T18:00:46+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-08-04T18:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=58c853d1015c8bde2afa777a9bb1246a65645f3f'/>
<id>58c853d1015c8bde2afa777a9bb1246a65645f3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing brackets around tested conditional</title>
<updated>2022-08-04T14:32:44+00:00</updated>
<author>
<name>Jiri Podivin</name>
<email>jpodivin@redhat.com</email>
</author>
<published>2022-08-04T14:32:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=56b700afcab95080182687f945c62cc96f650e45'/>
<id>56b700afcab95080182687f945c62cc96f650e45</id>
<content type='text'>
While permissible syntactically, using brackets to wrap tested conditional is unnecessary
and potentially confusing. As without inserted whitspace the code may look as a function
call, rather than a statement and expression.

The construct is also considered erroneous by linters.

Closes-Bug: 1983593

Signed-off-by: Jiri Podivin &lt;jpodivin@redhat.com&gt;
Change-Id: I0a086a8349e2a72cae024857e148fddc3556c319
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While permissible syntactically, using brackets to wrap tested conditional is unnecessary
and potentially confusing. As without inserted whitspace the code may look as a function
call, rather than a statement and expression.

The construct is also considered erroneous by linters.

Closes-Bug: 1983593

Signed-off-by: Jiri Podivin &lt;jpodivin@redhat.com&gt;
Change-Id: I0a086a8349e2a72cae024857e148fddc3556c319
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace abc.abstractproperty with property and abc.abstractmethod</title>
<updated>2022-08-04T05:03:13+00:00</updated>
<author>
<name>ljhuang</name>
<email>huang.liujie@99cloud.net</email>
</author>
<published>2022-08-04T01:00:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=4ba0a97f85483add9a03db4031d9c2bd6f11dd11'/>
<id>4ba0a97f85483add9a03db4031d9c2bd6f11dd11</id>
<content type='text'>
Replace abc.abstractproperty with property and abc.abstractmethod,
as abc.abstractproperty has been deprecated since python3.3[1]

[1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc

Change-Id: I5e86211323c5e08553a5c777c0b6d1d85f95e1a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace abc.abstractproperty with property and abc.abstractmethod,
as abc.abstractproperty has been deprecated since python3.3[1]

[1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc

Change-Id: I5e86211323c5e08553a5c777c0b6d1d85f95e1a9
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Remove final use of pkg_resources"</title>
<updated>2022-07-18T18:49:03+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-07-18T18:49:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/cliff.git/commit/?id=f782f42b94446a3401b644c93a9f120e77d5fb9e'/>
<id>f782f42b94446a3401b644c93a9f120e77d5fb9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
