Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/132302/?format=api
https://patches.dpdk.org/api/patches/132302/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231004122753.3261337-1-jerinj@marvell.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20231004122753.3261337-1-jerinj@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231004122753.3261337-1-jerinj@marvell.com", "date": "2023-10-04T12:27:52", "name": "[1/2] devtools: support skipping forbid rule check", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8c15698ec2f4480b286329cc0e9f19e551bbaf95", "submitter": { "id": 1188, "url": "https://patches.dpdk.org/api/people/1188/?format=api", "name": "Jerin Jacob Kollanukkaran", "email": "jerinj@marvell.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231004122753.3261337-1-jerinj@marvell.com/mbox/", "series": [ { "id": 29734, "url": "https://patches.dpdk.org/api/series/29734/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29734", "date": "2023-10-04T12:27:52", "name": "[1/2] devtools: support skipping forbid rule check", "version": 1, "mbox": "https://patches.dpdk.org/series/29734/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/132302/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/132302/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0E6C8426B6;\n\tWed, 4 Oct 2023 14:28:10 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DAC89402CF;\n\tWed, 4 Oct 2023 14:28:09 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 76A7A402CE\n for <dev@dpdk.org>; Wed, 4 Oct 2023 14:28:07 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 3945tk50016524; Wed, 4 Oct 2023 05:28:06 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3th2b6h3xr-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 04 Oct 2023 05:28:06 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 4 Oct 2023 05:28:04 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Wed, 4 Oct 2023 05:28:04 -0700", "from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14])\n by maili.marvell.com (Postfix) with ESMTP id 550B83F7074;\n Wed, 4 Oct 2023 05:27:59 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=A7Vsw3eSG4tu4fRKkiZjD+3uiL6f8F16+T72okMgZNs=;\n b=bwYO5Y3DYjDeaZ+YxrDF8Y5sUGSV6WfhBlYoRKFKSOcCULObpUxMpBN64fH+aIeUIZY2\n ByvaFU5OAdOTVSbCBZnRlXYiUiSTjSjOo0KBWZhY20xG45zSRYjdYFJHWeR02V+1OOGg\n TiS/oNFeivJQG+DtHd3E36pghW7ck3+a0jX+/ajBmU6bjN0HXloEplq18BoEI50AGQhF\n epaYs6nHTDVqObH79qePjGoRTRtW1vcI7hC891pNtM/oUPDeh9iUqlxk+u19PjudPmCS\n iqLgOhJLzXBvorFVCIlMqXjwqcegjAdmkfVWpw+qZe83ELqspTVr0n9e9oojRtgC1Bkr hA==", "From": "<jerinj@marvell.com>", "To": "Thomas Monjalon <thomas@monjalon.net>", "CC": "<dev@dpdk.org>, <david.marchand@redhat.com>, Jerin Jacob\n <jerinj@marvell.com>", "Subject": "[dpdk-dev] [PATCH 1/2] devtools: support skipping forbid rule check", "Date": "Wed, 4 Oct 2023 17:57:52 +0530", "Message-ID": "<20231004122753.3261337-1-jerinj@marvell.com>", "X-Mailer": "git-send-email 2.42.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "71cGbpbBMd-JZJSuaYZv1iIJhwhMXMS2", "X-Proofpoint-GUID": "71cGbpbBMd-JZJSuaYZv1iIJhwhMXMS2", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-10-04_04,2023-10-02_01,2023-05-22_02", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Jerin Jacob <jerinj@marvell.com>\n\nIn some case, a set of files in directory may need to skip forbid\nrules check.\n\nAdded an infrastructure to enable the same using SKIP_FILES variable.\n\nSigned-off-by: Jerin Jacob <jerinj@marvell.com>\n---\n devtools/check-forbidden-tokens.awk | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/devtools/check-forbidden-tokens.awk b/devtools/check-forbidden-tokens.awk\nindex 026844141c..90d3a64f8e 100755\n--- a/devtools/check-forbidden-tokens.awk\n+++ b/devtools/check-forbidden-tokens.awk\n@@ -58,8 +58,11 @@ BEGIN {\n \tfor (i in deny_folders) {\n \t\tre = \"^\\\\+\\\\+\\\\+ b/\" deny_folders[i];\n \t\tif ($0 ~ re) {\n-\t\t\tin_file = 1\n-\t\t\tlast_file = $0\n+\t\t\t# Check only if the files are not part of SKIP_FILES\n+\t\t\tif (!(length(SKIP_FILES) && ($re ~ SKIP_FILES))) {\n+\t\t\t\tin_file = 1\n+\t\t\t\tlast_file = $0\n+\t\t\t}\n \t\t}\n \t}\n }\n", "prefixes": [ "1/2" ] }{ "id": 132302, "url": "