contributing.rst
53 lines
| 1.9 KiB
| text/x-rst
|
RstLexer
/ docs / contributing.rst
r811 | .. _contributing: | |||
r2095 | ========================= | |||
r1092 | Contributing to RhodeCode | |||
r811 | ========================= | |||
r1092 | If you would like to contribute to RhodeCode, please contact me, any help is | |||
greatly appreciated! | ||||
r811 | ||||
r1092 | Could I request that you make your source contributions by first forking the | |||
r1123 | RhodeCode repository on bitbucket_ | |||
r1092 | https://bitbucket.org/marcinkuzminski/rhodecode and then make your changes to | |||
r3993 | your forked repository. Please post all fixes into **dev** bookmark since your | |||
change might be already fixed there and i try to merge all fixes from dev into | ||||
stable, and not the other way. Finally, when you are finished with your changes, | ||||
r1123 | please send me a pull request. | |||
r1062 | ||||
r2094 | To run RhodeCode in a development version you always need to install the latest | |||
r3993 | required libs. Simply clone rhodecode and switch to beta branch:: | |||
hg clone -u dev https://secure.rhodecode.org/rhodecode | ||||
r1062 | ||||
r2094 | after downloading/pulling RhodeCode make sure you run:: | |||
r2032 | ||||
python setup.py develop | ||||
r3224 | command to install/verify all required packages, and prepare development | |||
r2094 | enviroment. | |||
r2032 | ||||
r3993 | There are two files in the directory production.ini and developement.ini copy | |||
the `development.ini` file as rc.ini (which is excluded from version controll) | ||||
and put all your changes like db connection or server port in there. | ||||
r2032 | ||||
r2094 | After finishing your changes make sure all tests passes ok. You can run | |||
r2600 | the testsuite running ``nosetest`` from the project root, or if you use tox | |||
r3993 | run tox for python2.5-2.7 with multiple database test. When using `nosetests` | |||
test.ini file is used and by default it uses sqlite for tests, edit this file | ||||
to change your testing enviroment. | ||||
There's a special set of tests for push/pull operations, you can runn them using:: | ||||
paster serve test.ini --pid-file=test.pid --daemon | ||||
RC_WHOOSH_TEST_DISABLE=1 RC_NO_TMP_PATH=1 nosetests -x rhodecode/tests/other/test_vcs_operations.py | ||||
kill -9 $(cat test.pid) | ||||
r2032 | ||||
r1092 | | Thank you for any contributions! | |||
| Marcin | ||||
r1123 | ||||
.. _bitbucket: http://bitbucket.org/ | ||||