forked from Github-Mirrors/canaille
CONTRIBUTING reformulation
This commit is contained in:
parent
c64395b980
commit
44b7bb5787
1 changed files with 9 additions and 7 deletions
|
@ -3,20 +3,22 @@ Contribute
|
||||||
|
|
||||||
Contributions are welcome!
|
Contributions are welcome!
|
||||||
|
|
||||||
Unit tests
|
|
||||||
----------
|
|
||||||
|
|
||||||
To run the tests, you just need to run `tox`. Everything must be green before patches get merged.
|
|
||||||
|
|
||||||
.. warning ::
|
.. warning ::
|
||||||
|
|
||||||
On Debian or Ubuntu systems, the OpenLDAP `slapd` binary usage might be restricted by apparmor, and thus makes the test fail. This can be mitigated by removing apparmor restrictions on `slapd`.
|
On Debian or Ubuntu systems, the OpenLDAP `slapd` binary usage might be restricted by apparmor,
|
||||||
|
and thus makes the tests and the demo fail. This can be mitigated by removing apparmor restrictions
|
||||||
|
on `slapd`.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
sudo apt install --yes apparmor-utils
|
sudo apt install --yes apparmor-utils
|
||||||
sudo aa-complain /usr/sbin/slapd
|
sudo aa-complain /usr/sbin/slapd
|
||||||
|
|
||||||
|
Unit tests
|
||||||
|
----------
|
||||||
|
|
||||||
|
To run the tests, you just need to run `tox`. Everything must be green before patches get merged.
|
||||||
|
|
||||||
Style
|
Style
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -52,6 +54,6 @@ The documentation is generated when the tests run:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
tox
|
tox -e doc
|
||||||
|
|
||||||
The generated documentation is in `./build/sphinx/html/` directory.
|
The generated documentation is in `./build/sphinx/html/` directory.
|
||||||
|
|
Loading…
Reference in a new issue