get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104396,
    "url": "http://patches.dpdk.org/api/patches/104396/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211116123102.19237-1-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": "<20211116123102.19237-1-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211116123102.19237-1-david.marchand@redhat.com",
    "date": "2021-11-16T12:31:02",
    "name": "ci: add Fedora 35 container in GHA",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "aa619bbc480cd68f27a9aa804ca327178202f7b3",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20211116123102.19237-1-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 20588,
            "url": "http://patches.dpdk.org/api/series/20588/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20588",
            "date": "2021-11-16T12:31:02",
            "name": "ci: add Fedora 35 container in GHA",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20588/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/104396/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/104396/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 E460AA0C43;\n\tTue, 16 Nov 2021 13:31:33 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B120A40141;\n\tTue, 16 Nov 2021 13:31:33 +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 0300040040\n for <dev@dpdk.org>; Tue, 16 Nov 2021 13:31:31 +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-176-ZpOBQZb0M22hP_YJyahFjQ-1; Tue, 16 Nov 2021 07:31:28 -0500",
            "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com\n [10.5.11.23])\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 12F7D8A2A29;\n Tue, 16 Nov 2021 12:31:14 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.192.8])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 13607B2A78;\n Tue, 16 Nov 2021 12:31:11 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1637065891;\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 bh=Jc6xZUDvltQ3Mh+k2JZwlHp7txuP26zI7/GjJydDKps=;\n b=KvV9WEU4ZL5Fun0TMLfMiP8gOWl7Mh8iOiQk4gKKGIUucn+5RYOffizuYqVhUOJHSa6thI\n 4gNRHmX1VViFiVxv/NgS0Me9s65MkYU/dzwKkvCBUfm5+UynGAEZDzWXQYcgo+QJlNlMlu\n M8ccuxWILIt6qPLy425KLOjzPetT5MI=",
        "X-MC-Unique": "ZpOBQZb0M22hP_YJyahFjQ-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com,\n Aaron Conole <aconole@redhat.com>,\n Michael Santana <maicolgabriel@hotmail.com>",
        "Subject": "[PATCH] ci: add Fedora 35 container in GHA",
        "Date": "Tue, 16 Nov 2021 13:31:02 +0100",
        "Message-Id": "<20211116123102.19237-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.23",
        "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": "Build DPDK with Fedora 35 containers.\nDifferences with the Ubuntu GHA vm images:\n- tasks are run as root in containers, no need for sudo,\n- compiler must be explicitly installed: clang is not in container images,\n- GHA artifacts can't contain a ':' in their name, and must be filtered,\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n .ci/linux-build.sh          |  3 ++\n .ci/linux-setup.sh          |  3 ++\n .github/workflows/build.yml | 67 +++++++++++++++++++++++++++++++++++--\n 3 files changed, 71 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex ef0bd099be..e34a74ab64 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -1,5 +1,8 @@\n #!/bin/sh -xe\n \n+# Builds are run as root in containers, no need for sudo\n+[ \"$(id -u)\" != '0' ] || alias sudo=\n+\n on_error() {\n     if [ $? = 0 ]; then\n         exit\ndiff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh\nindex ca35b4b38d..f5ef6b1b98 100755\n--- a/.ci/linux-setup.sh\n+++ b/.ci/linux-setup.sh\n@@ -1,5 +1,8 @@\n #!/bin/sh -xe\n \n+# Builds are run as root in containers, no need for sudo\n+[ \"$(id -u)\" != '0' ] || alias sudo=\n+\n # need to install as 'root' since some of the unit tests won't run without it\n sudo python3 -m pip install --upgrade 'meson==0.49.2'\n \ndiff --git a/.github/workflows/build.yml b/.github/workflows/build.yml\nindex 4151cafee7..8429ffb721 100644\n--- a/.github/workflows/build.yml\n+++ b/.github/workflows/build.yml\n@@ -10,7 +10,7 @@ defaults:\n     shell: bash --noprofile --norc -exo pipefail {0}\n \n jobs:\n-  build:\n+  ubuntu-vms:\n     name: ${{ join(matrix.config.*, '-') }}\n     runs-on: ${{ matrix.config.os }}\n     env:\n@@ -140,7 +140,70 @@ jobs:\n       with:\n         name: meson-logs-${{ join(matrix.config.*, '-') }}\n         path: |\n+          build/.ninja_log\n+          build/gdb.log\n+          build/meson-logs/meson-log.txt\n           build/meson-logs/testlog.txt\n+\n+  rpm-containers:\n+    name: ${{ join(matrix.config.*, '-') }}\n+    runs-on: ubuntu-latest\n+    container:\n+      image: ${{ matrix.config.image }}\n+    env:\n+      CC: ccache ${{ matrix.config.compiler }}\n+      DEF_LIB: ${{ matrix.config.library }}\n+\n+    strategy:\n+      fail-fast: false\n+      matrix:\n+        config:\n+          - image: fedora:35\n+            compiler: gcc\n+            library: static\n+          - image: fedora:35\n+            compiler: gcc\n+            library: shared\n+          - image: fedora:35\n+            compiler: clang\n+            library: static\n+          - image: fedora:35\n+            compiler: clang\n+            library: shared\n+\n+    steps:\n+    - name: Checkout sources\n+      uses: actions/checkout@v2\n+    - name: Generate various keys\n+      id: get_keys\n+      run: |\n+        echo -n '::set-output name=ccache::'\n+        echo 'ccache-${{ matrix.config.image }}-${{ matrix.config.compiler }}-'$(date -u +%Y-w%W)\n+        echo -n '::set-output name=logs::'\n+        echo 'meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':'\n+    - name: Retrieve ccache cache\n+      uses: actions/cache@v2\n+      with:\n+        path: ~/.ccache\n+        key: ${{ steps.get_keys.outputs.ccache }}-${{ github.ref }}\n+        restore-keys: |\n+          ${{ steps.get_keys.outputs.ccache }}-refs/heads/main\n+    - name: Update\n+      run: dnf update -y || true\n+    - name: Install packages\n+      run: dnf install -y ccache numactl-devel python3-setuptools\n+        python3-wheel python3-pip python3-pyelftools ninja-build\n+        libatomic libbpf-devel libfdt-devel libpcap-devel openssl-devel\n+        rdma-core-devel zlib-devel ${{ matrix.config.compiler }}\n+    - name: Run setup\n+      run: .ci/linux-setup.sh\n+    - name: Build\n+      run: .ci/linux-build.sh\n+    - name: Upload logs on failure\n+      if: failure()\n+      uses: actions/upload-artifact@v2\n+      with:\n+        name: ${{ steps.get_keys.outputs.logs }}\n+        path: |\n           build/.ninja_log\n           build/meson-logs/meson-log.txt\n-          build/gdb.log\n",
    "prefixes": []
}