diff options
| author | Barry Warsaw | 2017-02-04 08:39:36 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2017-02-04 08:39:36 -0500 |
| commit | 2ac9bde07dc583390e41694f886553a0c0b18758 (patch) | |
| tree | 60ee88705a89d3acecb9e128efa441b6965fa963 /src | |
| parent | 8c117d9a944976400801d3ced7e4c2b6b010b18b (diff) | |
| download | mailman-2ac9bde07dc583390e41694f886553a0c0b18758.tar.gz mailman-2ac9bde07dc583390e41694f886553a0c0b18758.tar.zst mailman-2ac9bde07dc583390e41694f886553a0c0b18758.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/docs/CONTRIBUTE.rst | 50 | ||||
| -rw-r--r-- | src/mailman/docs/RELEASENOTES.rst | 3 |
2 files changed, 31 insertions, 22 deletions
diff --git a/src/mailman/docs/CONTRIBUTE.rst b/src/mailman/docs/CONTRIBUTE.rst index af76b9956..d29784139 100644 --- a/src/mailman/docs/CONTRIBUTE.rst +++ b/src/mailman/docs/CONTRIBUTE.rst @@ -21,11 +21,11 @@ Requirements ============ For the Core, Python 3.4 or newer is required. It can either be the default -'python3' on your ``$PATH`` or it can be accessible via the ``python3.4`` or -``python3.5`` binary. If your operating system does not include Python 3, see -http://www.python.org for information about downloading installers (where -available) and installing it from source (when necessary or preferred). -Python 2 is not supported by the Core. +'python3' on your ``$PATH`` or it can be accessible via the ``python3.4``, +``python3.5``, or ``python3.6`` binary. If your operating system does not +include Python 3, see http://www.python.org for information about downloading +installers (where available) and installing it from source (when necessary or +preferred). Python 2 is not supported by the Core. You may need some additional dependencies, which are either available from your OS vendor, or can be downloaded automatically from the `Python @@ -84,40 +84,43 @@ available. Very often, when you want to run the full test suite in the quickest manner with components that should be available everywhere, run one of these command, depending on which version of Python 3 you have:: - $ tox -e py35 - $ tox -e py34 + $ tox -e py36-nocov + $ tox -e py35-nocov + $ tox -e py34-nocov You can run individual tests in any given environment by providing additional positional arguments. For example, to run only the tests that match a specific pattern:: - $ tox -e py35 -- -P user + $ tox -e py35-nocov -- -P user You can see all the other arguments supported by the test suite by running:: - $ tox -e py35 -- --help + $ tox -e py35-nocov -- --help You also have access to the virtual environments created by tox, and you can use this run the virtual environment's Python executable, or run the ``mailman`` command locally, e.g.:: - $ .tox/py35/bin/python - $ .tox/py35/bin/mailman --help + $ .tox/py35-nocov/bin/python + $ .tox/py35-nocov/bin/mailman --help If you want to set up the virtual environment without running the full test suite, you can do this:: - $ tox -e py35 --notest -r + $ tox -e py35-nocov --notest -r -Testing with PostgreSQL -======================== +Testing with PostgreSQL and MySQL +================================= By default, the test suite runs with the built-in SQLite database engine. If -you want to run the full test suite against the PostgreSQL database, set the -database up as described in :doc:`DATABASE`, then create a `postgres.cfg` file -any where you want. This `postgres.cfg` file will contain the ``[database]`` -section for PostgreSQL, e.g.:: +you want to run the full test suite against the PostgreSQL or MySQL databases, +set the database up as described in :doc:`DATABASE`. + +For PostgreSQL, then create a `postgres.cfg` file any where you want. This +`postgres.cfg` file will contain the ``[database]`` section for PostgreSQL, +e.g.:: [database] class: mailman.database.postgresql.PostgreSQLDatabase @@ -161,7 +164,14 @@ install. Building the documentation ========================== -Build the online docs by running:: +To build the documentation, you need some additional dependencies. The only +one you probably need from your OS vendor is `graphiz`. E.g. On Debian or +Ubuntu, you can do:: + + $ sudo apt install graphiz + +All other dependencies should be automatically installed as needed. Build the +documentation by running:: $ tox -e docs @@ -214,7 +224,7 @@ means of configuration is via the command line and REST API. Note that you can also "run" Mailman from one of the virtual environments created by tox, e.g.:: - $ .tox/py35/bin/mailman info + $ .tox/py35-nocov/bin/mailman info Mailman Shell diff --git a/src/mailman/docs/RELEASENOTES.rst b/src/mailman/docs/RELEASENOTES.rst index 00d29bb7e..bccb03bf8 100644 --- a/src/mailman/docs/RELEASENOTES.rst +++ b/src/mailman/docs/RELEASENOTES.rst @@ -19,8 +19,7 @@ Mailman 3 may have bugs. Mailman 3 is not yet feature complete with Mailman 2.1. The documentation here describes the Mailman Core in great detail. Postorius, -Hyperkitty, mailman.client, and the bundler are described and developed -elsewhere. +Hyperkitty, and mailman.client are described and developed elsewhere. More release notes are maintained on the `Mailman wiki`_. |
