Patch Detail
Show a patch.
GET /api/1.1/patches/15103/?format=api
{ "id": 15103, "url": "https://patchwork.libcamera.org/api/1.1/patches/15103/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15103/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20211209202818.29950-1-laurent.pinchart@ideasonboard.com>", "date": "2021-12-09T20:28:18", "name": "[libcamera-devel] libcamera: Restrict .gitignore build/ and patches/ to the root directory", "commit_ref": "8a480237f6442a87f14aed2137b72b4d21fcae4f", "pull_url": null, "state": "accepted", "archived": false, "hash": "61e3062f3e9d2af27dd150274c2ec7f09bc29e3d", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15103/mbox/", "series": [ { "id": 2833, "url": "https://patchwork.libcamera.org/api/1.1/series/2833/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2833", "date": "2021-12-09T20:28:18", "name": "[libcamera-devel] libcamera: Restrict .gitignore build/ and patches/ to the root directory", "version": 1, "mbox": "https://patchwork.libcamera.org/series/2833/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15103/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15103/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id A4988BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 9 Dec 2021 20:28:53 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CF6666087A;\n\tThu, 9 Dec 2021 21:28:52 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4CE92607DE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 9 Dec 2021 21:28:51 +0100 (CET)", "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id C50EE501\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 9 Dec 2021 21:28:50 +0100 (CET)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"QxFOF/oq\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1639081730;\n\tbh=mD1gm/LrBLVTwvDLG84k4MI0l8efAuHjr3NZo1ufXXQ=;\n\th=From:To:Subject:Date:From;\n\tb=QxFOF/oqs7xFESILlNd3s3YiRs0Ymdw4m3VpZCMx8prrCXKVYLuhaqM2XZ107QZEp\n\tojSlwWg0yqR6UQmqhlR8W6daMpughNc0+LpNA0LQvKvL+Msbo6dH5MoQIBWM+LY/PJ\n\te5cBO80dylATEGM/kenvMFdqGIyaK27+15+1xfmA=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 9 Dec 2021 22:28:18 +0200", "Message-Id": "<20211209202818.29950-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.32.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] libcamera: Restrict .gitignore build/ and\n\tpatches/ to the root directory", "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>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The build/ and patches/ directories are listed in .gitignore as they're\ncommonly used respectively as the meson build directory (this is the\ndirectory name used in README.rst) and as a local patches store (this\nusage pattern isn't official though, and may need to be reconsidered if\nnot used anymore). As those two directories are supposed to be at the\nroot of the source tree, restrict the corresponding .gitignore patterns\nto avoid matching other locations.\n\nWhile at it, sort the entries alphabetically, with the absolute path\nentries separate from the entries that match any location within the\nsource tree.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n .gitignore | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)\n\n\nbase-commit: f16acb275c85518c13e81ffa6503347abcc01dc5", "diff": "diff --git a/.gitignore b/.gitignore\nindex d3d73615bac1..f6d1d68e4a7c 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -1,7 +1,8 @@\n # SPDX-License-Identifier: CC0-1.0\n \n-__pycache__/\n-build/\n-patches/\n+/build/\n+/patches/\n+\n *.patch\n *.pyc\n+__pycache__/\n", "prefixes": [ "libcamera-devel" ] }