Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/809150/?format=api
{ "id": 809150, "url": "http://patchwork.ozlabs.org/api/patches/809150/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902212938.23712-1-thomas.petazzoni@free-electrons.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170902212938.23712-1-thomas.petazzoni@free-electrons.com>", "list_archive_url": null, "date": "2017-09-02T21:29:38", "name": "utils/genrandconfig: use --no-check-certificate in wget by default", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b26041126a5debc3965fe0e8905b0053a94d9a54", "submitter": { "id": 2230, "url": "http://patchwork.ozlabs.org/api/people/2230/?format=api", "name": "Thomas Petazzoni", "email": "thomas.petazzoni@free-electrons.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902212938.23712-1-thomas.petazzoni@free-electrons.com/mbox/", "series": [ { "id": 1179, "url": "http://patchwork.ozlabs.org/api/series/1179/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1179", "date": "2017-09-02T21:29:38", "name": "utils/genrandconfig: use --no-check-certificate in wget by default", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1179/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809150/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809150/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xl8QS15J0z9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 3 Sep 2017 07:29:52 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C541A87658;\n\tSat, 2 Sep 2017 21:29:47 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id a8S4j-EFH0Xh; Sat, 2 Sep 2017 21:29:45 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C96E18769E;\n\tSat, 2 Sep 2017 21:29:45 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 684E21C24A1\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 21:29:44 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 571F58769E\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 21:29:44 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id GbfQJo6IAFoV for <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 21:29:43 +0000 (UTC)", "from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AB3F287658\n\tfor <buildroot@buildroot.org>; Sat, 2 Sep 2017 21:29:43 +0000 (UTC)", "by mail.free-electrons.com (Postfix, from userid 110)\n\tid 6C79320A02; Sat, 2 Sep 2017 23:29:41 +0200 (CEST)", "from localhost (unknown [185.94.29.10])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 2B3D7209CB;\n\tSat, 2 Sep 2017 23:29:41 +0200 (CEST)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>", "To": "buildroot@buildroot.org", "Date": "Sat, 2 Sep 2017 23:29:38 +0200", "Message-Id": "<20170902212938.23712-1-thomas.petazzoni@free-electrons.com>", "X-Mailer": "git-send-email 2.13.5", "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>", "Subject": "[Buildroot] [PATCH] utils/genrandconfig: use --no-check-certificate\n\tin wget by default", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "A number of autobuilder failures are due to the fact that autobuilder\ninstances use old distributions, with old SSL certificates, and\ntherefore wget aborts with an error \"The certificate of `xyz.org' is\nnot trusted.\".\n\nIn order to avoid such failures that are not very interesting in the\ncontext of the autobuilders, we pass --no-check-certificate to\nwget. The integrity of the downloaded files is anyway verified by the\nhashes, and this is only meant to be used in the context of\ntesting/CI, not in production.\n\nSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n utils/genrandconfig | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/utils/genrandconfig b/utils/genrandconfig\nindex a67d46fad9..5ce6015765 100755\n--- a/utils/genrandconfig\n+++ b/utils/genrandconfig\n@@ -345,6 +345,9 @@ def gen_config(args):\n with open(minimalconfigfile) as minimalf:\n configlines += minimalf.readlines()\n \n+ # Allow hosts with old certificates to download over https\n+ configlines.append(\"BR2_WGET=\\\"wget --passive-ftp -nd -t 3 --no-check-certificate\\\"\")\n+\n # Amend the configuration with a few things.\n if randint(0, 20) == 0:\n configlines.append(\"BR2_ENABLE_DEBUG=y\\n\")\n", "prefixes": [] }