get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96506,
    "url": "http://patches.dpdk.org/api/patches/96506/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210801175325.12163-1-john.levon@nutanix.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": "<20210801175325.12163-1-john.levon@nutanix.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210801175325.12163-1-john.levon@nutanix.com",
    "date": "2021-08-01T17:53:25",
    "name": "app/test: quieten noise while forking",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1f1ddfc5538526501e4fd9a409088b24a35068aa",
    "submitter": {
        "id": 2239,
        "url": "http://patches.dpdk.org/api/people/2239/?format=api",
        "name": "John Levon",
        "email": "john.levon@nutanix.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210801175325.12163-1-john.levon@nutanix.com/mbox/",
    "series": [
        {
            "id": 18120,
            "url": "http://patches.dpdk.org/api/series/18120/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18120",
            "date": "2021-08-01T17:53:25",
            "name": "app/test: quieten noise while forking",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18120/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/96506/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/96506/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 D56C4A0C4E;\n\tSun,  1 Aug 2021 19:53:47 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7C1B940143;\n\tSun,  1 Aug 2021 19:53:47 +0200 (CEST)",
            "from sent.movementarian.org (unknown [88.98.93.30])\n by mails.dpdk.org (Postfix) with ESMTP id B670140140\n for <dev@dpdk.org>; Sun,  1 Aug 2021 19:53:45 +0200 (CEST)",
            "from jlevon by sent.movementarian.org with local (Exim 4.93)\n (envelope-from <levon@movementarian.org>)\n id 1mAFeh-0003BC-Ps; Sun, 01 Aug 2021 18:53:43 +0100"
        ],
        "From": "John Levon <john.levon@nutanix.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, kkanas@marvell.com,\n John Levon <john.levon@nutanix.com>",
        "Date": "Sun,  1 Aug 2021 18:53:25 +0100",
        "Message-Id": "<20210801175325.12163-1-john.levon@nutanix.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<11971053.QyrIl9gFXQ@thomas>",
        "References": "<11971053.QyrIl9gFXQ@thomas>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] app/test: quieten noise while forking",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When closing file descriptors post-fork, ignore \".\" and \"..\" directory\nentries, so the test log doesn't have distracting errors like:\n\nError converting name fd 0 .:\nError converting name fd 0 ..:\n\nSigned-off-by: John Levon <john.levon@nutanix.com>\n---\n app/test/process.h | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/app/test/process.h b/app/test/process.h\nindex 0ed91a939e..5b10cf64df 100644\n--- a/app/test/process.h\n+++ b/app/test/process.h\n@@ -90,6 +90,11 @@ process_dup(const char *const argv[], int numargs, const char *env_value)\n \t\t\t}\n \n \t\t\twhile ((dirent = readdir(dir)) != NULL) {\n+\n+\t\t\t\tif (strcmp(dirent->d_name, \".\") == 0 ||\n+\t\t\t\t\tstrcmp(dirent->d_name, \"..\") == 0)\n+\t\t\t\t\tcontinue;\n+\n \t\t\t\terrno = 0;\n \t\t\t\tfd = strtol(dirent->d_name, &endptr, 10);\n \t\t\t\tif (errno != 0 || endptr[0] != '\\0') {\n",
    "prefixes": []
}