<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy-migrate.git/migrate/tests, branch 0.8.4</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>Add DB2 10.5 Support</title>
<updated>2014-02-17T15:17:31+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2013-11-06T21:04:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=85317aead6208cd6377167fc7fcc4f57491d97f9'/>
<id>85317aead6208cd6377167fc7fcc4f57491d97f9</id>
<content type='text'>
This patch adds the initial support for DB2 10.5 to migrate. It
includes:

1. The dialect implementation for DB2.
2. The dialect registration with the visitor.
3. Code to parse the engine name in version.py.
4. A new dependency on ibm_db_sa in test-requirements.txt.
5. A connection string in test_db.cfg for ibm_db_sa.

Part of blueprint add-db2-support

Co-authored-by: Sheng Bo Hou &lt;sbhou@cn.ibm.com&gt;
Co-authored-by: Thuy Christenson &lt;thuy@us.ibm.com&gt;
Co-authored-by: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;
Change-Id: I745ec615487b1b06c5d1a09ea316f376d66ee4c0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the initial support for DB2 10.5 to migrate. It
includes:

1. The dialect implementation for DB2.
2. The dialect registration with the visitor.
3. Code to parse the engine name in version.py.
4. A new dependency on ibm_db_sa in test-requirements.txt.
5. A connection string in test_db.cfg for ibm_db_sa.

Part of blueprint add-db2-support

Co-authored-by: Sheng Bo Hou &lt;sbhou@cn.ibm.com&gt;
Co-authored-by: Thuy Christenson &lt;thuy@us.ibm.com&gt;
Co-authored-by: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;
Change-Id: I745ec615487b1b06c5d1a09ea316f376d66ee4c0
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dropping of indexed columns in sqlite/sa08</title>
<updated>2013-10-18T13:09:16+00:00</updated>
<author>
<name>Roman Podolyaka</name>
<email>rpodolyaka@mirantis.com</email>
</author>
<published>2013-10-18T11:23:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=2485118c24b2293747dfafb3be58a6bdc65f7d66'/>
<id>2485118c24b2293747dfafb3be58a6bdc65f7d66</id>
<content type='text'>
Version 0.8 of SQLAlchemy added support of indexes
on expressions in addition to plain table columns,
which changed the way indexes are created.

This broke support of dropping columns of composite
indexes for SQLite: due to limitations of ALTER in
SQLite every time a column is dropped, we recreate
the whole table without the given column; if a
column is a part of a composite index, we change the
index definition to omit that column and then indexes
are recreated too.

SQLAlchemy versions starting from 0.8 no more pay
attention to 'columns' attribute of Index instances
when generating DDL for indexes, so when one of columns
of a composite index is dropped, we try to create a
new index on the column that doesn't exist anymore,
which of course fails.

Closes-Bug: #1241038

Change-Id: I777b8ce36e36f49bfb0889908811a063cf1a527b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Version 0.8 of SQLAlchemy added support of indexes
on expressions in addition to plain table columns,
which changed the way indexes are created.

This broke support of dropping columns of composite
indexes for SQLite: due to limitations of ALTER in
SQLite every time a column is dropped, we recreate
the whole table without the given column; if a
column is a part of a composite index, we change the
index definition to omit that column and then indexes
are recreated too.

SQLAlchemy versions starting from 0.8 no more pay
attention to 'columns' attribute of Index instances
when generating DDL for indexes, so when one of columns
of a composite index is dropped, we try to create a
new index on the column that doesn't exist anymore,
which of course fails.

Closes-Bug: #1241038

Change-Id: I777b8ce36e36f49bfb0889908811a063cf1a527b
</pre>
</div>
</content>
</entry>
<entry>
<title>Run tests on PostgreSQL and MySQL too</title>
<updated>2013-10-12T07:04:33+00:00</updated>
<author>
<name>Roman Podolyaka</name>
<email>rpodolyaka@mirantis.com</email>
</author>
<published>2013-08-06T14:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a91766a1ac86e432449aa66ae8f4b0f886b33e88'/>
<id>a91766a1ac86e432449aa66ae8f4b0f886b33e88</id>
<content type='text'>
In addition to running tests with different Python and SQLAlchemy
versions, they should also be run on different DB backends, which
are used in production (PostgreSQL and MySQL).

