<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy-migrate.git, branch 0.9.3</title>
<subtitle>github.com: stackforge/sqlalchemy-migrate.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/'/>
<entry>
<title>Merge "pep8: mark all pep8 checks that currently fail as ignored"</title>
<updated>2015-01-11T10:38:02+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-01-11T10:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=25c7d750f53fbf76bd359f3319a7ab45fc7abfda'/>
<id>25c7d750f53fbf76bd359f3319a7ab45fc7abfda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Use native sqlalchemy 0.9 quote attribute with ibmdb2"</title>
<updated>2015-01-10T00:03:23+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-01-10T00:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=397682b9c8cef3db9c4e0f902a34f53034086a97'/>
<id>397682b9c8cef3db9c4e0f902a34f53034086a97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore transaction management statements in SQL scripts</title>
<updated>2015-01-09T22:32:27+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2014-09-15T11:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=938757e7aa581646a6a501426a5dae84ebe5631f'/>
<id>938757e7aa581646a6a501426a5dae84ebe5631f</id>
<content type='text'>
Now that we don't run SQL script with a single .execute() call,
transaction management statements (BEGIN, COMMIT, END) fail with
operational error. Ignore them if occurred in a script.

All in all, transactions are managed by SQLAlchemy-migrate itself, so
there is no reason for the calling code to pass those statements in a
SQL script. Warn user about the statements that are ignored.

The ideal response to such a warning from library users is removing
those redundant transaction management statements from their scripts.

Note: ROLLBACK is not ignored even though it's one of transaction
management statements because its usage in migration scripts is insane
anyway, and we're better fail on it and not (almost) silently ignore it.

Change-Id: Ie4179c0e9341d42656d66821aaac23f8dcd33927
Closes-bug: 1368391
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we don't run SQL script with a single .execute() call,
transaction management statements (BEGIN, COMMIT, END) fail with
operational error. Ignore them if occurred in a script.

All in all, transactions are managed by SQLAlchemy-migrate itself, so
there is no reason for the calling code to pass those statements in a
SQL script. Warn user about the statements that are ignored.

The ideal response to such a warning from library users is removing
those redundant transaction management statements from their scripts.

Note: ROLLBACK is not ignored even though it's one of transaction
management statements because its usage in migration scripts is insane
anyway, and we're better fail on it and not (almost) silently ignore it.

Change-Id: Ie4179c0e9341d42656d66821aaac23f8dcd33927
Closes-bug: 1368391
</pre>
</div>
</content>
</entry>
<entry>
<title>Use native sqlalchemy 0.9 quote attribute with ibmdb2</title>
<updated>2015-01-09T22:31:28+00:00</updated>
<author>
<name>Rahul Priyadarshi</name>
<email>rahul.priyadarshi@in.ibm.com</email>
</author>
<published>2014-12-17T15:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=74553f426c23e42e05d9be19f4ed8ae411280b50'/>
<id>74553f426c23e42e05d9be19f4ed8ae411280b50</id>
<content type='text'>
Commit 8d6ce64cd08c0598963a92844495782997cd59f3 started using the native
quote attribute built into sqlalchemy 0.9 but missed the changes to the
ibmdb2 changeset, so alter table statements fail for DB2 on sqlalchemy
&gt;= 0.9 (tested against 0.9.8).

This fixes the same issue for the ibmdb2 changeset.

Change-Id: Ia3fa6c3090b5eab29ed7746f4795d502990b8a2f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 8d6ce64cd08c0598963a92844495782997cd59f3 started using the native
quote attribute built into sqlalchemy 0.9 but missed the changes to the
ibmdb2 changeset, so alter table statements fail for DB2 on sqlalchemy
&gt;= 0.9 (tested against 0.9.8).

This fixes the same issue for the ibmdb2 changeset.

Change-Id: Ia3fa6c3090b5eab29ed7746f4795d502990b8a2f
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't add warnings filter on import</title>
<updated>2015-01-08T22:22:59+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-01-08T21:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=244c6c55d7aaa1f99e56027f4f5151fca51e7377'/>
<id>244c6c55d7aaa1f99e56027f4f5151fca51e7377</id>
<content type='text'>
The changeset module was adding a warnings filter on import. This
affects all applications that wind up importing it. A library
shouldn't modify the warnings filters unless asked.

