<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oslo.git/tests/unit/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>Bump hacking to 0.7.0</title>
<updated>2013-08-16T17:34:58+00:00</updated>
<author>
<name>Zhongyue Luo</name>
<email>zhongyue.nah@intel.com</email>
</author>
<published>2013-08-16T01:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=3295a9024a9c4e07c8691b047ea32917605d9351'/>
<id>3295a9024a9c4e07c8691b047ea32917605d9351</id>
<content type='text'>
Fixes H202, H602 errors

Change-Id: Ic3045f15116d1d7a28b63bc94a0a341b9304ffdd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes H202, H602 errors

Change-Id: Ic3045f15116d1d7a28b63bc94a0a341b9304ffdd
</pre>
</div>
</content>
</entry>
<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>Replace using tests.utils with openstack.common.test</title>
<updated>2013-08-09T09:34:55+00:00</updated>
<author>
<name>Alexander Gorodnev</name>
<email>agorodnev@mirantis.com</email>
</author>
<published>2013-08-09T09:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=6c49132491e5b5d82816d9576616fdaf74603092'/>
<id>6c49132491e5b5d82816d9576616fdaf74603092</id>
<content type='text'>
It is the first step to replace using tests.utils with openstack.common.test.
All these tests don't use mock objects, stubs, config files and use only
BaseTestCase class.

Change-Id: I511816b5c9e6c5c34ebff199296ee4fc8b84c672
bp: common-unit-tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is the first step to replace using tests.utils with openstack.common.test.
All these tests don't use mock objects, stubs, config files and use only
BaseTestCase class.

Change-Id: I511816b5c9e6c5c34ebff199296ee4fc8b84c672
bp: common-unit-tests
</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>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>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>
<entry>
<title>Allow use of hacking 0.6.0 and enable new checks</title>
<updated>2013-07-19T23:24:49+00:00</updated>
<author>
<name>Sergey Lukjanov</name>
<email>slukjanov@mirantis.com</email>
</author>
<published>2013-07-19T18:59:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=7bf8ee930b1838a1b1640912df0e2050bd9b96ae'/>
<id>7bf8ee930b1838a1b1640912df0e2050bd9b96ae</id>
<content type='text'>
There are only several errors after running hacking 0.6.0:

* H501  Do not use locals() for string formatting
* H231  Python 3.x incompatible 'except x,y:' construct

Change-Id: Iacae482fda07507c3e7ce8e6da8dbb7bde699016
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are only several errors after running hacking 0.6.0:

* H501  Do not use locals() for string formatting
* H231  Python 3.x incompatible 'except x,y:' construct

Change-Id: Iacae482fda07507c3e7ce8e6da8dbb7bde699016
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise ValueError if sort_dir is unknown</title>
<updated>2013-07-18T10:16:56+00:00</updated>
<author>
<name>Julia Varlamova</name>
<email>jvarlamova@mirantis.com</email>
</author>
<published>2013-07-17T12:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=5758360a2e970a48a9c64e91b3a14a8a65825be0'/>
<id>5758360a2e970a48a9c64e91b3a14a8a65825be0</id>
<content type='text'>
Raise ValueError in case of KeyError, when sort_dir is not
'asc' or 'desc'.

ValueError while adding pagination has never been raised before,
because if sort direction was incorrect, KeyError has been
raised while adding sorting.

Change-Id: Ia0366dbdf38557c4e6a9307fb27c77fd1c1873c3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Raise ValueError in case of KeyError, when sort_dir is not
'asc' or 'desc'.

ValueError while adding pagination has never been raised before,
because if sort direction was incorrect, KeyError has been
raised while adding sorting.

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