<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/persistence, branch 4.6.2</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Fix flowdetails meta size</title>
<updated>2021-05-03T08:16:10+00:00</updated>
<author>
<name>Gregory Thiemonge</name>
<email>gthiemon@redhat.com</email>
</author>
<published>2021-04-27T14:53:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=ebdb7a85d0cbd84578e9b48f7ac4c2dea94a3798'/>
<id>ebdb7a85d0cbd84578e9b48f7ac4c2dea94a3798</id>
<content type='text'>
meta field in flowdetails is defined as a JSON data type, but its data
type is 'text' in mysql, which is limited to 64kbytes. JSON data type
should have the same size as a LONGTEXT.

Closes-Bug: #1926304

Change-Id: I9f89badfc697f0f26245ca7f4c22d62e220be5f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
meta field in flowdetails is defined as a JSON data type, but its data
type is 'text' in mysql, which is limited to 64kbytes. JSON data type
should have the same size as a LONGTEXT.

Closes-Bug: #1926304

Change-Id: I9f89badfc697f0f26245ca7f4c22d62e220be5f9
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix deprecated Alembic function args</title>
<updated>2021-01-28T22:58:26+00:00</updated>
<author>
<name>Adam Harwell</name>
<email>flux.adam@gmail.com</email>
</author>
<published>2021-01-28T22:58:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=0f7c6e94a958f7fe651de5745321e17a778c9099'/>
<id>0f7c6e94a958f7fe651de5745321e17a778c9099</id>
<content type='text'>
create_index and create_foreign_key were using long-deprecated argument
names which were finally removed as of 1.5.0:
https://alembic.sqlalchemy.org/en/latest/changelog.html#change-da0bea3199b905783ddbd0cde968beec

Change-Id: I03405e3d0daf085d0849a6e3effc65ec05ceb7a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
create_index and create_foreign_key were using long-deprecated argument
names which were finally removed as of 1.5.0:
https://alembic.sqlalchemy.org/en/latest/changelog.html#change-da0bea3199b905783ddbd0cde968beec

Change-Id: I03405e3d0daf085d0849a6e3effc65ec05ceb7a1
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop to use the __future__ module.</title>
<updated>2020-06-02T19:00:56+00:00</updated>
<author>
<name>Hervé Beraud</name>
<email>hberaud@redhat.com</email>
</author>
<published>2020-06-02T19:00:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1877565d4dc1582771d677954f40fe8e60bdc590'/>
<id>1877565d4dc1582771d677954f40fe8e60bdc590</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: Ie7c18f2f1b6294e3d19c36112d35f4472ce77e7b
</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: Ie7c18f2f1b6294e3d19c36112d35f4472ce77e7b
</pre>
</div>
</content>
</entry>
<entry>
<title>Use mysql LONGTEXT for atomdetails results</title>
<updated>2019-08-09T07:18:31+00:00</updated>
<author>
<name>Ann Taraday</name>
<email>akamyshnikova@mirantis.com</email>
</author>
<published>2019-08-08T12:56:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=f0eae2cc7c1222ee1bbc1a0018337fb2a2289de2'/>
<id>f0eae2cc7c1222ee1bbc1a0018337fb2a2289de2</id>
<content type='text'>
With a lot of possible retries using mysql sa.Text for result field
atomdetails table is not enough.

Updated 'results' column type to LONGTEXT in mysql backend case.

PosgreSQL seems not to be affected as postgres text type is not
having length limitation.

Co-Authored-By: Michael Johnson &lt;johnsomor@gmail.com&gt;

Change-Id: I4e44e3288ae49d85c5b5ce8ff26ba83f3b9d2c7b
Closes-bug: #1838015
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With a lot of possible retries using mysql sa.Text for result field
atomdetails table is not enough.

Updated 'results' column type to LONGTEXT in mysql backend case.

PosgreSQL seems not to be affected as postgres text type is not
having length limitation.

Co-Authored-By: Michael Johnson &lt;johnsomor@gmail.com&gt;

Change-Id: I4e44e3288ae49d85c5b5ce8ff26ba83f3b9d2c7b
Closes-bug: #1838015
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix doc build</title>
<updated>2018-05-09T19:50:20+00:00</updated>
<author>
<name>Ben Nemec</name>
<email>bnemec@redhat.com</email>
</author>
<published>2018-04-30T16:23:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=e93f40cd1cb9d49464b2a60fa0287e806892456c'/>
<id>e93f40cd1cb9d49464b2a60fa0287e806892456c</id>
<content type='text'>
Most notably, taskflow is hitting the sphinx issue
https://github.com/sphinx-doc/sphinx/issues/2549 which causes a
spurious warning that breaks the build with -W.  There is a
workaround posted in
https://stackoverflow.com/questions/31784830/sphinx-ivar-tag-goes-looking-for-cross-references
to move :ivar: docstrings to inline comments on the member variable
itself.  This is not ideal because it causes the docs to render
differently from :ivar:, but until the sphinx bug is fixed it will
allow us to keep documenting the problematic variables.

There was also a problem with one of the doctests because the
output had changed.  That is now fixed.

I also noticed a typo in one of the parameter descriptions so that
is fixed too.

