| 1 |
Contribute and support |
| 2 |
====================== |
| 3 |
|
| 4 |
- Do not be afraid to contribute with small and apparently insignificant |
| 5 |
improvements like correction to typos. Every change counts. |
| 6 |
- Read carefully the :doc:`license` of PyCryptodome. By submitting your code, |
| 7 |
you acknowledge that you accept to release it according to the `BSD 2-clause license`_. |
| 8 |
- You must disclaim which parts of your code in your contribution were partially |
| 9 |
copied or derived from an existing source. Ensure that the original is licensed |
| 10 |
in a way compatible to the *BSD 2-clause license*. |
| 11 |
- You can propose changes in any way you find most convenient. |
| 12 |
However, the preferred approach is to: |
| 13 |
|
| 14 |
* Clone the main repository on `GitHub`_. |
| 15 |
* Create a branch and modify the code. |
| 16 |
* Send a `pull request`_ upstream with a meaningful description. |
| 17 |
|
| 18 |
- Provide tests (in ``Crypto.SelfTest``) along with code. If you fix a bug |
| 19 |
add a test that fails in the current version and passes with your change. |
| 20 |
- If your change breaks backward compatibility, highlight it and include |
| 21 |
a justification. |
| 22 |
- Ensure that your code complies to `PEP8`_ and `PEP257`_. |
| 23 |
- If you add or modify a public interface, make sure the relevant type stubs |
| 24 |
remain up to date. |
| 25 |
- Ensure that your code does not use constructs or includes modules not |
| 26 |
present in `Python 2.6`_. |
| 27 |
- Add a short summary of the change to the file ``Changelog.rst``. |
| 28 |
- Add your name to the list of contributors in the file ``AUTHORS.rst``. |
| 29 |
|
| 30 |
The PyCryptodome mailing list is hosted on `Google Groups <https://groups.google.com/forum/#!forum/pycryptodome>`_. |
| 31 |
You can mail any comment or question to *[email protected]*. |
| 32 |
|
| 33 |
Bug reports can be filed on the `GitHub tracker <https://github.com/Legrandin/pycryptodome/issues>`_. |
| 34 |
|
| 35 |
.. _BSD 2-clause license: https://opensource.org/licenses/BSD-2-Clause |
| 36 |
.. _GitHub: https://github.com/Legrandin/pycryptodome |
| 37 |
.. _pull request: https://help.github.com/articles/about-pull-requests/ |
| 38 |
.. _PEP8: https://www.python.org/dev/peps/pep-0008/ |
| 39 |
.. _MIT license: https://opensource.org/licenses/MIT |
| 40 |
.. _PEP257: https://legacy.python.org/dev/peps/pep-0257/ |
| 41 |
.. _Python 2.6: https://rgruet.free.fr/PQR26/PQR2.6.html |