Closes-Bug: #1407736
Change-Id: I893f8be48efd3d3642e977ab587c9e6dc867258b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The changeset module was adding a warnings filter on import. This
affects all applications that wind up importing it. A library
shouldn't modify the warnings filters unless asked.

Closes-Bug: #1407736
Change-Id: I893f8be48efd3d3642e977ab587c9e6dc867258b
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix ibmdb2 unique constraint handling for sqlalchemy 0.9"</title>
<updated>2014-10-10T12:32:25+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-10-10T12:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=1e83840c98a9a6b18f8e105b7f29402c4fffee92'/>
<id>1e83840c98a9a6b18f8e105b7f29402c4fffee92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pep8: mark all pep8 checks that currently fail as ignored</title>
<updated>2014-08-23T19:34:13+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2014-07-30T11:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=30f6aeab91d779545f80a229e94f192d70ac2509'/>
<id>30f6aeab91d779545f80a229e94f192d70ac2509</id>
<content type='text'>
Change-Id: Ic1dfb51598b920611acb1a0e437a32c5af90beda
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic1dfb51598b920611acb1a0e437a32c5af90beda
</pre>
</div>
</content>
</entry>
<entry>
<title>SqlScript: execute multiple statements one by one</title>
<updated>2014-08-23T19:34:13+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2014-08-02T21:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=93ae21007d0100332a5751fc58f7616ced775ef9'/>
<id>93ae21007d0100332a5751fc58f7616ced775ef9</id>
<content type='text'>
Some drivers [f.e. MySQL Connector] do not like multiple statements
being passed to .execute(). They require either passing multi=True
parameter to .execute() that is not DB-API 2.0 defined, or executing
those statements one by one.

For that patch, I've chosen the second option to stay away from driver
specific hacks.

Also removed SQLite hack that seems to be related to the same multiple
statements issue.

blueprint enable-mysql-connector

Change-Id: Ic6d53ed1fef8aee9471f3540f06b39cd5ee4ef82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some drivers [f.e. MySQL Connector] do not like multiple statements
being passed to .execute(). They require either passing multi=True
parameter to .execute() that is not DB-API 2.0 defined, or executing
those statements one by one.

For that patch, I've chosen the second option to stay away from driver
specific hacks.

Also removed SQLite hack that seems to be related to the same multiple
statements issue.

blueprint enable-mysql-connector

Change-Id: Ic6d53ed1fef8aee9471f3540f06b39cd5ee4ef82
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure we don't throw away exception on SQL script failure</title>
<updated>2014-08-23T19:34:13+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2014-07-29T15:25:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=be1dd6730a4ba621b4fb9db1b2717fb36960469f'/>
<id>be1dd6730a4ba621b4fb9db1b2717fb36960469f</id>
<content type='text'>
If SQL script failed, we don't currently log the failure anywhere, so
users have hard time debugging an issue, if anything arises.

Let's log the failure before proceeding with rollback.

Change-Id: Ic92b1403c00bb238a68265a15150a4be6f6b2346
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If SQL script failed, we don't currently log the failure anywhere, so
users have hard time debugging an issue, if anything arises.

Let's log the failure before proceeding with rollback.

Change-Id: Ic92b1403c00bb238a68265a15150a4be6f6b2346
</pre>
</div>
</content>
</entry>
<entry>
<title>Pin testtools to &lt; 0.9.36</title>
<updated>2014-08-23T19:34:07+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2014-08-22T21:32:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=feb0c15aee33e98d20c070c059255c0cca3fe641'/>
<id>feb0c15aee33e98d20c070c059255c0cca3fe641</id>
<content type='text'>
New testtools require that setUp() and tearDown() are not called twice,
while test_schema is built around multiple calls. So pinning the version
for now until a proper fix is implemented.

Closes-Bug: 1360252
Change-Id: I184db35242d036dacc7933c1d762cccc7f5c40bb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New testtools require that setUp() and tearDown() are not called twice,
while test_schema is built around multiple calls. So pinning the version
for now until a proper fix is implemented.

Closes-Bug: 1360252
Change-Id: I184db35242d036dacc7933c1d762cccc7f5c40bb
</pre>
</div>
</content>
</entry>
</feed>
