@@ -19,24 +19,26 @@ Testing
1919-------
2020
2121Patchwork includes a `tox `_ script to automate testing. This requires a
22- functional database and some Python requirements like ` tox ` . Refer to
22+ functional database and some Python requirements like * tox * . Refer to
2323:doc: `installation ` for information on how to configure these.
2424
25- You may also need to install ` tox ` . If so, do this now:
25+ You may also need to install * tox * . If so, do this now:
2626
2727.. code-block :: shell
2828
29- $ sudo pip install tox
29+ $ pip install --user tox
3030
3131 .. tip ::
3232
33- If you're using Docker, you may not need to install ` tox `
33+ If you're using Docker, you may not need to install * tox *
3434 locally. Instead, it will already be installed inside the
35- container. For Docker, you can run ` tox ` like so:
35+ container. For Docker, you can run * tox * like so:
3636
3737 .. code-block :: shell
3838
39- $ docker-compose run web tox [ARGS...]
39+ $ docker-compose run --rm web tox [ARGS...]
40+
41+ For more information, refer to :ref: `installation-docker `.
4042
4143Assuming these requirements are met, actually testing Patchwork is quite easy
4244to do. To start, you can show the default targets like so:
@@ -70,17 +72,18 @@ this:
7072
7173 $ tox
7274
75+
7376 .. _release-notes :
7477
7578Release Notes
7679-------------
7780
78- Patchwork uses `reno `_ for release note management. To use ` reno ` , you must
81+ Patchwork uses `reno `_ for release note management. To use * reno * , you must
7982first install it:
8083
8184.. code-block :: shell
8285
83- $ sudo pip install reno
86+ $ pip install --user reno
8487
8588 Once installed, a new release note can be created using the ``reno new ``
8689command:
@@ -92,6 +95,7 @@ command:
9295 Modify the created file, removing any irrelevant sections, and include the
9396modified file in your change.
9497
98+
9599API
96100---
97101
@@ -106,22 +110,47 @@ for more information.
106110 All API changes should be called out in :ref: `release notes
107111 <release-notes>` using the ``api `` section.
108112
113+
114+ Reporting Issues
115+ ----------------
116+
117+ You can report issues to the :ref: `mailing list <mailing-lists >` or the `GitHub
118+ issue tracker `_.
119+
120+
109121Submitting Changes
110122------------------
111123
112- All patches should be sent to the `mailing list `_. When doing so, please abide
113- by the ` QEMU guidelines `_ on contributing or submitting patches. This covers
114- both the initial submission and any follow up to the patches. In particular,
115- ensure:
124+ All patches should be sent to the :ref: `mailing list < mailing-lists >`. You must
125+ be subscribed to the list in order to submit patches. Please abide by the ` QEMU
126+ guidelines `_ on contributing or submitting patches. This covers both the
127+ initial submission and any follow up to the patches. In particular, ensure:
116128
117129* :ref: `All tests pass <testing >`
118130
119131* Documentation has been updated with new requirements, new script names etc.
120132
121133* :ref: `A release note is included <release-notes >`
122134
135+ Patches should ideally be submitted using the *git send-email * tool.
136+
137+
138+ .. _mailing-lists :
139+
140+ Mailing Lists
141+ -------------
142+
143+ Patchwork uses a single mailing list for development, questions and
144+ announcements.
145+
146+ patchwork@lists.ozlabs.org
147+
148+ Further information about the Patchwork mailing list is available can be found on
149+ `lists.ozlabs.org `_.
150+
123151.. _tox : https://tox.readthedocs.io/en/latest/
124152.. _reno : https://docs.openstack.org/developer/reno/
125- .. _mailing list : https://ozlabs.org/mailman/listinfo/patchwork
126153.. _QEMU guidelines : http://wiki.qemu.org/Contribute/SubmitAPatch
127154.. _Django REST Framework documentation : http://www.django-rest-framework.org/api-guide/versioning/
155+ .. _GitHub issue tracker : https://github.com/getpatchwork/patchwork
156+ .. _lists.ozlabs.org : https://lists.ozlabs.org/listinfo/patchwork
0 commit comments