get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/91165/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 91165,
    "url": "http://patches.dpdk.org/api/patches/91165/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210413120005.3858-1-linglix.chen@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210413120005.3858-1-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210413120005.3858-1-linglix.chen@intel.com",
    "date": "2021-04-13T12:00:05",
    "name": "[V1] framework/project_dpdk: complete dpdk build apps match enhancement",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a28b1bd17d2f12e0c54e65a8a9e8b3d073704f19",
    "submitter": {
        "id": 1843,
        "url": "http://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210413120005.3858-1-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 16311,
            "url": "http://patches.dpdk.org/api/series/16311/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=16311",
            "date": "2021-04-13T12:00:05",
            "name": "[V1] framework/project_dpdk: complete dpdk build apps match enhancement",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16311/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/91165/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/91165/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 B58D9A0524;\n\tTue, 13 Apr 2021 05:25:25 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B02A41609F1;\n\tTue, 13 Apr 2021 05:25:25 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 9218F1609EE\n for <dts@dpdk.org>; Tue, 13 Apr 2021 05:25:24 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Apr 2021 20:25:23 -0700",
            "from unknown (HELO DPDK-CVL-tetser102.icx.intel.com)\n ([10.240.183.102])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Apr 2021 20:25:21 -0700"
        ],
        "IronPort-SDR": [
            "\n P20Cjwl5DnLGIJHNFFbORz7+TP8AGy1OJ/p2MhHqkdVkkA80wsqyrJgGsau3iF1VXV7Tweu4VE\n VkS0xxbZd2jw==",
            "\n HaoIsRQi6Xzrt3Pz7hZCNsP+dKFiICbg10mPSvh/y6p8dZ0VqrFRiX/YactAgDdec7LLBp11Y7\n HmIxo4X4DQ5g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,9952\"; a=\"181848700\"",
            "E=Sophos;i=\"5.82,218,1613462400\"; d=\"scan'208\";a=\"181848700\"",
            "E=Sophos;i=\"5.82,218,1613462400\"; d=\"scan'208\";a=\"417675767\""
        ],
        "From": "Chen Lingli <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Chen Lingli <linglix.chen@intel.com>",
        "Date": "Tue, 13 Apr 2021 12:00:05 +0000",
        "Message-Id": "<20210413120005.3858-1-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] framework/project_dpdk: complete dpdk build apps\n match enhancement",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "The compilation log of DPDK build app contains '# ', enhanced echo matching.\n\nSigned-off-by: Chen Lingli <linglix.chen@intel.com>\n---\n framework/project_dpdk.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py\nindex 0edb38a6..2975e2ef 100644\n--- a/framework/project_dpdk.py\n+++ b/framework/project_dpdk.py\n@@ -578,7 +578,7 @@ class DPDKdut(Dut):\n             example = '/'.join(folder_info[folder_info.index('examples')+1:])\n         out = self.send_expect(\"meson configure -Dexamples=%s %s\" % (example, self.target), \"# \")\n         assert (\"FAILED\" not in out), \"Compilation error...\"\n-        out = self.send_expect(\"ninja -C %s\" % self.target, \"# \", timeout)\n+        out = self.send_expect(\"ninja -C %s\" % self.target, \"[~|~\\]]# \", timeout)\n         assert (\"FAILED\" not in out), \"Compilation error...\"\n \n         # verify the app build in the config path\n",
    "prefixes": [
        "V1"
    ]
}