Debian Codegraph @

docs/contributing.rst

raw
1 ..
2 SPDX-License-Identifier: CC-BY-SA-4.0
3 SPDX-FileCopyrightText: 2025 Bartosz Golaszewski <[email protected]>
4
5 ..
6 This file is part of libgpiod.
7
8 Contribution guide.
9
10 Contributing
11 ============
12
13 Contributions are welcome - please send questions, patches and bug reports to
14 the `linux-gpio mailing list
15 <http://vger.kernel.org/vger-lists.html#linux-gpio>`_
16 by e-mailing to ``[email protected]`` (add the ``[libgpiod]`` prefix
17 to the e-mail subject line). Note that the mailing list quietly drops HTML
18 formatted e-mail, so be sure to `send plain text
19 <https://docs.kernel.org/process/email-clients.html>`_.
20
21 Code submissions should stick to the `linux kernel coding style
22 <https://docs.kernel.org/process/coding-style.html>`_ and follow the kernel
23 `patch submission process
24 <https://docs.kernel.org/process/submitting-patches.html>`_ as applied to the
25 libgpiod source tree. All shell scripts must pass `shellcheck tests
26 <https://www.shellcheck.net/>`_. All files must have a license and copyright
27 SPDX headers and the repo is expected to pass the `reuse lint check
28 <https://reuse.software/>`_.
29
30 The `mailing list archive <https://lore.kernel.org/linux-gpio/>`_ contains all
31 the historical mails to the list, and is the place to check to ensure your
32 e-mail has been received.
33 Search for `"libgpiod"` to filter the list down to relevant messages. Those
34 also provide examples of the expected formatting. Allow some time for your
35 e-mail to propagate to the list before retrying, particularly if there are no
36 e-mails in the list more recent than yours.
37
38 There is a `libgpiod github page <https://github.com/brgl/libgpiod>`_
39 available for reporting bugs and general discussions and although PRs can be
40 submitted and discussed, upstreambound patches need to go through the mailing
41 list nevertheless.
42
43 .. note::
44 For more information, please refer to the ``CONTRIBUTING.md`` file in the
45 libgpiod source tree.