get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139449,
    "url": "http://patches.dpdk.org/api/patches/139449/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240417093236.3786106-1-huangdengdui@huawei.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20240417093236.3786106-1-huangdengdui@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240417093236.3786106-1-huangdengdui@huawei.com",
    "date": "2024-04-17T09:32:36",
    "name": "devtools: fix version variable not initialized",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9b978d2f0b7a7496860a0a3d701aef67e2c2546d",
    "submitter": {
        "id": 3066,
        "url": "http://patches.dpdk.org/api/people/3066/?format=api",
        "name": "Dengdui Huang",
        "email": "huangdengdui@huawei.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240417093236.3786106-1-huangdengdui@huawei.com/mbox/",
    "series": [
        {
            "id": 31770,
            "url": "http://patches.dpdk.org/api/series/31770/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31770",
            "date": "2024-04-17T09:32:36",
            "name": "devtools: fix version variable not initialized",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31770/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139449/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139449/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 EC09543E90;\n\tWed, 17 Apr 2024 11:32:42 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D31B4402AE;\n\tWed, 17 Apr 2024 11:32:42 +0200 (CEST)",
            "from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by mails.dpdk.org (Postfix) with ESMTP id 6EC714029E\n for <dev@dpdk.org>; Wed, 17 Apr 2024 11:32:41 +0200 (CEST)",
            "from mail.maildlp.com (unknown [172.19.88.214])\n by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4VKFx03g9Tz1RDjT\n for <dev@dpdk.org>; Wed, 17 Apr 2024 17:29:40 +0800 (CST)",
            "from dggpeml500011.china.huawei.com (unknown [7.185.36.84])\n by mail.maildlp.com (Postfix) with ESMTPS id DCC7F1A016F\n for <dev@dpdk.org>; Wed, 17 Apr 2024 17:32:38 +0800 (CST)",
            "from localhost.huawei.com (10.50.165.33) by\n dggpeml500011.china.huawei.com (7.185.36.84) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.1.2507.35; Wed, 17 Apr 2024 17:32:38 +0800"
        ],
        "From": "Dengdui Huang <huangdengdui@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<bruce.richardson@intel.com>, <fengchengwen@huawei.com>,\n <haijie1@huawei.com>, <lihuisong@huawei.com>, <liuyonglong@huawei.com>",
        "Subject": "[PATCH] devtools: fix version variable not initialized",
        "Date": "Wed, 17 Apr 2024 17:32:36 +0800",
        "Message-ID": "<20240417093236.3786106-1-huangdengdui@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.50.165.33]",
        "X-ClientProxiedBy": "dggems704-chm.china.huawei.com (10.3.19.181) To\n dggpeml500011.china.huawei.com (7.185.36.84)",
        "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": "The version variable is not initialized. Therefore, if the -V option\nis not specified, the value of $version is obtained from the context,\nwhich may cause the version map parsing failure.\n\nFixes: 6edec7f202ac (\"devtools: list symbols by version\")\nCc: stable@dpdk.org\n\nSigned-off-by: Dengdui Huang <huangdengdui@huawei.com>\n---\n buildtools/map-list-symbol.sh | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/buildtools/map-list-symbol.sh b/buildtools/map-list-symbol.sh\nindex bc3b8d766f..43f276c05f 100755\n--- a/buildtools/map-list-symbol.sh\n+++ b/buildtools/map-list-symbol.sh\n@@ -5,6 +5,7 @@\n section=all\n symbol=all\n quiet=\n+version=\n \n while getopts 'S:s:qV:' name; do\n \tcase $name in\n",
    "prefixes": []
}