<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/utils/misc.py, branch 0.6.0</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>Move over to using oslo.utils [reflection, uuidutils]</title>
<updated>2014-12-18T21:55:41+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-12-09T02:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=4e514f41e57983e728db9025126df6f791a2594a'/>
<id>4e514f41e57983e728db9025126df6f791a2594a</id>
<content type='text'>
The reflection module is now part of oslo.utils so we should
remove our local version and use that version instead; this
also goes for the uuidutils module which is now part of
oslo.utils as well so we no longer need our local version
copied from the incubator...

Note that one reflection method `find_subclasses` which was to
specific to taskflow is now moved to the misc utility module
instead of its prior home in the reflection module.

Change-Id: I069881c80b0b2916cc0c414992b80171f7eeb79f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reflection module is now part of oslo.utils so we should
remove our local version and use that version instead; this
also goes for the uuidutils module which is now part of
oslo.utils as well so we no longer need our local version
copied from the incubator...

Note that one reflection method `find_subclasses` which was to
specific to taskflow is now moved to the misc utility module
instead of its prior home in the reflection module.

Change-Id: I069881c80b0b2916cc0c414992b80171f7eeb79f
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a tiny clamp helper to clamp the 'on_progress' value</title>
<updated>2014-12-14T01:13:07+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-12-13T07:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=cdfd8ece61c3340a3de73005ea7b44d0383223fd'/>
<id>cdfd8ece61c3340a3de73005ea7b44d0383223fd</id>
<content type='text'>
Add a misc.clamp function that will clamp a value to a given
range (it can also call a callback if clamping occurs). Use it
to clamp the progress value that was previously clamped with
a set of customized logic that can now be replaced with a more
generalized logic that can be shared.

Change-Id: I8369dbb61f73a60932d9e15c8b4d06db249ea38e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a misc.clamp function that will clamp a value to a given
range (it can also call a callback if clamping occurs). Use it
to clamp the progress value that was previously clamped with
a set of customized logic that can now be replaced with a more
generalized logic that can be shared.

Change-Id: I8369dbb61f73a60932d9e15c8b4d06db249ea38e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add and use a new simple helper logging module</title>
<updated>2014-12-09T06:09:13+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-09-21T17:37:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=14431bc0769673fe5a70182189e2d4038a804cd8'/>
<id>14431bc0769673fe5a70182189e2d4038a804cd8</id>
<content type='text'>
Add a new logging BLATHER level to easily allow its
usage for messages that are below the normal DEBUG level
such as compilation information and scope lookup info
which can be very verbose in logs if always enabled.

Change-Id: I828211403bd02bfd6777b10cdcfe58fb0637a52c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new logging BLATHER level to easily allow its
usage for messages that are below the normal DEBUG level
such as compilation information and scope lookup info
which can be very verbose in logs if always enabled.

Change-Id: I828211403bd02bfd6777b10cdcfe58fb0637a52c
</pre>
</div>
</content>
</entry>
<entry>
<title>Include documentation of the utility modules</title>
<updated>2014-11-28T21:07:38+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-11-28T05:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=95e94f768a49e4fa7317e86c288450efd3aa922c'/>
<id>95e94f768a49e4fa7317e86c288450efd3aa922c</id>
<content type='text'>
Add a documentation section that uses the automodule
sphinx documentation generator to build a utility page
that shows people what the utility modules taskflow
uses for *internal* usage are and include a warning to
try to avoid end-users from using these modules (better
to warn than not warn).

This also adds on docstrings to various functions that
were missing it so that they appear correctly in the
generated documentation.

Change-Id: Ibd5695927601614f31793ea5450887694f4320ae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a documentation section that uses the automodule
sphinx documentation generator to build a utility page
that shows people what the utility modules taskflow
uses for *internal* usage are and include a warning to
try to avoid end-users from using these modules (better
to warn than not warn).

This also adds on docstrings to various functions that
were missing it so that they appear correctly in the
generated documentation.

