# HG changeset patch # User Andrew Shadura # Date 1426149868 -3600 # Node ID 95fe05b1e5f8105b36a7ce0e37600f8ed0f24b34 # Parent 1716136847304ca5884e032740d002a4a886e40e docs: better capitalisation diff -r 171613684730 -r 95fe05b1e5f8 docs/contributing.rst --- a/docs/contributing.rst Thu Mar 12 09:43:46 2015 +0100 +++ b/docs/contributing.rst Thu Mar 12 09:44:28 2015 +0100 @@ -49,10 +49,10 @@ After finishing your changes make sure all tests pass cleanly. You can run the testsuite running ``nosetest`` from the project root, or if you use tox run tox for python2.6-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 +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:: +There's a special set of tests for push/pull operations, you can run them using:: paster serve test.ini --pid-file=test.pid --daemon KALLITHEA_WHOOSH_TEST_DISABLE=1 KALLITHEA_NO_TMP_PATH=1 nosetests -x kallithea/tests/other/test_vcs_operations.py diff -r 171613684730 -r 95fe05b1e5f8 docs/installation.rst --- a/docs/installation.rst Thu Mar 12 09:43:46 2015 +0100 +++ b/docs/installation.rst Thu Mar 12 09:44:28 2015 +0100 @@ -114,7 +114,7 @@ backed up to ``my.ini.0-1``.) -If using a sqlite database, stop the Kallithea process/daemon/service, and +If using a SQLite database, stop the Kallithea process/daemon/service, and then make a copy of the database file:: service kallithea stop diff -r 171613684730 -r 95fe05b1e5f8 docs/setup.rst --- a/docs/setup.rst Thu Mar 12 09:43:46 2015 +0100 +++ b/docs/setup.rst Thu Mar 12 09:44:28 2015 +0100 @@ -20,10 +20,10 @@ Next, you need to create the databases used by Kallithea. It is recommended to -use postgresql or sqlite (default). If you choose a database other than the -default ensure you properly adjust the db url in your my.ini +use PostgreSQL or SQLite (default). If you choose a database other than the +default ensure you properly adjust the database URL in your my.ini configuration file to use this other database. Kallithea currently supports -postgresql, sqlite and mysql databases. Create the database by running +PostgreSQL, SQLite and MySQL databases. Create the database by running the following command:: paster setup-db my.ini @@ -42,10 +42,10 @@ - The ``setup-db`` command will create all of the needed tables and an admin account. When choosing a root path you can either use a new empty location, or a location which already contains existing repositories. If you - choose a location which contains existing repositories Kallithea will simply - add all of the repositories at the chosen location to it's database. + choose a location which contains existing repositories Kallithea will + add all of the repositories at the chosen location to its database. (Note: make sure you specify the correct path to the root). -- Note: the given path for mercurial_ repositories **must** be write accessible +- Note: the given path for Mercurial_ repositories **must** be write accessible for the application. It's very important since the Kallithea web interface will work without write access, but when trying to do a push it will eventually fail with permission denied errors unless it has write access. @@ -72,7 +72,7 @@ This will create `rcextensions` package in the same place that your `ini` file lives. With `rcextensions` it's possible to add additional mapping for whoosh, stats and add additional code into the push/pull/create/delete repo hooks. -For example for sending signals to build-bots such as jenkins. +For example for sending signals to build-bots such as Jenkins. Please see the `__init__.py` file inside `rcextensions` package for more details. @@ -83,7 +83,7 @@ Kallithea currently only hosts repositories using http and https. (The addition of ssh hosting is a planned future feature.) However you can easily use ssh in parallel with Kallithea. (Repository access via ssh is a standard "out of -the box" feature of mercurial_ and you can use this to access any of the +the box" feature of Mercurial_ and you can use this to access any of the repositories that Kallithea is hosting. See PublishingRepositories_) Kallithea repository structures are kept in directories with the same name @@ -485,7 +485,7 @@ Changing default encoding ------------------------- -By default, Kallithea uses utf8 encoding. +By default, Kallithea uses UTF-8 encoding. It is configurable as `default_encoding` in the .ini file. This affects many parts in Kallithea including user names, filenames, and encoding of commit messages. In addition Kallithea can detect if `chardet` @@ -756,7 +756,7 @@ .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _python: http://www.python.org/ -.. _mercurial: http://mercurial.selenic.com/ +.. _Mercurial: http://mercurial.selenic.com/ .. _celery: http://celeryproject.org/ .. _rabbitmq: http://www.rabbitmq.com/ .. _python-ldap: http://www.python-ldap.org/