From ec449970eef7baacb80fd67fd82318f3b4f491f6 Mon Sep 17 00:00:00 2001 From: May-Lee Sia Date: Thu, 29 Apr 2021 07:56:27 +0200 Subject: [PATCH] Add CONTRIBUTORS.rst --- contributors.rst | 43 ++++++++++++++++++++++++++++++++ newsfragments/3682.documentation | 1 + 2 files changed, 44 insertions(+) create mode 100644 contributors.rst create mode 100644 newsfragments/3682.documentation diff --git a/contributors.rst b/contributors.rst new file mode 100644 index 000000000..bde4b014d --- /dev/null +++ b/contributors.rst @@ -0,0 +1,43 @@ +Contributor Checklist +===================== + + +* Create a ``Trac`` ticket, fill it out and assign it to yourself (contact exarkun if you don't have an account): + + ``https://tahoe-lafs.org/trac/tahoe-lafs/newticket`` + +* Use the ticket number to name your branch (example): + + ``3003.contributor-guide`` + +* Good idea to add tests at the same time you write your code. + +* Add a file to the ``/newsfragments`` folder, named with the ticket number and the type of patch (example): + + ``newsfragments/3651.minor`` + +* ``towncrier`` recognizes the following types: + + ``incompat``, ``feature``, ``bugfix``, ``installation``, ``configuration``, ``documentation``, ``removed``, ``other``, ``minor`` +* Add one sentence to ``newsfragments/.`` describing the change (example): + + ``The integration test suite has been updated to use pytest-twisted instead of deprecated pytest APIs.`` + +* Run the test suite with ``tox``, ``tox -e codechecks`` and ``tox -e typechecks`` + +* Push your branch to Github with your ticket number in the merge commit message (example): + + ``Fixes ticket:3003`` + + This makes the ``Trac`` ticket close when your PR gets approved. + +* Request appropriate review. + + +References +---------- + +This checklist is a summary of `this page on contributing Patches `__ + +Before authoring or reviewing a patch, please familiarize yourself with the `Coding Standard `__ +and the `Contributor Code of Conduct `__. diff --git a/newsfragments/3682.documentation b/newsfragments/3682.documentation new file mode 100644 index 000000000..74c4cf246 --- /dev/null +++ b/newsfragments/3682.documentation @@ -0,0 +1 @@ +A cheatsheet-style document for contributors was created at CONTRIBUTORS.md