get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104126,
    "url": "http://patches.dpdk.org/api/patches/104126/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211110164814.5231-2-david.marchand@redhat.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": "<20211110164814.5231-2-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211110164814.5231-2-david.marchand@redhat.com",
    "date": "2021-11-10T16:48:10",
    "name": "[1/5] ci: test build with minimum configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cdbe54ca62c6bdda65b4716c7766938d0b5688e8",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20211110164814.5231-2-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 20466,
            "url": "http://patches.dpdk.org/api/series/20466/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20466",
            "date": "2021-11-10T16:48:09",
            "name": "Extend optional libraries list",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20466/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/104126/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/104126/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 60D3DA034F;\n\tWed, 10 Nov 2021 17:48:46 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 52E8041149;\n\tWed, 10 Nov 2021 17:48:46 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 5B1A341148\n for <dev@dpdk.org>; Wed, 10 Nov 2021 17:48:45 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-518-yHx5P3s8Mu69TeHjR8zMuA-1; Wed, 10 Nov 2021 11:48:41 -0500",
            "from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com\n [10.5.11.13])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D6DDD101F7BB;\n Wed, 10 Nov 2021 16:48:39 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.192.42])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 7920F60854;\n Wed, 10 Nov 2021 16:48:36 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1636562924;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Dzdbm4w09kbO/QVNBXlzVY+XcEX0bUoGmdk+1DJVEm0=;\n b=B+F64D1yF5mmbIf6h2hPsxj3ck/554jY1Vg85/iweQwpi/JTqoO+wMuf3yggI2lI2jRfkd\n 9f+0fN49Ht+/T7Tvunrz/5kymrJXSYH2mBtuE4ANhCS2m9ngrqbQd6r3AeZEvHFc18omSM\n uP3fFdY4a+5pqkgyGwG92hGzT1pbwCY=",
        "X-MC-Unique": "yHx5P3s8Mu69TeHjR8zMuA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, thomas@monjalon.net, bluca@debian.org,\n tredaelli@redhat.com, i.maximets@ovn.org, james.r.harris@intel.com,\n mohammed@hawari.fr, Aaron Conole <aconole@redhat.com>,\n Michael Santana <maicolgabriel@hotmail.com>",
        "Subject": "[PATCH 1/5] ci: test build with minimum configuration",
        "Date": "Wed, 10 Nov 2021 17:48:10 +0100",
        "Message-Id": "<20211110164814.5231-2-david.marchand@redhat.com>",
        "In-Reply-To": "<20211110164814.5231-1-david.marchand@redhat.com>",
        "References": "<20211110164814.5231-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.13",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "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": "Disabling optional libraries was not tested.\nAdd a new target in test-meson-builds.sh and GHA.\n\nThe Bluefield target is removed from test-meson-builds.sh to save space\nand compilation time in exchange of the new target.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n .ci/linux-build.sh            | 3 +++\n .github/workflows/build.yml   | 5 +++++\n devtools/test-meson-builds.sh | 4 +++-\n 3 files changed, 11 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex ef0bd099be..e7ed648099 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -87,6 +87,9 @@ OPTS=\"$OPTS -Dplatform=generic\"\n OPTS=\"$OPTS --default-library=$DEF_LIB\"\n OPTS=\"$OPTS --buildtype=debugoptimized\"\n OPTS=\"$OPTS -Dcheck_includes=true\"\n+if [ \"$NO_OPTIONAL_LIBS\" = \"true\" ]; then\n+    OPTS=\"$OPTS -Ddisable_libs=*\"\n+fi\n meson build --werror $OPTS\n ninja -C build\n \ndiff --git a/.github/workflows/build.yml b/.github/workflows/build.yml\nindex 4151cafee7..346cc75c20 100644\n--- a/.github/workflows/build.yml\n+++ b/.github/workflows/build.yml\n@@ -21,6 +21,7 @@ jobs:\n       CC: ccache ${{ matrix.config.compiler }}\n       DEF_LIB: ${{ matrix.config.library }}\n       LIBABIGAIL_VERSION: libabigail-1.8\n+      NO_OPTIONAL_LIBS: ${{ matrix.config.no_optional_libs != '' }}\n       PPC64LE: ${{ matrix.config.cross == 'ppc64le' }}\n       REF_GIT_TAG: none\n       RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }}\n@@ -32,6 +33,10 @@ jobs:\n           - os: ubuntu-18.04\n             compiler: gcc\n             library: static\n+          - os: ubuntu-18.04\n+            compiler: gcc\n+            library: shared\n+            no_optional_libs: no-optional-libs\n           - os: ubuntu-18.04\n             compiler: gcc\n             library: shared\ndiff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 9ec8e2bc7e..36ecf63ec6 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -220,6 +220,8 @@ for c in gcc clang ; do\n \tdone\n done\n \n+build build-x86-no-optional-libs cc skipABI $use_shared -Ddisable_libs=*\n+\n # test compilation with minimal x86 instruction set\n # Set the install path for libraries to \"lib\" explicitly to prevent problems\n # with pkg-config prefixes if installed in \"lib/x86_64-linux-gnu\" later.\n@@ -258,7 +260,7 @@ export CC=\"clang\"\n build build-arm64-host-clang $f ABI $use_shared\n unset CC\n # some gcc/arm configurations\n-for f in $srcdir/config/arm/arm64_[bdo]*gcc ; do\n+for f in $srcdir/config/arm/arm64_[do]*gcc ; do\n \texport CC=\"$CCACHE gcc\"\n \ttargetdir=build-$(basename $f | tr '_' '-' | cut -d'-' -f-2)\n \tbuild $targetdir $f skipABI $use_shared\n",
    "prefixes": [
        "1/5"
    ]
}