Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | another db -> db.bind fix. | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | A few basic fixes to sql/util.py | Christopher Allan Webber | 2012-01-29 | 1 | -5/+9 | |
| | | | | | | | | | | | | - MigrationRecord to MigrationData, again - If the table doesn't exist, return None for database_current_migration - database.engine -> database.bind | |||||
* | | magical_powers relationship set on wrong table, fixed | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Also switch database_current_migration to a property | Christopher Allan Webber | 2012-01-29 | 1 | -3/+4 | |
| | | ||||||
* | | Migration records are dicts, not lists. Fix SET1_MIGATIONS! | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Make latest_migration a property | Christopher Allan Webber | 2012-01-29 | 1 | -0/+1 | |
| | | ||||||
* | | Import MigrationData, not MigrationRecord | Christopher Allan Webber | 2012-01-29 | 1 | -3/+3 | |
| | | ||||||
* | | test_set1_to_set3() now has appropriate amount of code, even if it doesn't ↵ | Christopher Allan Webber | 2012-01-29 | 1 | -8/+37 | |
| | | | | | | | | run :) | |||||
* | | Fixing some obvious errors caught by pyflakes | Christopher Allan Webber | 2012-01-29 | 1 | -21/+25 | |
| | | ||||||
* | | More stuff even yet per sql migration stuff! And still not ready! | Christopher Allan Webber | 2012-01-29 | 1 | -4/+4 | |
| | | ||||||
* | | Closer to the end of this migration test... | Christopher Allan Webber | 2012-01-29 | 1 | -2/+70 | |
| | | ||||||
* | | unicode stuff and more bits on the actual migration method | Christopher Allan Webber | 2012-01-29 | 1 | -89/+214 | |
| | | ||||||
* | | A ton more work on the SQL migration unit tests... | Christopher Allan Webber | 2012-01-29 | 1 | -5/+85 | |
| | | ||||||
* | | Wrote up some scaffolding for the actual tests | Christopher Allan Webber | 2012-01-29 | 1 | -3/+53 | |
| | | ||||||
* | | Insert migration objects round 3 | Christopher Allan Webber | 2012-01-29 | 1 | -0/+87 | |
| | | ||||||
* | | import changeset into sql models | Christopher Allan Webber | 2012-01-29 | 1 | -0/+7 | |
| | | ||||||
* | | Wrote some (semi-silly) descriptions of each migration | Christopher Allan Webber | 2012-01-29 | 1 | -0/+18 | |
| | | ||||||
* | | Docstrings for stage 2 migrations | Christopher Allan Webber | 2012-01-29 | 1 | -0/+19 | |
| | | ||||||
* | | Theoretical full set of migration2 objects to insert for testing | Christopher Allan Webber | 2012-01-29 | 1 | -1/+76 | |
| | | ||||||
* | | Insert migration1 objects. Also, Level1 id from Integer->Unicode | Christopher Allan Webber | 2012-01-29 | 1 | -7/+43 | |
| | | ||||||
* | | All theoretical migrations written! | Christopher Allan Webber | 2012-01-29 | 1 | -5/+25 | |
| | | ||||||
* | | binding migration metadata to engine, and level_exits_new_table should now work | Christopher Allan Webber | 2012-01-29 | 1 | -6/+6 | |
| | | ||||||
* | | More test migration work. Closing to working migrations for set 2... | Christopher Allan Webber | 2012-01-29 | 1 | -5/+62 | |
| | | | | | | | | Also, this file is written in 2012, correct that ;) | |||||
* | | Might as well call it "set2 migrations" | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | A theoretical set of models to migrate about with, plus one migration ;) | Christopher Allan Webber | 2012-01-29 | 1 | -0/+177 | |
| | | ||||||
* | | Another db->db.engine because I'm bad at things ;) | Christopher Allan Webber | 2012-01-29 | 1 | -7/+7 | |
| | | | | | | | | Thanks again Elrond. | |||||
* | | No need for self here (thanks again Elrond ;)) | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Another MigrationManager fix. | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | | | | | | | self.database -> self.database.engine (thanks again Elrond for the catch) | |||||
* | | Make name the primary key in migration records | Christopher Allan Webber | 2012-01-29 | 1 | -2/+1 | |
| | | ||||||
* | | assert was positive when it should be negative, fixed | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Use .first() instead of [0]... thanks elrond :) | Christopher Allan Webber | 2012-01-29 | 1 | -5/+2 | |
| | | ||||||
* | | We should probably add that object to the DB also :P | Christopher Allan Webber | 2012-01-29 | 1 | -1/+2 | |
| | | ||||||
* | | Commit that new migration record ;) | Christopher Allan Webber | 2012-01-29 | 1 | -0/+1 | |
| | | ||||||
* | | Add create_new_migration_record method to MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -2/+7 | |
| | | ||||||
* | | Added init_tables method to MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -2/+12 | |
| | | ||||||
* | | More work on SQL MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -15/+25 | |
| | | | | | | | | | | | | | | Added methods: - migration_data - database_current_migration - migrations_to_run | |||||
* | | Removing printer argument now that we use self.printer | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Finishing the init_or_migrate function | Christopher Allan Webber | 2012-01-29 | 1 | -1/+7 | |
| | | ||||||
* | | More work on migration manager, including adding a dry run function | Christopher Allan Webber | 2012-01-29 | 1 | -6/+76 | |
| | | ||||||
* | | Beginnings of the SQL migration manager | Christopher Allan Webber | 2012-01-29 | 1 | -1/+100 | |
| | | ||||||
* | | Big ol' start of the SQL migrations system. | Christopher Allan Webber | 2012-01-29 | 6 | -0/+214 | |
|/ | | | | Things definitely don't work yet, but should be heading in the right direction. | |||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2012-01-29 | 2 | -1/+1 | |
| | ||||||
* | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2012-01-29 | 1 | -3/+3 | |
| | ||||||
* | Adding a line reminding user to push up commits | Christopher Allan Webber | 2012-01-29 | 1 | -0/+2 | |
| | ||||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2012-01-29 | 41 | -1449/+1953 | |
| | ||||||
* | Hm, maybe this is better... that didn't fix the stop-in-the-middle issue. | Christopher Allan Webber | 2012-01-29 | 1 | -6/+7 | |
| | ||||||
* | Update update_translations script to consider several things conditionally | Christopher Allan Webber | 2012-01-29 | 1 | -4/+6 | |
| | | | | Specifically, previously if there was nothing to git add, whole script would just die | |||||
* | Nearly complete support for Tags | Elrond | 2012-01-28 | 4 | -6/+54 | |
| | | | | | | | | | | | These changes allow all of the rest of the code to use tags in sql as they were used on mongo. It's not efficient at all, as changing tags usually means to remove all old tags and adding all new. The only problem here is: Old slugs for tags are not removed, because they're shared across all MediaTags and dropping orphans is not always easy. | |||||
* | Resized a test_exif test image. 1.9M is unnecessarily large. | Joar Wandborg | 2012-01-28 | 1 | -0/+0 | |
| | ||||||
* | Merge remote-tracking branch 'joar/exif-rebase' | Joar Wandborg | 2012-01-28 | 134 | -39/+12382 | |
|\ |