From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXXLm-0000RB-K6 for guix-patches@gnu.org; Sun, 02 Jun 2019 16:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXXLj-0006fk-82 for guix-patches@gnu.org; Sun, 02 Jun 2019 16:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXXLi-0006eg-3Z for guix-patches@gnu.org; Sun, 02 Jun 2019 16:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hXXLi-0006jf-0w for guix-patches@gnu.org; Sun, 02 Jun 2019 16:45:02 -0400 Subject: [bug#36029] [PATCH 0/2] 'publish' and 'substitute' support several compression methods Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190531144828.9585-1-ludo@gnu.org> <87blzhzv1z.fsf@ambrevar.xyz> Date: Sun, 02 Jun 2019 22:44:04 +0200 In-Reply-To: <87blzhzv1z.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sat, 01 Jun 2019 08:19:52 +0200") Message-ID: <87woi367l7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 36029@debbugs.gnu.org Hello! Pierre Neidhardt skribis: >> --8<---------------cut here---------------start------------->8--- >> StorePath: /gnu/store/9czlz7ss3187l2vi1hvrlkwlgrggdg5p-inkscape-0.92.4 >> URL: nar/gzip/9czlz7ss3187l2vi1hvrlkwlgrggdg5p-inkscape-0.92.4 >> Compression: gzip >> FileSize: 40308611 >> URL: nar/lzip/9czlz7ss3187l2vi1hvrlkwlgrggdg5p-inkscape-0.92.4 >> Compression: lzip >> FileSize: 19867767 >> NarHash: sha256:1jv4nkq68a7zwqhi9inrnh340a4jxcpb91wq7d25hgw0nk8isbbk >> NarSize: 136499024 >> References: =E2=80=A6 >> --8<---------------cut here---------------end--------------->8--- > > Huhu, inkscape's size is already halved ;) Yup, I=E2=80=99d be curious to gather more stats once it=E2=80=99s running! >> IOW, it=E2=80=99s like before, except that there are multiple >> URL/Compression/FileSize fields instead of just one of each. >> >> The trick is that old clients take the first occurrence of each >> of these fields and ignore subsequent occurrences. In the example >> above, they=E2=80=99d just take gzip and ignore the rest. > > Smart! I like it! Cool! I=E2=80=99ve pushed these: b90ae065b5 substitute: Select the best compression methods. b8fa86adfc publish: '--compression' can be repeated. Now I=E2=80=99d like to run a test instance on berlin before we deploy it = =E2=80=9Cfor real.=E2=80=9D To be continued=E2=80=A6 Ludo=E2=80=99.