Patch Detail
Show a patch.
GET /api/patches/2199/?format=api
{ "id": 2199, "url": "https://patchwork.libcamera.org/api/patches/2199/?format=api", "web_url": "https://patchwork.libcamera.org/patch/2199/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20191021102453.26471-1-laurent.pinchart@ideasonboard.com>", "date": "2019-10-21T10:24:46", "name": "[libcamera-devel,1/8] Documentation: Move coding style under contributing", "commit_ref": "f353777fb853230a1ea620658c600e005525e46c", "pull_url": null, "state": "accepted", "archived": false, "hash": "5e9de3cd6b80ed6ee463681baf3465f61a176c8c", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/2199/mbox/", "series": [ { "id": 539, "url": "https://patchwork.libcamera.org/api/series/539/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=539", "date": "2019-10-21T10:24:46", "name": "[libcamera-devel,1/8] Documentation: Move coding style under contributing", "version": 1, "mbox": "https://patchwork.libcamera.org/series/539/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/2199/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/2199/checks/", "tags": {}, "headers": { "Return-Path": "<laurent.pinchart@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CF77960BE0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Oct 2019 12:25:04 +0200 (CEST)", "from pendragon.ideasonboard.com (143.121.2.93.rev.sfr.net\n\t[93.2.121.143])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 0F9A54F7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Oct 2019 12:25:03 +0200 (CEST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1571653504;\n\tbh=YWEw98PTwKmtE+bOnolSNFbNkJwJLCNvOOm+e7sGQpg=;\n\th=From:To:Subject:Date:From;\n\tb=FEgSXpdM3TNYrzwyD915y/lNKTBUt3HrLx9oVfYTjBOLXZ+dFHdNs1F5K6NN5TXx8\n\t/L6SXN+1AWl8hE14E3RM+vaET/ISwjO0C1G/swjYp64Yxn9wCnPMHbVkiMUDsH/Bsn\n\tDRY9FRNwLkpSlDNG8Z1eBZ3kmJ/nsQS0URM9NB70=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 21 Oct 2019 13:24:46 +0300", "Message-Id": "<20191021102453.26471-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.23.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 1/8] Documentation: Move coding style\n\tunder contributing", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Mon, 21 Oct 2019 10:25:05 -0000" }, "content": "The coding style isn't so important that it has to be displayed on the\ntop contents bar. Move it to the contributing section.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/coding-style.rst | 6 ++----\n Documentation/contributing.rst | 11 +++++++++++\n Documentation/index.rst | 1 -\n 3 files changed, 13 insertions(+), 5 deletions(-)", "diff": "diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\nindex 8dd1afce1a2c..9940ec10f330 100644\n--- a/Documentation/coding-style.rst\n+++ b/Documentation/coding-style.rst\n@@ -1,10 +1,8 @@\n+.. _coding-style-guidelines:\n+\n Coding Style Guidelines\n =======================\n \n-The libcamera project has high standards of stability, efficiency and\n-reliability. To achieve those, the project goes to great length to produce\n-code that is as easy to read, understand and maintain as possible.\n-\n These coding guidelines are meant to ensure code quality. As a contributor\n you are expected to follow them in all code submitted to the project. While\n strict compliance is desired, exceptions are tolerated when justified with\ndiff --git a/Documentation/contributing.rst b/Documentation/contributing.rst\nindex 087f188e5d51..390b96a55699 100644\n--- a/Documentation/contributing.rst\n+++ b/Documentation/contributing.rst\n@@ -53,6 +53,12 @@ Sphinx integration with Doxygen is planned, likely using `Breathe`_ and\n Submitting Patches\n ------------------\n \n+The libcamera project has high standards of stability, efficiency and\n+reliability. To achieve those, the project goes to great length to produce\n+code that is as easy to read, understand and maintain as possible. This is\n+made possible by a set of :ref:`coding-style-guidelines` that all submissions\n+are expected to follow.\n+\n Patches submitted to the libcamera project must be certified as suitable for\n integration into an open source project. As such libcamera follows the same\n model as utilised by the Linux kernel, and requires the use of 'Signed-off-by:'\n@@ -62,3 +68,8 @@ By signing your contributions you are certifying your work in accordance with\n the `Developer's Certificate of Origin`_\n \n .. _Developer's Certificate of Origin: https://developercertificate.org/\n+\n+.. toctree::\n+ :hidden:\n+\n+ Coding Style <coding-style>\ndiff --git a/Documentation/index.rst b/Documentation/index.rst\nindex ec2222108e8a..84d5f6a88caf 100644\n--- a/Documentation/index.rst\n+++ b/Documentation/index.rst\n@@ -7,6 +7,5 @@\n \n Home <self>\n Docs <docs>\n- Coding Style <coding-style>\n Contribute <contributing>\n API <api-html/index>\n", "prefixes": [ "libcamera-devel", "1/8" ] }