{"id":812653,"url":"http://patchwork.ozlabs.org/api/patches/812653/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/1505168020-23634-1-git-send-email-brain@jikos.cz/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","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":"<1505168020-23634-1-git-send-email-brain@jikos.cz>","list_archive_url":null,"date":"2017-09-11T22:13:40","name":"[1/1] download/git: force gzip compression level 6","commit_ref":"04a22cf1b521acb5634ed083e0381d42979d1698","pull_url":null,"state":"accepted","archived":false,"hash":"2d60e49b2345a647cd598ddc7da44ff62b0677b4","submitter":{"id":69262,"url":"http://patchwork.ozlabs.org/api/people/69262/?format=json","name":"Petr Kulhavy","email":"brain@jikos.cz"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/1505168020-23634-1-git-send-email-brain@jikos.cz/mbox/","series":[{"id":2590,"url":"http://patchwork.ozlabs.org/api/series/2590/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=2590","date":"2017-09-11T22:13:40","name":"[1/1] download/git: force gzip compression level 6","version":1,"mbox":"http://patchwork.ozlabs.org/series/2590/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812653/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812653/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 3xrhzG1Dr2z9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 08:14:02 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 49FBC86707;\n\tMon, 11 Sep 2017 22:14:00 +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 9pq-PLN7tNTJ; Mon, 11 Sep 2017 22:13:59 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 14E9886669;\n\tMon, 11 Sep 2017 22:13:59 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 77ED91C1596\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 11 Sep 2017 22:13:57 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 711C027388\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 11 Sep 2017 22:13:57 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id U+2tAIHTV8OY for <buildroot@lists.busybox.net>;\n\tMon, 11 Sep 2017 22:13:56 +0000 (UTC)","from vie01a-dmta-ch01-2.mx.upcmail.net\n\t(vie01a-dmta-ch01-2.mx.upcmail.net [84.116.36.92])\n\tby silver.osuosl.org (Postfix) with ESMTPS id D31A925715\n\tfor <buildroot@buildroot.org>; Mon, 11 Sep 2017 22:13:55 +0000 (UTC)","from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01)\n\tby vie01a-dmta-ch01.mx.upcmail.net with esmtp (Exim 4.88)\n\t(envelope-from <brain@jikos.cz>) id 1drWxk-0002qy-1i\n\tfor buildroot@buildroot.org; Tue, 12 Sep 2017 00:13:52 +0200","from localhost.localdomain ([83.150.41.162])\n\tby vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net\n\tid 8NDn1w0073VvXnX01NDqo8; Tue, 12 Sep 2017 00:13:51 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","X-SourceIP":"83.150.41.162","X-Authenticated-Sender":"brain@hispeed.ch","From":"Petr Kulhavy <brain@jikos.cz>","To":"buildroot@buildroot.org","Date":"Tue, 12 Sep 2017 00:13:40 +0200","Message-Id":"<1505168020-23634-1-git-send-email-brain@jikos.cz>","X-Mailer":"git-send-email 2.7.4","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>, Petr Kulhavy <brain@jikos.cz>","Subject":"[Buildroot] [PATCH 1/1] download/git: force gzip compression level 6","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":"Force gzip compression level 6 when calculating hash of a downloaded GIT repo.\nTo make sure the tar->gzip->checksum chain always provides consistent result.`\n\nThe script was relying on the default compression level, which must not be\nnecessarily consistent among different gzip versions. The level 6 is gzip's\ncurrent default compression level.\n\nSigned-off-by: Petr Kulhavy <brain@jikos.cz>\n---\n support/download/git | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/support/download/git b/support/download/git\nindex fc2957d..f590ff6 100755\n--- a/support/download/git\n+++ b/support/download/git\n@@ -101,4 +101,4 @@ LC_ALL=C sort <\"${basename}.list\" >\"${basename}.list.sorted\"\n # sources.buildroot.org and used in the *.hash files\n tar cf - --numeric-owner --owner=0 --group=0 --mtime=\"${date}\" --format=gnu \\\n          -T \"${basename}.list.sorted\" >\"${output}.tar\"\n-gzip -n <\"${output}.tar\" >\"${output}\"\n+gzip -6 -n <\"${output}.tar\" >\"${output}\"\n","prefixes":["1/1"]}