Commits

Show all
Author Commit Message Labels Comments Date
zvin
oups I forgot string format
zvin
same fix as commit 64be8f29d5 in django ( https://github.com/django/django/commit/64be8f29d5 ) - Modified the method used to generate constraint names
Andrew Godwin
Branch merge
Andrew Godwin
Fixed #1197: Wrapped function should return value
Andrew Godwin
Merged in shaib/south (pull request #92: Fixes to tests and fix to fake migrations)
shaib
Make fake migrations work again
shaib
branch merge
shaib
Fix test Monkeypatcher: force recaclulation of dependencies after loading apps.
shaib
Improvements in tests/logic.py Use 'set' to compare lists (instead of sorting the lists) Put migration history deletion into setUp where it is relevant preparation
Andrew Godwin
Merged in vanschelven/south (pull request #91: Performance fix of dependency analysis by pushing SortedSets down)
Klaas van Schelven
Bugfix: reverse() also pushed into _dfs() This is a further fix on #15a4eadfdea8 in that commit SortedSet(reversed(...dfs was replaced by reversed(dfs(... where dfs contained the SortedSet. This broke the order of the dependencies. I've now restored this by pushing reversed into _dfs. Rather than calling reversed() all the time I've changed the appending of results into prepending. This is all in untested territory. I.e. tests run b…
Klaas van Schelven
depends() must return a list (not simply: any iterator) problem introduced in #15a4eadfdea8
Klaas van Schelven
Performance fix of dependency analysis by pushing SortedSets down Given that each call to _dfs may return a list, and the elements of those lists may occur multiple times, concatenating the various lists without removing double elements may lead to very quickly growing return values. I've pushed the call to SortedSets()guaranteeing uniqueness of the elements, down into the method _dfs. This puts an upper bound to the lenght of the returned value from _dfs, nam…
Andrew Godwin
Merged in shaib/south (pull request #89)
shaib
Limit the use of io.StringIO to python3, use cStringIO.StringIO on python2
Reed Sandberg
limited column set. A describe on the table definition showed two unique constraints - the old and new, with the old one (of course) being the limited case. While tracing the migration with verbose output, I noticed South re-creates the table for sqlite3 and instead of creating one new (correct) unique index, it created both the existing (which was to be replaced) and the new index. Digging into the source code, I see that for sqlite3, delete_unique is triggered by a c…
shaib
Merge upstream updates
shaib
Fix IntegrityError-related testing for SQL Server where IntegrityError is not descended from django.db.IntegrityError
shaib
Remove warning on Oracle support being Alpha.
shaib
Remove redundant "FATAL ERROR" messages on Oracle For this, let caller of db.execute() control error printing
Andrew Godwin
Merged in charettes/south/dryrun-migrator-run-migration-signature (pull request #87)
charettes
Make sure DryRunMigrator.run_migration has the same signature as it's base class
Branches
dryrun-migrator-run-migration-signature
Andrew Godwin
Fixed #1194: Bad fake run() params
Daniel Gonçalves
Avoid record ran migrations in dry-run mode. Method south.migration.Migrator.done_migrate wiped out.
Daniel Gonçalves
Record ran migration inside the same transaction block as the migration itself.
crai...@gmail.com
fix nasty silent commits in db.rename_table() when using postgres.
Andrew Godwin
Merged in vanschelven/south (pull request #82)
Klaas van Schelven
Perfomance: Use Dynamic Programming for dependency analysis. Rationale: when using larging amounts of migrations (> 100) and some explicit dependencies (using depends_on) the dependency resolver's performance became pathological. It was observed that the Depth First Search algorithm used to establish the dependencies had large overlapping subproblems, and that therefor Dynamic Programming was a viable strategy: http://en.wikipedia.org/wiki/Dynamic_program…
Andrew Godwin
Merge
Aymeric Augustin
Fix tests on Python 3. south.TestNonManagedIgnored.test_not_modified_auto still fails, but not when run in isolation.
  1. Prev
  2. Next