<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/persistence/backends/sqlalchemy/alembic, branch master</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Fix atomdetails failure column size</title>
<updated>2022-01-27T20:03:18+00:00</updated>
<author>
<name>Pavlo Shchelokovskyy</name>
<email>shchelokovskyy@gmail.com</email>
</author>
<published>2022-01-27T16:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=83dfa6581eec1b9d32d519592c4212e6195998a3'/>
<id>83dfa6581eec1b9d32d519592c4212e6195998a3</id>
<content type='text'>
failure and revert_failure fields in atomdetails is defined as a JSON 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: #1959243
Change-Id: I65b6a6d896d3e8aad871dc19b0f8d0eddf48bdd6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
failure and revert_failure fields in atomdetails is defined as a JSON 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: #1959243
Change-Id: I65b6a6d896d3e8aad871dc19b0f8d0eddf48bdd6
</pre>
</div>
</content>
</entry>
<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://trove.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://trove.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://trove.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://trove.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>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://trove.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>Merge "Use alembic upgrade function/command directly"</title>
<updated>2016-01-06T04:02:17+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-01-06T04:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=0f817ff59dc95f847f95ecfd185f54045ca95f9a'/>
<id>0f817ff59dc95f847f95ecfd185f54045ca95f9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix currently broken and inactive mysql tests</title>
<updated>2015-12-22T20:39:28+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-12-22T20:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=25a8e4b13253cd13d1c9590c8e5415c2a3204e00'/>
<id>25a8e4b13253cd13d1c9590c8e5415c2a3204e00</id>
<content type='text'>
Commit 868dd8485456ce78a396b687ec7744dc365f06be added a
migration script that caused there to be two heads (starting
points) of migrations which would cause alembic to be unable
to do the initial schema creation (and upgrade).

So this fixes that by correctly making one head only and
not skipping tests for a database if it can not be
upgraded for whatever reason (which was silencing the
test failures).

Closes-bug: #1528683

Change-Id: Id571072eec1dc3b6cbb9e868854f6db0b271e5f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 868dd8485456ce78a396b687ec7744dc365f06be added a
migration script that caused there to be two heads (starting
points) of migrations which would cause alembic to be unable
to do the initial schema creation (and upgrade).

So this fixes that by correctly making one head only and
not skipping tests for a database if it can not be
upgraded for whatever reason (which was silencing the
test failures).

Closes-bug: #1528683

Change-Id: Id571072eec1dc3b6cbb9e868854f6db0b271e5f8
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the sqlalchemy-utils json type instead of our own</title>
<updated>2015-09-10T00:54:11+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-06-04T04:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=598e09fb062daed36fd4f10943ce9b4381843c9e'/>
<id>598e09fb062daed36fd4f10943ce9b4381843c9e</id>
<content type='text'>
Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Retain atom 'revert' result (or failure)</title>
<updated>2015-07-11T01:12:48+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-06-17T18:28:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c'/>
<id>a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c</id>
<content type='text'>
When a atom is reverted it can be useful to retain the
result of that 'revert' method being called, so that it
can be later analyzed (or used for various purposes) so
adjust the storage, and actions to enable it to be stored.

Change-Id: I38a9a5f3bf7550e924468bb4a86652cb8beb306c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a atom is reverted it can be useful to retain the
result of that 'revert' method being called, so that it
can be later analyzed (or used for various purposes) so
adjust the storage, and actions to enable it to be stored.

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