add more developer related information

This commit is contained in:
Jan Dittberner 2011-10-29 23:16:50 +02:00
parent 0981fb3f68
commit 784b99652f

View File

@ -4,19 +4,21 @@ Download
You can get the latest version of SQLAlchemy Migrate from the You can get the latest version of SQLAlchemy Migrate from the
`project's download page`_, the `cheese shop`_, pip_ or via easy_install_:: `project's download page`_, the `cheese shop`_, pip_ or via easy_install_::
easy_install sqlalchemy-migrate $ easy_install sqlalchemy-migrate
or:: or::
pip install sqlalchemy-migrate $ pip install sqlalchemy-migrate
You should now be able to use the *migrate* command from the command You should now be able to use the :command:`migrate` command from the command
line:: line::
migrate $ migrate
This should list all available commands. ``migrate help COMMAND`` will This should list all available commands. To get more information regarding a
display more information about each command. command use::
$ migrate help COMMAND
If you'd like to be notified when new versions of SQLAlchemy Migrate If you'd like to be notified when new versions of SQLAlchemy Migrate
are released, subscribe to `migrate-announce`_. are released, subscribe to `migrate-announce`_.
@ -28,6 +30,8 @@ are released, subscribe to `migrate-announce`_.
.. _`cheese shop`: http://pypi.python.org/pypi/sqlalchemy-migrate .. _`cheese shop`: http://pypi.python.org/pypi/sqlalchemy-migrate
.. _`migrate-announce`: http://groups.google.com/group/migrate-announce .. _`migrate-announce`: http://groups.google.com/group/migrate-announce
.. _development:
Development Development
----------- -----------
@ -35,13 +39,33 @@ Migrate's Mercurial_ repository is located at `Google Code`_.
To get the latest trunk:: To get the latest trunk::
hg clone http://sqlalchemy-migrate.googlecode.com/hg/ $ hg clone http://sqlalchemy-migrate.googlecode.com/hg/
Patches should be submitted to the `issue tracker`_. Patches should be submitted to the `issue tracker`_. You are free to create
your own clone to provide your patches. We are open to pull requests in our
`issue tracker`_.
We use `hudson`_ Continuous Integration tool to help us run tests on all databases that migrate supports. If you want to work on sqlalchemy-migrate you might want to use a `virtualenv`.
To run the included test suite you have to copy :file:`test_db.cfg.tmpl` to
:file:`test_db.cfg` and put SQLAlchemy database URLs valid for your environment
into that file. We use `nose`_ for our tests and include a test requirements
file for pip. You might use the following commands to install the test
requirements and run the tests::
$ pip install -r test-req.pip
$ python setup.py develop
$ python setup.py nosetests
If you are curious about status changes of sqlalchemy-migrate's issues you
might want to subscribe to `sqlalchemy-migrate-issues`_.
We use a `Jenkins CI`_ continuous integration tool installation to
help us run tests on most of the databases that migrate supports.
.. _Mercurial: http://www.mercurial-scm.org/ .. _Mercurial: http://www.mercurial-scm.org/
.. _Google Code: http://sqlalchemy-migrate.googlecode.com/hg/ .. _Google Code: http://sqlalchemy-migrate.googlecode.com/hg/
.. _issue tracker: http://code.google.com/p/sqlalchemy-migrate/issues/list .. _issue tracker: http://code.google.com/p/sqlalchemy-migrate/issues/list
.. _hudson: http://hudson.fubar.si .. _sqlalchemy-migrate-issues: http://groups.google.com/group/sqlalchemy-migrate-issues
.. _Jenkins CI: http://jenkins.gnuviech-server.de/job/sqlalchemy-migrate-all/
.. _nose: http://readthedocs.org/docs/nose/