get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51538,
    "url": "http://patches.dpdk.org/api/patches/51538/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190322165651.23978-1-msantana@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": "<20190322165651.23978-1-msantana@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190322165651.23978-1-msantana@redhat.com",
    "date": "2019-03-22T16:56:51",
    "name": "[v7] ci: Introduce travis builds for github repositories",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9432671866d409fdb4e27bafb1ff593f2dba4e42",
    "submitter": {
        "id": 1214,
        "url": "http://patches.dpdk.org/api/people/1214/?format=api",
        "name": "Michael Santana",
        "email": "msantana@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/20190322165651.23978-1-msantana@redhat.com/mbox/",
    "series": [
        {
            "id": 3880,
            "url": "http://patches.dpdk.org/api/series/3880/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3880",
            "date": "2019-03-22T16:56:51",
            "name": "[v7] ci: Introduce travis builds for github repositories",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/3880/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/51538/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/51538/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9B4781B6CF;\n\tFri, 22 Mar 2019 17:56:55 +0100 (CET)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 0A08C1B6CC\n\tfor <dev@dpdk.org>; Fri, 22 Mar 2019 17:56:54 +0100 (CET)",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 60214308623D;\n\tFri, 22 Mar 2019 16:56:53 +0000 (UTC)",
            "from localhost.localdomain.com (unknown [10.18.25.8])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 755A95D71E;\n\tFri, 22 Mar 2019 16:56:52 +0000 (UTC)"
        ],
        "From": "Michael Santana <msantana@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Aaron Conole <aconole@redhat.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tHonnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,\n\tThomas Monjalon <thomas@monjalon.net>, Luca Boccassi <bluca@debian.org>",
        "Date": "Fri, 22 Mar 2019 12:56:51 -0400",
        "Message-Id": "<20190322165651.23978-1-msantana@redhat.com>",
        "In-Reply-To": "<20190304161232.5670-2-msantana@redhat.com>",
        "References": "<20190304161232.5670-2-msantana@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.42]); Fri, 22 Mar 2019 16:56:53 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH v7] ci: Introduce travis builds for github\n\trepositories",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "GitHub is a service used by developers to store repositories.  GitHub\nprovides service integrations that allow 3rd party services to access\ndeveloper repositories and perform actions.  One of these services is\nTravis-CI, a simple continuous integration platform.\n\nThis series introduces the ability for any github mirrors of the DPDK\nproject, including developer mirrors, to kick off builds under the\ntravis CI infrastructure.  For now, this just means compilation - no\nother kinds of automated run exists yet.  In the future, this can be\nexpanded to execute and report results for any test-suites that might\nexist.\n\nThis is a simple initial implementation of a travis build for the DPDK\nproject.  It doesn't require any changes from individual developers to\nenable, but will allow those developers who opt-in to GitHub and the\ntravis service to get automatic builds for every push they make.\n\nThe files added under .ci/ exist so that in the future, other CI\nsupport platforms (such as cirrus, appveyor, etc.) could have a common\nplace to put their requisite scripts without polluting the main tree.\n\nSigned-off-by: Aaron Conole <aconole@redhat.com>\nSigned-off-by: Michael Santana <msantana@redhat.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Luca Boccassi <bluca@debian.org>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n .ci/linux-build.sh                  | 24 +++++++\n .ci/linux-setup.sh                  |  3 +\n .travis.yml                         | 99 +++++++++++++++++++++++++++++\n MAINTAINERS                         |  6 ++\n doc/guides/contributing/patches.rst |  4 ++\n 5 files changed, 136 insertions(+)\n create mode 100755 .ci/linux-build.sh\n create mode 100755 .ci/linux-setup.sh\n create mode 100644 .travis.yml",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nnew file mode 100755\nindex 000000000..767840e40\n--- /dev/null\n+++ b/.ci/linux-build.sh\n@@ -0,0 +1,24 @@\n+#!/bin/sh -xe\n+\n+on_error() {\n+    if [ $? = 0 ]; then\n+        exit\n+    fi\n+    FILES_TO_PRINT=\"build/meson-logs/testlog.txt build/.ninja_log build/meson-logs/meson-log.txt\"\n+\n+    for pr_file in ${FILES_TO_PRINT}; do\n+        if [ -e \"$pr_file\" ]; then\n+            cat \"$pr_file\"\n+        fi\n+    done\n+}\n+trap on_error EXIT\n+\n+if [ \"${AARCH64}\" = \"1\" ]; then\n+    # convert the arch specifier\n+    OPTS=\"${OPTS} -DRTE_ARCH_64=1 --cross-file config/arm/arm64_armv8_linuxapp_gcc\"\n+fi\n+\n+OPTS=\"$OPTS --default-library=$DEF_LIB\"\n+meson build --werror -Dexamples=all ${OPTS}\n+ninja -C build\ndiff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh\nnew file mode 100755\nindex 000000000..acdf9f370\n--- /dev/null\n+++ b/.ci/linux-setup.sh\n@@ -0,0 +1,3 @@\n+#!/bin/sh\n+\n+python3 -m pip install --upgrade meson --user\ndiff --git a/.travis.yml b/.travis.yml\nnew file mode 100644\nindex 000000000..3045eada5\n--- /dev/null\n+++ b/.travis.yml\n@@ -0,0 +1,99 @@\n+language: c\n+compiler:\n+  - gcc\n+  - clang\n+\n+dist: xenial\n+\n+os:\n+  - linux\n+\n+addons:\n+  apt:\n+    update: true\n+    packages: &required_packages\n+      - [libnuma-dev, linux-headers-$(uname -r), python3-setuptools, python3-wheel, python3-pip, ninja-build]\n+\n+aarch64_packages: &aarch64_packages\n+  - *required_packages\n+  - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross]\n+\n+extra_packages: &extra_packages\n+  - *required_packages\n+  - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4]\n+\n+before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh\n+\n+sudo: false\n+\n+env:\n+  - DEF_LIB=\"static\"\n+  - DEF_LIB=\"shared\"\n+  - DEF_LIB=\"static\" OPTS=\"-Denable_kmods=false\"\n+  - DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\"\n+\n+matrix:\n+  include:\n+  - env: DEF_LIB=\"static\" OPTS=\"-Denable_kmods=false\" AARCH64=1\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *aarch64_packages\n+  - env: DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\" AARCH64=1\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *aarch64_packages\n+  - env: DEF_LIB=\"static\"\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"shared\"\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"static\" OPTS=\"-Denable_kmods=false\"\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\"\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"static\"\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"shared\"\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"static\" OPTS=\"-Denable_kmods=false\"\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+  - env: DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\"\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *extra_packages\n+\n+\n+script: ./.ci/${TRAVIS_OS_NAME}-build.sh\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 15c53888c..e4b9a8e00 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -119,6 +119,12 @@ F: config/rte_config.h\n F: buildtools/gen-pmdinfo-cfile.sh\n F: buildtools/symlink-drivers-solibs.sh\n \n+Public CI\n+M: Aaron Conole <aconole@redhat.com>\n+M: Michael Santana <msantana@redhat.com>\n+F: .travis.yml\n+F: .ci/\n+\n ABI versioning\n M: Neil Horman <nhorman@tuxdriver.com>\n F: doc/guides/rel_notes/deprecation.rst\ndiff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst\nindex 211a5cdc7..22a9039e8 100644\n--- a/doc/guides/contributing/patches.rst\n+++ b/doc/guides/contributing/patches.rst\n@@ -32,6 +32,10 @@ The mailing list for DPDK development is `dev@dpdk.org <http://mails.dpdk.org/ar\n Contributors will need to `register for the mailing list <http://mails.dpdk.org/listinfo/dev>`_ in order to submit patches.\n It is also worth registering for the DPDK `Patchwork <http://patches.dpdk.org/project/dpdk/list/>`_\n \n+If you are using the GitHub service, you can link your repository to\n+the ``travis-ci.org`` build service.  When you push patches to your GitHub\n+repository, the travis service will automatically build your changes.\n+\n The development process requires some familiarity with the ``git`` version control system.\n Refer to the `Pro Git Book <http://www.git-scm.com/book/>`_ for further information.\n \n",
    "prefixes": [
        "v7"
    ]
}