<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/persistence/backends/impl_dir.py, 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>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://trove.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>Fix how the dir persistence backend was not listing logbooks</title>
<updated>2015-09-04T18:20:24+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-09-04T18:08:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=f6450d9d6b848c59c0ca0fa1fc95f0e5eae1a1fe'/>
<id>f6450d9d6b848c59c0ca0fa1fc95f0e5eae1a1fe</id>
<content type='text'>
Due to the usage of the os.path.islink check this means that no
logbooks would be returned when get_logbooks was called, which is
not the behavior we want.

Closes-Bug: #1492403

Change-Id: Ife6a5bec777c9e2d820391914ce2c6fbbadf4f79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to the usage of the os.path.islink check this means that no
logbooks would be returned when get_logbooks was called, which is
not the behavior we want.

Closes-Bug: #1492403

Change-Id: Ife6a5bec777c9e2d820391914ce2c6fbbadf4f79
</pre>
</div>
</content>
</entry>
<entry>
<title>Use io.open vs raw open</title>
<updated>2015-07-11T03:07:20+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-07-11T02:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=e0041973b271c6eda0a2d37cc20d049cb3cf1fbd'/>
<id>e0041973b271c6eda0a2d37cc20d049cb3cf1fbd</id>
<content type='text'>
The io.open call can take in a encoding so we don't need
to read in binary mode, then convert it since it can just
do that on our behalf.

Change-Id: I0cce2841b40f1566ba07ff95a553cb18ea9059ee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The io.open call can take in a encoding so we don't need
to read in binary mode, then convert it since it can just
do that on our behalf.

Change-Id: I0cce2841b40f1566ba07ff95a553cb18ea9059ee
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the default file encoding a class constant with a docstring</title>
<updated>2015-06-10T18:04:59+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-05-23T20:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=deaf61caac32961266e2d0644ad4312ea2dcd867'/>
<id>deaf61caac32961266e2d0644ad4312ea2dcd867</id>
<content type='text'>
Having this exposed makes it easier to know what it is being
used for and what the default is (and also makes it show up
in generated docs, so people can read all about it).

Change-Id: I2e0f85d9c087d220671e2dbf82d497677c462a9e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having this exposed makes it easier to know what it is being
used for and what the default is (and also makes it show up
in generated docs, so people can read all about it).

Change-Id: I2e0f85d9c087d220671e2dbf82d497677c462a9e
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a lru cache to limit the size of the internal file cache</title>
<updated>2015-06-10T18:02:25+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-04-21T19:49:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=33e9ccc42566f4b666e04c1291bf01539288ffaf'/>
<id>33e9ccc42566f4b666e04c1291bf01539288ffaf</id>
<content type='text'>
Instead of having an unbounded internal file cache which will
eventually absorb all memory of the running/containing python
process have the size of that cache be limited by an optionally
provided size (and have eviction be based on how recent a cached
entry was used).

Fixes bug 1458248

Change-Id: I5e59efc4edd51b05cfb1e67d3e7014e378e352aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of having an unbounded internal file cache which will
eventually absorb all memory of the running/containing python
process have the size of that cache be limited by an optionally
provided size (and have eviction be based on how recent a cached
entry was used).

Fixes bug 1458248

Change-Id: I5e59efc4edd51b05cfb1e67d3e7014e378e352aa
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace lock_utils lock(s) with fasteners package</title>
<updated>2015-06-02T18:22:45+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-05-23T22:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=c3afeb52801c40f96ebb6bb358efa0b16fe15219'/>
<id>c3afeb52801c40f96ebb6bb358efa0b16fe15219</id>
<content type='text'>
The usage of this package allows us to get rid of the
reader/writer lock (since that package provides that) as well as
the interprocess lock as all of these are now provided by that
package instead.

Change-Id: I87990b46d397f6df779de7028bcc40e28621e1ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The usage of this package allows us to get rid of the
reader/writer lock (since that package provides that) as well as
the interprocess lock as all of these are now provided by that
package instead.

Change-Id: I87990b46d397f6df779de7028bcc40e28621e1ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the ability to chain exceptions correctly</title>
<updated>2015-04-03T23:04:46+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-02-12T02:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=aa8be4b8f5f55cc4e11088dcb122b34345f56cec'/>
<id>aa8be4b8f5f55cc4e11088dcb122b34345f56cec</id>
<content type='text'>
In the zookeeper jobboard (and persistence backends) we
are associating the cause of a new exception when raising a
exception. Using the new exception helper we can make this
work better on py2.x and py3.x so that the py3.x version
has the chain setup correctly (while the py2.x version just
uses the class 'cause' attribute instead).

Change-Id: Ieeac2f70e1834d4612556565762ffd3be3e5b5a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the zookeeper jobboard (and persistence backends) we
are associating the cause of a new exception when raising a
exception. Using the new exception helper we can make this
work better on py2.x and py3.x so that the py3.x version
has the chain setup correctly (while the py2.x version just
uses the class 'cause' attribute instead).

Change-Id: Ieeac2f70e1834d4612556565762ffd3be3e5b5a1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Ensure thread-safety of persistence dir backend"</title>
<updated>2015-03-21T04:43:25+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-03-21T04:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1c90f40a7d73a615775c559757da0f153e3817ae'/>
<id>1c90f40a7d73a615775c559757da0f153e3817ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure thread-safety of persistence dir backend</title>
<updated>2015-03-20T23:10:28+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-03-20T23:09:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=579500d664a8fd85efe4c047f4c1e9397a842cb5'/>
<id>579500d664a8fd85efe4c047f4c1e9397a842cb5</id>
<content type='text'>
Even though this backend is protected by process locks
against other processes we still need to protect against
threads in the same process; so to do this grab a write
lock and use it in the same manner that the memory backend
does; as a per-backend write-lock.

Change-Id: Ifb86631033aad1ca622be9cf3c3677293d8c56bd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though this backend is protected by process locks
against other processes we still need to protect against
threads in the same process; so to do this grab a write
lock and use it in the same manner that the memory backend
does; as a per-backend write-lock.

Change-Id: Ifb86631033aad1ca622be9cf3c3677293d8c56bd
</pre>
</div>
</content>
</entry>
<entry>
<title>Use binary/encode decode helper routines in dir backend</title>
<updated>2015-03-19T04:05:16+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-03-19T00:54:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=dd33ec71f2f57ce11762c81e8f5a609d01fa1710'/>
<id>dd33ec71f2f57ce11762c81e8f5a609d01fa1710</id>
<content type='text'>
Instead of using smaller versions of those routines just
call into the same helper routines that the rest of the
code uses.

This also allows that backend to take a configuration
option that specifies the encoding that will be used for
when translating unicode strings into binary (and vice
versa); this defaults to utf-8 to retain the existing
behavior.

Change-Id: Icfcbb22310e163753d8b34af212efc166c82634b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using smaller versions of those routines just
call into the same helper routines that the rest of the
code uses.

This also allows that backend to take a configuration
option that specifies the encoding that will be used for
when translating unicode strings into binary (and vice
versa); this defaults to utf-8 to retain the existing
behavior.

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