Commit Graph

690 Commits

Author SHA1 Message Date
Mike Bayer 793edec5b8 - changelog
- finish up tutorial
2014-11-20 18:07:41 -05:00
Mike Bayer fac7bcf97b - fix some bugs with stamping in --sql mode, log output 2014-11-20 17:33:28 -05:00
Mike Bayer 8c5db73b61 - first draft of branch docs 2014-11-20 16:47:26 -05:00
Mike Bayer 011f94e8ac - remove versionadded/versionchanged directives prior to 0.6
- allow ranged revisions with history outside of the total
2014-11-20 14:30:24 -05:00
Mike Bayer 8624875222 - start up new branch documentation
- change formatting around for history and others, add new options
and allow history to have a --verbose option, with terse format
by default.  This is a little bit jarring but I think the consistency
with --verbose will be worth it.
2014-11-20 14:01:57 -05:00
Mike Bayer e6f0e9e6c0 Merge branch 'master' into multi_branch
Conflicts:
	docs/build/changelog.rst
2014-11-20 12:48:55 -05:00
Mike Bayer 0b63884a2c - changelog + some polish 2014-11-20 12:43:54 -05:00
Mike Bayer 9fb12ba776 Merge branch '242-config-vars' of https://bitbucket.org/nibrahim/alembic into pr33 2014-11-20 12:30:29 -05:00
Noufal Ibrahim c666c2fcfb Adds tests for config_args 2014-11-20 11:43:27 +05:30
Mike Bayer 739f534750 - identifying even more failure cases for iteration, build in a
full topological consumption system into the iterator.  much better
2014-11-19 19:53:09 -05:00
Mike Bayer 478f2e6584 - convert arg system to be a little cleaner
- other tweaks
2014-11-19 17:42:44 -05:00
Mike Bayer be7b26633b - disable "no handler found" errors 2014-11-19 14:56:45 -05:00
Mike Bayer b6d68c6f30 - use args[0] for py3k compat 2014-11-19 14:50:45 -05:00
Mike Bayer 11a0f4e43d - add a comma-formatting system, apply to templates, log messages
- fix up version testing used by autogenerate, add lots of tests
2014-11-19 14:47:20 -05:00
Mike Bayer f100db9824 - add test for the revision command from the top, the assertion
was failing when autogen was turned on
2014-11-18 22:04:15 -05:00
Mike Bayer 2a8b45d00f - support multiple revisions arguments 2014-11-18 21:32:57 -05:00
Mike Bayer 37d057a91c - some refactoring
- call branch names "branch labels", make them unambiguously
just labels
2014-11-18 21:13:25 -05:00
Mike Bayer 4126055ad7 - update tests and tweak to account for that history now includes the starting
rev in the list
2014-11-18 20:52:19 -05:00
Mike Bayer 202d9a801b Merge branch 'master' into multi_branch
Conflicts:
	docs/build/changelog.rst
