get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103348,
    "url": "http://patches.dpdk.org/api/patches/103348/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211101133533.3402007-1-ferruh.yigit@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": "<20211101133533.3402007-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211101133533.3402007-1-ferruh.yigit@intel.com",
    "date": "2021-11-01T13:35:32",
    "name": "[1/2] devtools: remove ugly workaround from get maintainers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e4d4769483b69a503c83831174aa1e87c3dbfa3f",
    "submitter": {
        "id": 324,
        "url": "http://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.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/20211101133533.3402007-1-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 20176,
            "url": "http://patches.dpdk.org/api/series/20176/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20176",
            "date": "2021-11-01T13:35:32",
            "name": "[1/2] devtools: remove ugly workaround from get maintainers",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20176/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/103348/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/103348/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 E96EEA0C57;\n\tMon,  1 Nov 2021 14:35:39 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B241C40E28;\n\tMon,  1 Nov 2021 14:35:39 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 94AA140DF6\n for <dev@dpdk.org>; Mon,  1 Nov 2021 14:35:38 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Nov 2021 06:35:37 -0700",
            "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.27])\n by fmsmga006.fm.intel.com with ESMTP; 01 Nov 2021 06:35:35 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10154\"; a=\"218203148\"",
            "E=Sophos;i=\"5.87,199,1631602800\"; d=\"scan'208\";a=\"218203148\"",
            "E=Sophos;i=\"5.87,199,1631602800\"; d=\"scan'208\";a=\"727361388\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>",
        "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>, dev@dpdk.org,\n antonio.ninodiaz@arm.com",
        "Date": "Mon,  1 Nov 2021 13:35:32 +0000",
        "Message-Id": "<20211101133533.3402007-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/2] devtools: remove ugly workaround from get\n maintainers",
        "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": "Linux kernel 'get_maintainer.pl' script supports running out of Linux\ntree since commit\n31bb82c9caa9 (\"get_maintainer: allow usage outside of kernel tree\")\n\nAs commit is a few years old now, integrating it to DPDK and removing\nugly workaround for it.\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\nCc: antonio.ninodiaz@arm.com\n---\n devtools/get-maintainer.sh | 26 +-------------------------\n 1 file changed, 1 insertion(+), 25 deletions(-)",
    "diff": "diff --git a/devtools/get-maintainer.sh b/devtools/get-maintainer.sh\nindex 85740f5afd2a..bba4d3f68db8 100755\n--- a/devtools/get-maintainer.sh\n+++ b/devtools/get-maintainer.sh\n@@ -7,7 +7,7 @@\n # - DPDK_GETMAINTAINER_PATH\n . $(dirname $(readlink -f $0))/load-devel-config\n \n-options=\"--no-git-fallback\"\n+options=\"--no-tree --no-git-fallback\"\n options=\"$options --no-rolestats\"\n \n print_usage () {\n@@ -31,28 +31,4 @@ if [ ! -f \"$DPDK_GETMAINTAINER_PATH\" ] ||\n \texit 1\n fi\n \n-FILES=\"COPYING CREDITS Kbuild\"\n-FOLDERS=\"Documentation arch include fs init ipc scripts\"\n-\n-# Kernel script checks for some files and folders to run\n-workaround () {\n-\tfor f in $FILES; do\n-\t\tif [ ! -f $f ]; then touch $f; fi\n-\tdone\n-\n-\tfor d in $FOLDERS; do\n-\t\tif [ ! -d $d ]; then mkdir $d; fi\n-\tdone\n-}\n-\n-fix_workaround () {\n-\tfor f in $FILES; do if [ -f $f ]; then rm -f $f; fi; done\n-\tfor d in $FOLDERS; do if [ -d $d ]; then rmdir $d; fi; done\n-}\n-\n-# clean workaround on exit\n-trap fix_workaround EXIT\n-\n-workaround\n $DPDK_GETMAINTAINER_PATH $options $@\n-# fix_workaround called on exit by trap\n",
    "prefixes": [
        "1/2"
    ]
}