get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 135200,
    "url": "http://patches.dpdk.org/api/patches/135200/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231214113813.574758-1-bruce.richardson@intel.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": "<20231214113813.574758-1-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231214113813.574758-1-bruce.richardson@intel.com",
    "date": "2023-12-14T11:38:13",
    "name": "app/test: prevent exiting after skipped test",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f79ae9301c81357cfd89c18008cf841042e0f297",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231214113813.574758-1-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 30555,
            "url": "http://patches.dpdk.org/api/series/30555/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30555",
            "date": "2023-12-14T11:38:13",
            "name": "app/test: prevent exiting after skipped test",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/30555/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/135200/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/135200/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 EAFB6436EF;\n\tThu, 14 Dec 2023 12:38:23 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D6A734327C;\n\tThu, 14 Dec 2023 12:38:23 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 40C2C43274\n for <dev@dpdk.org>; Thu, 14 Dec 2023 12:38:22 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Dec 2023 03:38:21 -0800",
            "from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.152])\n by fmsmga006.fm.intel.com with ESMTP; 14 Dec 2023 03:38:20 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1702553902; x=1734089902;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=Qv30KaFHk1/XzWpOdQMkQVDrFzBjdqZ5+24e9G4JXbY=;\n b=KQw2s8LI2T2bZf5LCp9N9dqushUs7WUL+FMTS0D8/RENbOjv2u+bZk/B\n 0bSrWMmJ8ym9THFj5LlPHCHEsUuhZAfgE+NAGN6Y5ZXAhmLbKFMI5eHub\n In8s7VE7W7pe12E6vPSfdDQL4t0PFuVwQA3XyJCASE76xbOdGnIaTslI1\n zR1Zd7UW6CRG6Xh6zaX+fxyaAcajUgMZ+u5m6KmRMcJc07MbiCX3I5XQM\n w1pDQQrLHP7ImzbaJvo9ZIBZ0fbtGxsVQnsMTOmaWNDoJaTFiQkTNzkcr\n SihtIW4BlD7Gyol1LpUs/UOusS3W/4L/lRQMtxbrOWUQbZrMGtPl1mP2B w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10923\"; a=\"380091973\"",
            "E=Sophos;i=\"6.04,275,1695711600\"; d=\"scan'208\";a=\"380091973\"",
            "E=McAfee;i=\"6600,9927,10923\"; a=\"1021484075\"",
            "E=Sophos;i=\"6.04,275,1695711600\"; d=\"scan'208\";a=\"1021484075\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH] app/test: prevent exiting after skipped test",
        "Date": "Thu, 14 Dec 2023 11:38:13 +0000",
        "Message-Id": "<20231214113813.574758-1-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.40.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "When processing a list of tests to run, the loop termination condition\nwas a test returning a value != 0. This means that if one of a series of\ntests was skipped, i.e. returned TEST_SKIPPED, the whole execution run\nwas stopped. Since a test being skipped is not an error condition, we\nput in an explicit check for that to keep executing any remaining tests.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/test.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test.c b/app/test/test.c\nindex c818fda17b..8b25615913 100644\n--- a/app/test/test.c\n+++ b/app/test/test.c\n@@ -235,7 +235,7 @@ main(int argc, char **argv)\n \t\t\t\tret = last_test_result;\n \n end_of_cmd:\n-\t\t\tif (ret != 0)\n+\t\t\tif (ret != 0 && ret != TEST_SKIPPED)\n \t\t\t\tbreak;\n \t\t}\n \t\tif (n_skip_tests > 0)\n",
    "prefixes": []
}