Change-Id: Ib44621f6c3ba2c5476ec430218a0449f9f45d18f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most notably, taskflow is hitting the sphinx issue
https://github.com/sphinx-doc/sphinx/issues/2549 which causes a
spurious warning that breaks the build with -W.  There is a
workaround posted in
https://stackoverflow.com/questions/31784830/sphinx-ivar-tag-goes-looking-for-cross-references
to move :ivar: docstrings to inline comments on the member variable
itself.  This is not ideal because it causes the docs to render
differently from :ivar:, but until the sphinx bug is fixed it will
allow us to keep documenting the problematic variables.

There was also a problem with one of the doctests because the
output had changed.  That is now fixed.

I also noticed a typo in one of the parameter descriptions so that
is fixed too.

Change-Id: Ib44621f6c3ba2c5476ec430218a0449f9f45d18f
</pre>
</div>
</content>
</entry>
<entry>
<title>turn on warning-is-error in doc build</title>
<updated>2017-07-08T23:11:17+00:00</updated>
<author>
<name>Doug Hellmann</name>
<email>doug@doughellmann.com</email>
</author>
<published>2017-07-08T18:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=0c99c6d3c6c94c4d35e9c6132661563251b91b4e'/>
<id>0c99c6d3c6c94c4d35e9c6132661563251b91b4e</id>
<content type='text'>
Change-Id: Id87a1b17c1986d0e30629fed13bdfbecef4a3603
Signed-off-by: Doug Hellmann &lt;doug@doughellmann.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id87a1b17c1986d0e30629fed13bdfbecef4a3603
Signed-off-by: Doug Hellmann &lt;doug@doughellmann.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python3.0 has deprecated LOG.warn</title>
<updated>2017-03-07T09:29:26+00:00</updated>
<author>
<name>xhzhf</name>
<email>guoyongxhzhf@163.com</email>
</author>
<published>2016-12-18T00:30:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=4e0125e4e52e67af0bf1bd84244fb6cb80e09abf'/>
<id>4e0125e4e52e67af0bf1bd84244fb6cb80e09abf</id>
<content type='text'>
python3.0 has deprecated LOG.warn
https://docs.python.org/3/library/logging.html#logging.warning
Closes-Bug: #1650843

Change-Id: Ib8473cbdb84547f385e619fe08ed723b1ee7bcdb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python3.0 has deprecated LOG.warn
https://docs.python.org/3/library/logging.html#logging.warning
Closes-Bug: #1650843

Change-Id: Ib8473cbdb84547f385e619fe08ed723b1ee7bcdb
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace retrying with tenacity</title>
<updated>2016-11-03T13:36:16+00:00</updated>
<author>
<name>Gevorg Davoian</name>
<email>gdavoian@mirantis.com</email>
</author>
<published>2016-10-24T21:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1a2370ac917ed1f888ef98a45270912b08f27844'/>
<id>1a2370ac917ed1f888ef98a45270912b08f27844</id>
<content type='text'>
This patch replaces the legacy retrying library with the newer
and more convenient tenacity one, taking into account that:
1) retrying uses milliseconds for wait times, but tenacity uses seconds;
2) retrying has a lot of numeric arguments for specifying behaviour
of decorated functions, while tenacity has a few of them, which are
specialized objects, thus making the retry-decorator more flexible.

Change-Id: I4b165d37b2ecc210f2b94c103b73eaab51529261
Closes-Bug: #1635404
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces the legacy retrying library with the newer
and more convenient tenacity one, taking into account that:
1) retrying uses milliseconds for wait times, but tenacity uses seconds;
2) retrying has a lot of numeric arguments for specifying behaviour
of decorated functions, while tenacity has a few of them, which are
specialized objects, thus making the retry-decorator more flexible.

Change-Id: I4b165d37b2ecc210f2b94c103b73eaab51529261
Closes-Bug: #1635404
</pre>
</div>
</content>
</entry>
<entry>
<title>Use method ensure_tree from oslo.utils</title>
<updated>2016-09-25T02:53:52+00:00</updated>
<author>
<name>ChangBo Guo(gcb)</name>
<email>eric.guo@easystack.cn</email>
</author>
<published>2016-09-25T02:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=e34bd5f5d9c60ce49c6e249ebe2e29c8cfbbbb01'/>
<id>e34bd5f5d9c60ce49c6e249ebe2e29c8cfbbbb01</id>
<content type='text'>
Oslo.utils provides same function and just use it.

Change-Id: Iac245d4d98c41edea5294a4d8842db69a42b3794
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Oslo.utils provides same function and just use it.

Change-Id: Iac245d4d98c41edea5294a4d8842db69a42b3794
</pre>
</div>
</content>
</entry>
<entry>
<title>remove unused LOG</title>
<updated>2016-07-09T17:44:38+00:00</updated>
<author>
<name>ji-xuepeng</name>
<email>ji.xuepeng@zte.com.cn</email>
</author>
<published>2016-07-09T17:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=185830b556c8157cab50ffd1fd82df63d6ba9fb7'/>
<id>185830b556c8157cab50ffd1fd82df63d6ba9fb7</id>
<content type='text'>
This is to remove unused LOG to keep code clean.

Change-Id: Ie44659f3b7af9612f127f7d46bb2c1481b6a634f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to remove unused LOG to keep code clean.

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