<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oslo.git/openstack/common/db/sqlalchemy, branch shared-key-msg</title>
<subtitle>OpenStack's oslo-incubator patches.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/'/>
<entry>
<title>exception: remove</title>
<updated>2013-08-16T04:04:18+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2013-07-30T10:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=9721129f2c0c331e3b0428554d421ae670039f81'/>
<id>9721129f2c0c331e3b0428554d421ae670039f81</id>
<content type='text'>
This patch drops the obsolete openstack.common.exception module.

Most project should define their own exception based on their API and
the context they evolve in. Many projects don't use this, only neutron,
cinder and heat used it. I've copy pasted the few exceptions that they
were using, but that's still by far less code than this whole file.
Ultimately that will let them a chance to remove or shring their own
exception.py. I don't think most projects should have one anyway.

Change-Id: Ia8b2b29bd443233def324e97de7342c2634bccff
Closes-Bug: #1208734
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch drops the obsolete openstack.common.exception module.

Most project should define their own exception based on their API and
the context they evolve in. Many projects don't use this, only neutron,
cinder and heat used it. I've copy pasted the few exceptions that they
were using, but that's still by far less code than this whole file.
Ultimately that will let them a chance to remove or shring their own
exception.py. I don't think most projects should have one anyway.

Change-Id: Ia8b2b29bd443233def324e97de7342c2634bccff
Closes-Bug: #1208734
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Helper function to sanitize db url credentials"</title>
<updated>2013-08-08T01:27:39+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-08-08T01:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=5d1793321503ce630ff1de05db32d17915bc9d29'/>
<id>5d1793321503ce630ff1de05db32d17915bc9d29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Move sqlalchemy migration from Nova"</title>
<updated>2013-08-08T01:26:36+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-08-08T01:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=5998bca22bcd03b1c4f990b7cf83babc07694e6f'/>
<id>5998bca22bcd03b1c4f990b7cf83babc07694e6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Helper function to sanitize db url credentials</title>
<updated>2013-08-02T12:26:50+00:00</updated>
<author>
<name>Zhongyue Luo</name>
<email>zhongyue.nah@intel.com</email>
</author>
<published>2013-07-31T08:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=3f2f70e0785e11434f6f863ce8eacc1b0ef1782d'/>
<id>3f2f70e0785e11434f6f863ce8eacc1b0ef1782d</id>
<content type='text'>
The database url is sanitized in logfiles because of security issues.
However the connected url itself is useful information to devs and admins.
This patch provides a helper function to sanitize only the credentials
in a database url. All projects must process the CONF.database.connection
value using "sanitize_db_url" when updating the db package

Fixes bug #1076833

Change-Id: Id6cf7b120ef6c3fcda7f33fd26676b62a4475bb2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The database url is sanitized in logfiles because of security issues.
However the connected url itself is useful information to devs and admins.
This patch provides a helper function to sanitize only the credentials
in a database url. All projects must process the CONF.database.connection
value using "sanitize_db_url" when updating the db package

Fixes bug #1076833

Change-Id: Id6cf7b120ef6c3fcda7f33fd26676b62a4475bb2
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "BaseException.message is deprecated since Python 2.6"</title>
<updated>2013-07-31T23:08:48+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-07-31T23:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=96d1f887dda21b43ba4376187f31953dee6f5273'/>
<id>96d1f887dda21b43ba4376187f31953dee6f5273</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add function drop_unique_constraint()"</title>
<updated>2013-07-29T23:50:57+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-07-29T23:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=53ab0d34bb4df109c8e53bb058c26e4c95aa74c3'/>
<id>53ab0d34bb4df109c8e53bb058c26e4c95aa74c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BaseException.message is deprecated since Python 2.6</title>
<updated>2013-07-26T20:20:25+00:00</updated>
<author>
<name>Johannes Erdfelt</name>
<email>johannes.erdfelt@rackspace.com</email>
</author>
<published>2013-07-26T15:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=df3f2bafbe76d78d017d40e7dc08909fee7dbe34'/>
<id>df3f2bafbe76d78d017d40e7dc08909fee7dbe34</id>
<content type='text'>
PEP 352 deprecated the message attribute of the BaseException class.
Using the message attribute will result in warnings like this:

DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

Using unicode(exc) is the suggested replacement.

Change-Id: Ibf3c56e4baa6ad83e2b95a948787e9d02cf074d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PEP 352 deprecated the message attribute of the BaseException class.
Using the message attribute will result in warnings like this:

DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

Using unicode(exc) is the suggested replacement.

Change-Id: Ibf3c56e4baa6ad83e2b95a948787e9d02cf074d4
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function drop_unique_constraint()</title>
<updated>2013-07-26T07:36:15+00:00</updated>
<author>
<name>Victor Sergeyev</name>
<email>vsergeyev@mirantis.com</email>
</author>
<published>2013-07-17T09:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=c76be5bbfe1064e5bb351876e9915ec4cc282236'/>
<id>c76be5bbfe1064e5bb351876e9915ec4cc282236</id>
<content type='text'>
We forgot to copy this function from nova, so we are not able to
switch to oslo sqlalchemy.utils until add this function.

Sqlalchemy doesn't supports some sqlite column types so we have no
possibility to drop unique constraint in general way on sqlite (we
loose these column types after migration).
Added unified drop_unique_constraint() function to drop unique
constraint for sql backends with tests.

blueprint: oslo-sqlalchemy-utils

Change-Id: I34000ad2277a97c31a29539d047faaf19876c9d5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We forgot to copy this function from nova, so we are not able to
switch to oslo sqlalchemy.utils until add this function.

Sqlalchemy doesn't supports some sqlite column types so we have no
possibility to drop unique constraint in general way on sqlite (we
loose these column types after migration).
Added unified drop_unique_constraint() function to drop unique
constraint for sql backends with tests.

blueprint: oslo-sqlalchemy-utils

Change-Id: I34000ad2277a97c31a29539d047faaf19876c9d5
</pre>
</div>
</content>
</entry>
<entry>
<title>Change sqlalchemy/utils.py mode back to 644</title>
<updated>2013-07-25T17:18:52+00:00</updated>
<author>
<name>Chris Behrens</name>
<email>cbehrens@codestud.com</email>
</author>
<published>2013-07-25T17:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=d4d81262ff74ff54e51db4065192fd9a0119ec34'/>
<id>d4d81262ff74ff54e51db4065192fd9a0119ec34</id>
<content type='text'>
A previous patch changed the mode to 755 for some reason.

Change-Id: I292ec445fc2491cbd840d1bb2e134278fc37b28e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A previous patch changed the mode to 755 for some reason.

Change-Id: I292ec445fc2491cbd840d1bb2e134278fc37b28e
</pre>
</div>
</content>
</entry>
<entry>
<title>Move sqlalchemy migration from Nova</title>
<updated>2013-07-25T15:51:13+00:00</updated>
<author>
<name>Victor Sergeyev</name>
<email>vsergeyev@mirantis.com</email>
</author>
<published>2013-06-06T08:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=cf41936300f1d37a4a684cc02ae7840d71eeb92c'/>
<id>cf41936300f1d37a4a684cc02ae7840d71eeb92c</id>
<content type='text'>
Added functions for work with migration scripts to
openstack/common/db/sqlalchemy/migration.py file. This code can be used
in Nova, Cinder, Glance, etc. Added new DbMigrationError exception to
openstack/common/db/exception.py file.
Tests added.

blueprint test-migrations

Change-Id: Ia63f7fb89b0a6baacf3fd424c0db09c74680af4a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added functions for work with migration scripts to
openstack/common/db/sqlalchemy/migration.py file. This code can be used
in Nova, Cinder, Glance, etc. Added new DbMigrationError exception to
openstack/common/db/exception.py file.
Tests added.

blueprint test-migrations

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