This patch:
  - modifies test_db.cfg to run tests on PostgreSQL and MySQL
    (Jenkins Slave credentials are used here, to ensure these
    tests are always run by Jenkins gate); if a backend is not
    available, test cases will be skipped for it
  - concurrency is set to 1 (sharing of the one MySQL or PostgreSQL
    DB among different test runner processes would lead to
    race conditions)
  - fixes tests dropping FK columns in MySQL: in earlier MySQL
    versions dropping a column that is a part of a FK constraint
    would lead to dropping of the FK too. As of MySQL 5.5 that's
    not the case anymore: if one tries to drop such column, he/she
    will get a very obscure error (something like "Error on rename
    of './openstack_citest/#sql-4af_aa2' to './openstack_citest/tmp_adddropcol'
    (errno: 150)") '\nALTER TABLE tmp_adddropcol DROP COLUMN r2').
    So the solution if to drop FK constraints first, and only then
    the columns it is made up of

Change-Id: I8c5d2874c83e7df46da69969ed54d85437c849e7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to running tests with different Python and SQLAlchemy
versions, they should also be run on different DB backends, which
are used in production (PostgreSQL and MySQL).

This patch:
  - modifies test_db.cfg to run tests on PostgreSQL and MySQL
    (Jenkins Slave credentials are used here, to ensure these
    tests are always run by Jenkins gate); if a backend is not
    available, test cases will be skipped for it
  - concurrency is set to 1 (sharing of the one MySQL or PostgreSQL
    DB among different test runner processes would lead to
    race conditions)
  - fixes tests dropping FK columns in MySQL: in earlier MySQL
    versions dropping a column that is a part of a FK constraint
    would lead to dropping of the FK too. As of MySQL 5.5 that's
    not the case anymore: if one tries to drop such column, he/she
    will get a very obscure error (something like "Error on rename
    of './openstack_citest/#sql-4af_aa2' to './openstack_citest/tmp_adddropcol'
    (errno: 150)") '\nALTER TABLE tmp_adddropcol DROP COLUMN r2').
    So the solution if to drop FK constraints first, and only then
    the columns it is made up of

Change-Id: I8c5d2874c83e7df46da69969ed54d85437c849e7
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix exceptions for SQLAlchemy 0.8</title>
<updated>2013-07-12T02:01:32+00:00</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-07-12T02:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=74ccf7a39762020671bf73820bae030d4b28bc96'/>
<id>74ccf7a39762020671bf73820bae030d4b28bc96</id>
<content type='text'>
Change-Id: Ib541ac9d6b397300e34ca8b65aad459b612858c3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib541ac9d6b397300e34ca8b65aad459b612858c3
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated to OpenStack Build stuff.</title>
<updated>2013-07-11T20:54:46+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-07-11T20:24:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a71799ea2cbfa1354c786991a85b610753f5474c'/>
<id>a71799ea2cbfa1354c786991a85b610753f5474c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix error, Text columns have no width</title>
<updated>2013-02-09T12:07:39+00:00</updated>
<author>
<name>Jan Dittberner</name>
<email>jan.dittberner@gmail.com</email>
</author>
<published>2013-02-09T12:07:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=d9f322cf6eed9897b5a025ec41efd250997e22f5'/>
<id>d9f322cf6eed9897b5a025ec41efd250997e22f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix deprecation warning by using MetaData.reflect</title>
<updated>2013-02-09T12:02:59+00:00</updated>
<author>
<name>Jan Dittberner</name>
<email>jan.dittberner@gmail.com</email>
</author>
<published>2013-02-09T12:02:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=195f95550bade1c63be88fae66ced2a7700453c8'/>
<id>195f95550bade1c63be88fae66ced2a7700453c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply patch for issue #72 by asuffield@gmail.com</title>
<updated>2012-01-23T20:34:12+00:00</updated>
<author>
<name>asuffield@gmail.com</name>
<email>unknown</email>
</author>
<published>2012-01-23T20:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=fe1f1deca8110c0ea40cd544f815d05abc36e8ec'/>
<id>fe1f1deca8110c0ea40cd544f815d05abc36e8ec</id>
<content type='text'>
fixes #72</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #72</pre>
</div>
</content>
</entry>
<entry>
<title>Fix excludeTablesgetDiffOfModelAgainstModel is not passing</title>
<updated>2011-12-17T19:25:04+00:00</updated>
<author>
<name>Jason Michalski</name>
<email>armooo@armooo.net</email>
</author>
<published>2011-12-17T19:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=7a5148a30bf1a9f55eb26dc0d5737b2132bc6ee2'/>
<id>7a5148a30bf1a9f55eb26dc0d5737b2132bc6ee2</id>
<content type='text'>
excludeTables correctly

Fixes issue 140</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
excludeTables correctly

Fixes issue 140</pre>
</div>
</content>
</entry>
<entry>
<title>add regression test (fixes issue 105)</title>
<updated>2011-10-28T14:14:21+00:00</updated>
<author>
<name>Jan Dittberner</name>
<email>jan.dittberner@googlemail.com</email>
</author>
<published>2011-10-28T14:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=324a2c766ddfe2057a535ba839ff10c3b12cef19'/>
<id>324a2c766ddfe2057a535ba839ff10c3b12cef19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
