<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy-migrate.git/migrate/versioning/script, branch master</title>
<subtitle>github.com: stackforge/sqlalchemy-migrate.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/'/>
<entry>
<title>Retire github mirror, repo moved to opendev</title>
<updated>2019-09-26T13:56:42+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2019-09-26T13:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=52672a64cc0cab4ea14a4a756fce850eb03315e3'/>
<id>52672a64cc0cab4ea14a4a756fce850eb03315e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>script: strip comments in SQL statements</title>
<updated>2015-01-14T00:45:25+00:00</updated>
<author>
<name>Ihar Hrachyshka</name>
<email>ihrachys@redhat.com</email>
</author>
<published>2015-01-13T23:09:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=b9caaae4fccb1d6f8dea575ff318975fe197edde'/>
<id>b9caaae4fccb1d6f8dea575ff318975fe197edde</id>
<content type='text'>
Regular expression does not match correctly against statements that contain
comments at their start. So strip those comments first (and whitespaces, while
we are at it).

Change-Id: Iad9b544bf995374d76cab1e125658aae2f8511f4
Closes-Bug: #1410494
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regular expression does not match correctly against statements that contain
comments at their start. So strip those comments first (and whitespaces, while
we are at it).

Change-Id: Iad9b544bf995374d76cab1e125658aae2f8511f4
Closes-Bug: #1410494
</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://91.123.203.49/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>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://91.123.203.49/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://91.123.203.49/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>Port to Python3</title>
<updated>2014-04-09T15:32:52+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-03-19T14:02:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a03b141a954c7e644f0033defdb1b5b434a7c49a'/>
<id>a03b141a954c7e644f0033defdb1b5b434a7c49a</id>
<content type='text'>
Brief summary of the modifications:

* Use six for compatibility with both Python 2 and 3;
* Replace UserDict.DictMixin with collections.MutableMapping;
* Fix relative imports;
* Use test-requirements.txt for requirements that are common to both Python 2
  and 3, and test-requirements-py{2,3}.txt for version-specific requirements;
* Miscellaneous fixes.
* Use a specific test_db_py3.cfg file for Python 3, that only runs tests on
  sqlite.

Thanks to Victor Stinner who co-wrote this patch.

Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4
Co-Authored-By: Victor Stinner &lt;victor.stinner@enovance.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Brief summary of the modifications:

* Use six for compatibility with both Python 2 and 3;
* Replace UserDict.DictMixin with collections.MutableMapping;
* Fix relative imports;
* Use test-requirements.txt for requirements that are common to both Python 2
  and 3, and test-requirements-py{2,3}.txt for version-specific requirements;
* Miscellaneous fixes.
* Use a specific test_db_py3.cfg file for Python 3, that only runs tests on
  sqlite.

Thanks to Victor Stinner who co-wrote this patch.

Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4
Co-Authored-By: Victor Stinner &lt;victor.stinner@enovance.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Eradicate trailing whitespace</title>
<updated>2014-02-26T20:04:54+00:00</updated>
<author>
<name>David Ripton</name>
<email>dripton@redhat.com</email>
</author>
<published>2014-02-26T20:04:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=d6fbf12989e85b8cdbd0202653ef6a2709c16bf5'/>
<id>d6fbf12989e85b8cdbd0202653ef6a2709c16bf5</id>
<content type='text'>
Remove all trailing spaces and tabs in every file in the project.
People have editors configured to do this, which causes them to
accidentally make little whitespace changes in unrelated commits,
which makes those commits harder to review.  Better to fix them all
at once.

Change-Id: I17d89f55f41d8599e0ab1a31f646cd161289703e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all trailing spaces and tabs in every file in the project.
People have editors configured to do this, which causes them to
accidentally make little whitespace changes in unrelated commits,
which makes those commits harder to review.  Better to fix them all
at once.

Change-Id: I17d89f55f41d8599e0ab1a31f646cd161289703e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix and test issue 118. Clarify genmodel transformations.</title>
<updated>2011-07-04T22:44:57+00:00</updated>
<author>
<name>Gabriel</name>
<email>g2p.code+sqla@gmail.com</email>
</author>
<published>2011-07-04T22:44:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=3fe1b4a3be05fe5184feb8bc237ceded5a98e8dc'/>
<id>3fe1b4a3be05fe5184feb8bc237ceded5a98e8dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix py2.4 and py2.5</title>
<updated>2011-02-05T17:19:37+00:00</updated>
<author>
<name>Domen Kožar</name>
<email>domen@dev.si</email>
</author>
<published>2011-02-05T17:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=b2db52ff4e974cd3011acc1ea126ea6dfdc6f29e'/>
<id>b2db52ff4e974cd3011acc1ea126ea6dfdc6f29e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixes #106</title>
<updated>2011-02-05T13:16:00+00:00</updated>
<author>
<name>Domen Kožar</name>
<email>domen@dev.si</email>
</author>
<published>2011-02-05T13:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=09a8867edd9bf32ec594bea869cf691ba86a9f2f'/>
<id>09a8867edd9bf32ec594bea869cf691ba86a9f2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