2014-11-18 20:07:39 -05:00
Mike Bayer 56808c38b8 tuning 2014-11-18 19:11:47 -05:00
Mike Bayer a056d6f823 everythings passing, again. 2014-11-18 18:13:02 -05:00
Mike Bayer 20cc68dedc - stamp is working again 2014-11-18 17:38:32 -05:00
Mike Bayer 6bbbde58f7 - start testing better 2014-11-18 16:41:05 -05:00
Mike Bayer e599709228 - start fixing tests 2014-11-18 16:13:21 -05:00
Mike Bayer 2309a2f9b3 - OK this seems to traverse correctly across diamonds now, now to rewrite
all the tests and haven't even started docs yet...
2014-11-18 16:03:41 -05:00
Mike Bayer 2fd3304946 - this is a new approach which means I have to rewrite the tests again
and re-do "stamp", but better control at the version table level
2014-11-18 15:17:35 -05:00
Mike Bayer f80a67a12c - we've rescued traversal here but i think the approach to MigrationStep
has to change totally
2014-11-18 13:17:30 -05:00
Mike Bayer 9f5ebb1e53 The Oracle dialect sets "transactional DDL" to False by default,
as Oracle does not support transactional DDL.
fixes #245
2014-11-18 11:55:49 -05:00
Mike Bayer 2a0e753120 down for the count... 2014-11-17 21:49:50 -05:00
Mike Bayer b45cacab93 - invent some sort of solution for relative migrations 2014-11-17 20:28:35 -05:00
Mike Bayer 1dc08b7856 - add merge command 2014-11-17 19:49:56 -05:00
Mike Bayer d4861367b5 - add a show command 2014-11-17 19:28:17 -05:00
Mike Bayer ef4c2e039a - ensure the doc is not sent into the SQL comment in offline mode 2014-11-17 18:16:24 -05:00
Mike Bayer ce3abfa790 - restore the starting arg error back to the original intent 2014-11-17 17:51:59 -05:00
Mike Bayer 45d77d0d4c - add branch_name argument 2014-11-17 17:35:15 -05:00
Mike Bayer bbeac30db6 - add additional tests for some more stamp cases
- add branch_names to script.py.mako + assertion that if folks use
a branch_names option, it will assert that it was stated
2014-11-17 16:46:07 -05:00
Mike Bayer 83dcb4434e - get all current tests passing 2014-11-17 15:41:31 -05:00
Mike Bayer 00a65c364d - working through stamp use cases 2014-11-17 14:09:56 -05:00
Mike Bayer 3cdc316b3b Merge branch 'master' into multi_branch
Conflicts:
	docs/build/changelog.rst
2014-11-17 12:09:28 -05:00
Mike Bayer a02719dcca - Fixed a variety of issues surrounding rendering of Python code that
contains unicode literals.  The first is that the "quoted_name" construct
that SQLAlchemy uses to represent table and column names as well
as schema names does not ``repr()`` correctly on Py2K when the value
contains unicode characters; therefore an explicit stringification is
added to these.  Additionally, SQL expressions such as server defaults
were not being generated in a unicode-safe fashion leading to decode
errors if server defaults contained non-ascii characters.
fixes #243
2014-11-16 21:44:16 -05:00
Noufal Ibrahim 19fac68ed6 Changes name of variable.
This incorporates feedback from the package maintainer on the name of
the variable.
2014-11-16 22:18:51 +05:30
Mike Bayer ec7afc5cbf cleanup 2014-11-15 23:35:40 -05:00
Noufal Ibrahim 0586f71a64 Adds cfg_vars to Config.
This dictionary can be used to pass key value pairs that are used as
defaults while instantiating the SafeConfigParser.
2014-11-16 10:01:56 +05:30
Mike Bayer 8ac4d0446e work on error messages 2014-11-15 23:24:05 -05:00
Mike Bayer 2f04fce871 - continue tuning version selection; the upgrade operation chooses
implicit bases, so that all potential bases are matched against the
possibly limited list of upgrade targets; downgrade does not use implicit
bases, so that unless "base" is sent, the base is an individual revision
target.  this is based around the asymmetry that in terms of the versions
in the alembic_version table, those numbers are always bases for upgrade,
and heads for downgrade.
2014-11-15 19:43:50 -05:00
Mike Bayer 755bea9ab2 - working out how to ensure upgrades/downgrades can always proceed along a single
branch, or all branches
2014-11-15 19:18:02 -05:00
Mike Bayer 8839aaba20 - wip 2014-11-15 18:18:38 -05:00
Mike Bayer 602a5d52fb - wip 2014-11-15 15:35:11 -05:00
Mike Bayer 6dfceac5d2 - add the concept of named branches and <branch_or_rev>@<branch_or_rev> syntax 2014-11-15 14:28:59 -05:00
Mike Bayer 26175849b6 - start using the term "heads" to refer to all heads, "head" to
refer to the singular head else raise an error
2014-11-15 12:40:58 -05:00