get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1529678,
    "url": "http://patchwork.ozlabs.org/api/patches/1529678/",
    "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20210918135355.13017-1-odivlad@gmail.com/",
    "project": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/projects/68/",
        "name": "Open Virtual Network development",
        "link_name": "ovn",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210918135355.13017-1-odivlad@gmail.com>",
    "list_archive_url": null,
    "date": "2021-09-18T13:53:55",
    "name": "[ovs-dev] spec: add tcpdump to BuildRequires",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6d448cefce7f7b486e5b9d52583d91a0e1058d4d",
    "submitter": {
        "id": 80943,
        "url": "http://patchwork.ozlabs.org/api/people/80943/",
        "name": "Vladislav Odintsov",
        "email": "odivlad@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20210918135355.13017-1-odivlad@gmail.com/mbox/",
    "series": [
        {
            "id": 262941,
            "url": "http://patchwork.ozlabs.org/api/series/262941/",
            "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=262941",
            "date": "2021-09-18T13:53:55",
            "name": "[ovs-dev] spec: add tcpdump to BuildRequires",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/262941/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1529678/comments/",
    "check": "fail",
    "checks": "http://patchwork.ozlabs.org/api/patches/1529678/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20210112 header.b=i0f+NvOt;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)",
            "smtp1.osuosl.org (amavisd-new);\n dkim=pass (2048-bit key) header.d=gmail.com"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4HBXNw6SqWz9sPf\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Sep 2021 23:54:07 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id DD06C42575;\n\tSat, 18 Sep 2021 13:54:03 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n\tby localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id FVuNYSU60bTx; Sat, 18 Sep 2021 13:54:03 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 1483142564;\n\tSat, 18 Sep 2021 13:54:02 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id CD368C000F;\n\tSat, 18 Sep 2021 13:54:01 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 6AEEBC000D\n for <dev@openvswitch.org>; Sat, 18 Sep 2021 13:54:00 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 5B30781D47\n for <dev@openvswitch.org>; Sat, 18 Sep 2021 13:54:00 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id V3ZEBb9WcKKi for <dev@openvswitch.org>;\n Sat, 18 Sep 2021 13:53:59 +0000 (UTC)",
            "from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com\n [IPv6:2a00:1450:4864:20::12d])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 94FC781BD4\n for <dev@openvswitch.org>; Sat, 18 Sep 2021 13:53:59 +0000 (UTC)",
            "by mail-lf1-x12d.google.com with SMTP id p29so44488577lfa.11\n for <dev@openvswitch.org>; Sat, 18 Sep 2021 06:53:59 -0700 (PDT)",
            "from localhost.localdomain (109-252-131-59.dynamic.spd-mgts.ru.\n [109.252.131.59])\n by smtp.gmail.com with ESMTPSA id v10sm182580lfd.241.2021.09.18.06.53.56\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Sat, 18 Sep 2021 06:53:57 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.8.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=BmDkgpK1OK29OqN3nJiB3F0EWD65KDVve9MCFEcD4ZE=;\n b=i0f+NvOt9ZIomT9wDJDhhaTp0/gI7g4Cd0S2Iv3R0cZqWc8XdoFAnWN3kt4zvc6UUG\n Uge8wVMzFGSLDJLyizAC5vMA1YeWmuni3taGXrNbGbNdZuLNT5n3K3FmwlWtQZW/9ydr\n TPpXLtzGU+D2khhUvm9mWuv6rilE9OkgTk3fSdLhoi1ctJoFhdHFzDhNqXPAQkLxHlf2\n uGJvNGbkTukNP1gv4ZjCnoHJgcFy1umlo6ss0AKXjXi/631K3Gf5LTJFn57wrn9vORqt\n iMgInhwu4d47JfXMdMIA6MxuP+mq8IA3lYV5P4853FSKWM/utIv5KW8ao25dO/i8CbBz\n V0PA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=BmDkgpK1OK29OqN3nJiB3F0EWD65KDVve9MCFEcD4ZE=;\n b=drpvXZLlK/UaiT63GhLKuLRb39LbsDrBL2ZW9SAt961N6T2EfaBuK2u6VEWlvJWSN/\n XiiARD+RQqgV76WO3XG6ftconbSnBvpl7/JzxuA1oXiKAs/YEYj9ESnqzo/6zjf3puoZ\n 25OY0w/JdcaYeWqMH4SHhUcTDmWyt4cBP/pZWh/0owc9pcINAbVtG1C/VWKyUPP+GqLx\n 9U2VWCxKqK51CwJLPtnGvgku8TKNMv1nOgeAau0kDRcoYQy8AeIqyK4MJwkhaj3nv7ra\n NjJa0swaHR26FJH+rg2Le21rZ8/dO1MwUOMkYiwtvKO663X1SIg9L/5RvAcVJybVB0bh\n 8HPw==",
        "X-Gm-Message-State": "AOAM532zvwRA6tfjmXVucgTB19J0zQi3NzVNTapRabjv1lbWOHEdZBoz\n ESKCK9eh227k+RR0e6l+dvLHRkTJ29E=",
        "X-Google-Smtp-Source": "\n ABdhPJywuHwgvI+IhVjx1F5mC4Wr46AoVgL7iL5E/GNmXFveKiuzrmcP8ptXueZCDwwVrf4WeIcImA==",
        "X-Received": "by 2002:a2e:b6c2:: with SMTP id m2mr2487991ljo.4.1631973237233;\n Sat, 18 Sep 2021 06:53:57 -0700 (PDT)",
        "From": "Vladislav Odintsov <odivlad@gmail.com>",
        "To": "dev@openvswitch.org",
        "Date": "Sat, 18 Sep 2021 16:53:55 +0300",
        "Message-Id": "<20210918135355.13017-1-odivlad@gmail.com>",
        "X-Mailer": "git-send-email 2.30.0",
        "MIME-Version": "1.0",
        "Cc": "Vladislav Odintsov <odivlad@gmail.com>",
        "Subject": "[ovs-dev] [PATCH ovn] spec: add tcpdump to BuildRequires",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "tcpdump is used in tests. When RPM package is built it\nappropriate test fails if tcpdump package is not installed.\n\nThis commit fixes this issue by adding a new conditional\nBuildRequires: tcpdump to specfile.\n\nSigned-off-by: Vladislav Odintsov <odivlad@gmail.com>\n---\n rhel/ovn-fedora.spec.in | 9 ++++++---\n 1 file changed, 6 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/rhel/ovn-fedora.spec.in b/rhel/ovn-fedora.spec.in\nindex 5fe0f990f..1b1ffdd24 100644\n--- a/rhel/ovn-fedora.spec.in\n+++ b/rhel/ovn-fedora.spec.in\n@@ -36,6 +36,9 @@ Provides: openvswitch-ovn-common = %{?epoch:%{epoch}:}%{version}-%{release}\n %define ovsver @OVSVERSION@\n %define ovsdir openvswitch-%{ovsver}\n \n+# to skip running checks, pass --without check\n+%bcond_without check\n+\n # Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the\n # lib/sflow*.[ch] files are SISSL\n License: ASL 2.0 and LGPLv2+ and SISSL\n@@ -56,6 +59,9 @@ BuildRequires: procps-ng\n %if %{with libcapng}\n BuildRequires: libcap-ng libcap-ng-devel\n %endif\n+%if %{with check}\n+BuildRequires: tcpdump\n+%endif\n BuildRequires: unbound unbound-devel\n \n Requires: openssl hostname iproute module-init-tools openvswitch\n@@ -64,9 +70,6 @@ Requires(post): systemd-units\n Requires(preun): systemd-units\n Requires(postun): systemd-units\n \n-# to skip running checks, pass --without check\n-%bcond_without check\n-\n %description\n OVN, the Open Virtual Network, is a system to support virtual network\n abstraction.  OVN complements the existing capabilities of OVS to add\n",
    "prefixes": [
        "ovs-dev"
    ]
}