Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/740982/?format=api
{ "id": 740982, "url": "http://patchwork.ozlabs.org/api/patches/740982/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/1490010953-7305-3-git-send-email-yszhou4tech@gmail.com/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1490010953-7305-3-git-send-email-yszhou4tech@gmail.com>", "list_archive_url": null, "date": "2017-03-20T11:55:51", "name": "[LEDE-DEV,v2,2/4] build: ipkg: new field Alternatives", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4d4ab57a7d493d6038de3c9470237ca11ad8d636", "submitter": { "id": 65295, "url": "http://patchwork.ozlabs.org/api/people/65295/?format=api", "name": "Yousong Zhou", "email": "yszhou4tech@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/1490010953-7305-3-git-send-email-yszhou4tech@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/740982/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/740982/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3vmvZ33GTzz9s73\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 20 Mar 2017 22:56:59 +1100 (AEDT)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1cpvva-00087Z-DT; Mon, 20 Mar 2017 11:56:46 +0000", "from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1cpvvG-0007hD-PJ\n\tfor lede-dev@lists.infradead.org; Mon, 20 Mar 2017 11:56:29 +0000", "by mail-pf0-x244.google.com with SMTP id p189so11460241pfp.0\n\tfor <lede-dev@lists.infradead.org>;\n\tMon, 20 Mar 2017 04:56:05 -0700 (PDT)", "from titan.office.mos ([103.29.140.57])\n\tby smtp.gmail.com with ESMTPSA id\n\tn29sm30162122pfi.101.2017.03.20.04.56.03\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 20 Mar 2017 04:56:04 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"a9RdBbdv\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"pP87ocq+\"; dkim-atps=neutral", "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References:\n\tIn-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=J08x6E/X/DtfZG3b6huv2xSwS2xry/om0urYNWlLU/s=;\n\tb=a9RdBbdvjO6IFH\n\tUZ4KuorxvrlqU3nDmi2E9V0kAVzK2SVY7IsUg4d3Uz41y2yujoyZaws1RGgOCS1AlQj+0Q/dDK9fY\n\t5LbfFs2VxiTsBk+C68lrUkXIqViPxGwvZ8oS+dET5Yp4c37Rr8xNHrOCltAI6AKf1077krrHNIHb2\n\t5g3MLDCLl/Z+PZPNc5mIbwedQRFFsKzw1j6YjnD/18rWnr2hxdNfnLuYPQ0JeKuYmKg5kuLeifNat\n\tzSmOGdHqICwbPnCGsOvfryewWLmQ5MBBMpqmuGgfYyDVa/vWQMDwM8l21o24Zg/XLlzhNQFQ07t2C\n\t22qraXOHRfOJdQuretxg==;", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=se3J6VD8g4QNk+aP2W4Qlcgjkn7rafjQzPcJmCIKX7Y=;\n\tb=pP87ocq+8MBWWSuT4DqEBVB7tp7VIjUty6qQp7SV6jxK6AxLZMduHNAkFcG5cpW4u2\n\tYTfe59pI+401CCgn5ckj4wuN76Pape9gAeyxkfXYP6X5vXA8KFfKKDNjppMysVfzeCGz\n\tu9oY8ouNlMndkSQmfCFRTfuIo/+/YIcZLQn8BgitSiGRmgxDdBoT94GE/Sb024RtchsQ\n\te1ZhI+WO6XrHS+IHC4fcURaTnKxqWWfqjOmdVyXWEEdZ1NDbMXMu815t8FlqnuFzMEY8\n\tikPsCcb+sA/LtjhXXRAcf/BWm60mITMi9O8zIJVqW7MCmzeaAN+17HGu/Mt2K9Hq4Dq4\n\t9i3g==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=se3J6VD8g4QNk+aP2W4Qlcgjkn7rafjQzPcJmCIKX7Y=;\n\tb=FvCot1Sl/Q++F+i1M8ARJhBRaQCYw9JOhkSMkpABSigCPso+sg9lSjS2ewyCwTaOtL\n\tdsPuZ5NAeGq9ufi68MIzuGm1HZB3kAzZ7d4KxmJK4NDizrlHadfsNK7vLho6XoCNd+0w\n\tuGC1EBsrW+coc8J5vex3aZpF0VxPgtLS7sOQkQJkEEWALNkGm+zbonQl2MFpWGFIHK6O\n\tUM1ACxrcLCg2QinuarA0qC32/ylJYWEumGq1s6bclBSxF4vv1Dubb6cq0Flpj45aLrrm\n\tZIVrughzUEfqw9Rzb0YcGhbHnAj7hy6sXOIlPUrB+9B3desnjn6Fg8zZh4e+H9tAt5sm\n\tnLfA==", "X-Gm-Message-State": "AFeK/H2qtXkP6B/s+Tf9aIoP+HYoWKXTBuh9XFuQXCuQLF7tg75nakEWfOsfW6tkwNtmMw==", "X-Received": "by 10.84.208.102 with SMTP id f35mr39801070plh.19.1490010965126; \n\tMon, 20 Mar 2017 04:56:05 -0700 (PDT)", "From": "Yousong Zhou <yszhou4tech@gmail.com>", "To": "jo@mein.io", "Date": "Mon, 20 Mar 2017 19:55:51 +0800", "Message-Id": "<1490010953-7305-3-git-send-email-yszhou4tech@gmail.com>", "X-Mailer": "git-send-email 2.6.4", "In-Reply-To": "<1490010953-7305-1-git-send-email-yszhou4tech@gmail.com>", "References": "<1490010953-7305-1-git-send-email-yszhou4tech@gmail.com>", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170320_045626_862705_7FFCE5CC ", "X-CRM114-Status": "UNSURE ( 7.42 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-2.0 (--)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-2.0 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c00:0:0:0:244 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (yszhou4tech[at]gmail.com)\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain", "Subject": "[LEDE-DEV] [PATCH v2 2/4] build: ipkg: new field Alternatives", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Cc": "Yousong Zhou <yszhou4tech@gmail.com>, lede-dev@lists.infradead.org,\n\tnbd@nbd.name", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "It's a list of specs of the following form seprated by commas to\ndescribe alternatives provided by this package\n\n <prio>:<path>:<altpath>\n\n<path> will be a symbolic link to <altpath> of the highest <prio>\n\nSigned-off-by: Yousong Zhou <yszhou4tech@gmail.com>\n---\n include/package-ipkg.mk | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk\nindex 620be99..bf508fb 100644\n--- a/include/package-ipkg.mk\n+++ b/include/package-ipkg.mk\n@@ -159,6 +159,7 @@ Version: $(VERSION)\n $$(call addfield,Depends,$$(Package/$(1)/DEPENDS)\n )$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS))\n )$$(call addfield,Provides,$$(call mergelist,$(PROVIDES))\n+)$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES))\n )$$(call addfield,Source,$(SOURCE)\n )$$(call addfield,License,$$(PKG_LICENSE)\n )$$(call addfield,LicenseFiles,$$(PKG_LICENSE_FILES)\n", "prefixes": [ "LEDE-DEV", "v2", "2/4" ] }