Change-Id: Ibd5695927601614f31793ea5450887694f4320ae
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Remove attrdict and just use existing types"</title>
<updated>2014-11-19T19:01:31+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-11-19T19:01:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=2fcf67d6b91476260cc09fc04cbe86c134ad4f20'/>
<id>2fcf67d6b91476260cc09fc04cbe86c134ad4f20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Remove direct usage of the deprecated notifier location"</title>
<updated>2014-11-19T03:04:45+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-11-19T03:04:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=da6e11a9da005afa5b417418d7abe0454c669e79'/>
<id>da6e11a9da005afa5b417418d7abe0454c669e79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove direct usage of the deprecated notifier location</title>
<updated>2014-10-20T02:55:41+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-10-19T01:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=58f27fcd2d7d3206477cbf58e851ba208ba38975'/>
<id>58f27fcd2d7d3206477cbf58e851ba208ba38975</id>
<content type='text'>
Internally we should be using the new location and not the
deprecated location wherever possible. This avoids emitting
warnings messages on our own code, which is a dirty habit.

Change-Id: Icc389e61613bc78e64083f0086f6f23aabd243d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Internally we should be using the new location and not the
deprecated location wherever possible. This avoids emitting
warnings messages on our own code, which is a dirty habit.

Change-Id: Icc389e61613bc78e64083f0086f6f23aabd243d1
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove attrdict and just use existing types</title>
<updated>2014-10-19T03:37:02+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-08-22T06:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=7fe6bf0d6b3fa1dc0345ab0e9af4909c3f5b9549'/>
<id>7fe6bf0d6b3fa1dc0345ab0e9af4909c3f5b9549</id>
<content type='text'>
In order to make it simpler (and less code) just prefer to use
object types that already exist instead of trying to make dictionaries
also behave like objects.

For those that really need this kind of functionality:

https://pypi.python.org/pypi/attrdict

Change-Id: Ib7ddfa517f0500082fafac2c3e53fd6a158a6ddf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to make it simpler (and less code) just prefer to use
object types that already exist instead of trying to make dictionaries
also behave like objects.

For those that really need this kind of functionality:

https://pypi.python.org/pypi/attrdict

Change-Id: Ib7ddfa517f0500082fafac2c3e53fd6a158a6ddf
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump the deprecation version number</title>
<updated>2014-10-19T01:25:58+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-10-19T01:22:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=ac77b4dce98a39bdfba6df7b18006ab447296e7a'/>
<id>ac77b4dce98a39bdfba6df7b18006ab447296e7a</id>
<content type='text'>
These will start to emit deprecation warning messages
in the next version/release (0.6) and not the current
version (0.5) so we should update the messaging to
reflect this.

Change-Id: I8823741847b42056690629fa12c612c8d1ef2cff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These will start to emit deprecation warning messages
in the next version/release (0.6) and not the current
version (0.5) so we should update the messaging to
reflect this.

Change-Id: I8823741847b42056690629fa12c612c8d1ef2cff
</pre>
</div>
</content>
</entry>
<entry>
<title>Hoist the notifier to its own module</title>
<updated>2014-10-18T19:47:27+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-06-24T19:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=bf84288aa0fca3bc5b5582375d145d2966e10c0a'/>
<id>bf84288aa0fca3bc5b5582375d145d2966e10c0a</id>
<content type='text'>
The notifier module needs to be hoisted out of the misc utility
file so that it can be depended on existing by users in a well
defined (non-utility) location.

This change does this hoisting process &amp; creates a new module
and places the existing code there, then creates a deprecated
proxy that exists at the old location (this will be removed
in the next version + 1).

In a future change (in 0.5) we can remove this old location and
remove all references to the previous location (until then we
must keep the old location being used to ensure subclass checks
and other types checks function properly).

Part of blueprint top-level-types

Change-Id: I47fac110adf7cec5c859c2e055c1ceb1f25a7fbd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The notifier module needs to be hoisted out of the misc utility
file so that it can be depended on existing by users in a well
defined (non-utility) location.

This change does this hoisting process &amp; creates a new module
and places the existing code there, then creates a deprecated
proxy that exists at the old location (this will be removed
in the next version + 1).

In a future change (in 0.5) we can remove this old location and
remove all references to the previous location (until then we
must keep the old location being used to ensure subclass checks
and other types checks function properly).

Part of blueprint top-level-types

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