From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IItcKgF7omQtMAAASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 09:38:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yEVjKgF7omSBjAAA9RJhRA (envelope-from ) for ; Mon, 03 Jul 2023 09:38:41 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F0403D97D for ; Mon, 3 Jul 2023 09:38:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=kfauACbP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688369921; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=gSDtJO9Vtxpbqu0cDq+ixbC8vbpLb+4P+FNLfq3OFs0=; b=JbecQoc/TJyHTh9llrIb+SaRjKWiHQwVoa8crx9FCinzF8jgwd503+a9HTGaEQAtBHpuvl D9Xzxte8qMZfZCH1w0XsuEwX5nrVf4h2sCZFi1E8oalCdG/umqbNEy+zHq6wb8lJ+16kIj zVGM+P8qQoFC7lBVDHIVnMuDsHi3dczr+ucyEgPPrax4cZpBRkDzuB0nwQLBTQRN7S1nEa NmNsD1uBFNCjHr9T6X14cMdCcn3LqjWY5JQi4RM/GScSMY4jkcv8H9MoJD+a2b9+2UkeDH ez4LILGNWqmSP52eSL86wdwbN+FRIZjrPNwxfGL10G3xHF/zhxqnzUaQBVOfLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=kfauACbP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688369921; a=rsa-sha256; cv=none; b=exsy1zphIk6utmFXbt/De6aEw453lGfU2Ik41/Drebqtc+aC/wC/A5I+4K9koHRTHxO2g2 8CNN1ykb2NAPi8NvM0144ZCd3RVQiUEuwRkevbBIRtR1ZDPDg/yKmC5lzDFQt2N8GDolee UyDbx04icwtZKsPPMdeKtj2WmAesI6b2B7glh/6Pz/I0+bi3qKUYSOZMoIMBu9uHQMiIJx 0VeMASKkpwYdHnKYmL+JTYQqx4M527zOorhpI4PXzJcBztzv5OE658nl0BdeYjY9NiRqts R6KUpdDieMkeKAG/VzYYi2Y/F3j31/WuGYfwXLcYx5Uaxi1te2giuxl7+1LCpA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGE8T-0003RJ-H5; Mon, 03 Jul 2023 03:38:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGE8I-0003OQ-H7 for guix-patches@gnu.org; Mon, 03 Jul 2023 03:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGE8I-0005vR-7k for guix-patches@gnu.org; Mon, 03 Jul 2023 03:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGE8H-0000w5-U5 for guix-patches@gnu.org; Mon, 03 Jul 2023 03:38:01 -0400 Subject: bug#61052: [PATCH] download: Add url-fetch/xz-file. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 03 Jul 2023 07:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61052 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 61052-close@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice Mail-Followup-To: 61052@debbugs.gnu.org, hako@ultrarare.space, hako@ultrarare.space Received: via spool by 61052-done@debbugs.gnu.org id=D61052.16883698533561 (code D ref 61052); Mon, 03 Jul 2023 07:38:01 +0000 Received: (at 61052-close) by debbugs.gnu.org; 3 Jul 2023 07:37:33 +0000 Received: from localhost ([127.0.0.1]:33062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGE7p-0000vN-7T for submit@debbugs.gnu.org; Mon, 03 Jul 2023 03:37:33 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:38612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGE7k-0000vC-0s for 61052-close@debbugs.gnu.org; Mon, 03 Jul 2023 03:37:31 -0400 Date: Mon, 03 Jul 2023 15:37:14 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1688369632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gSDtJO9Vtxpbqu0cDq+ixbC8vbpLb+4P+FNLfq3OFs0=; b=kfauACbPesZUMy3WxRdLRFIfTaA2ZRNSooNcUgf7pejQI3oB2x2wBj8fHmXroCyhc6hUf6 2FyvUcvvHGDRBYi+jo0O+zIFQVR8Aoo8OB1pFwTvn/RdQKw3zKPm5m71uWzjQWHwfmZ9+J vR3zTxNDc1MeUEPPo4pmgT9Vh3gsnlLAAF2E72kHsQg1aoXnrx9oAwVWAPoyoOtNpqs5LY CjlhzHSOC18Jg+xnAoELwO7QEfbVa5sa391tUiXgqc6ktjfXjKL4FcnwvW33i6SmhGUmSX v79ugKRtCW0IxUysxTWc3qAsQkcpf+No9anhDACFEsfyus861tXfj+ovnTNkQg== Message-ID: <87r0pptphx.wl-hako@ultrarare.space> In-Reply-To: <16189d896f675c30ba117222b7dd36da@tobias.gr> References: <87sffz2d9a.wl-hako@ultrarare.space> <16189d896f675c30ba117222b7dd36da@tobias.gr> <87lekly6u8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.86 X-Spam-Score: -4.86 X-Migadu-Queue-Id: 5F0403D97D X-TUID: Dx4n3bXo14dZ On Sun, 26 Feb 2023 03:25:24 +0800, Tobias Geerinckx-Rice wrote: > > Hi Hilton, > > I agree with Ludo' and also wonder if a generic > ‘url-fetch/compressed-file’ wouldn't be better. There are closure > arguments to be made for this xz-only approach. I don't know if > they're convincing. Cluebats welcome. > > (I was going to bring up ‘url-fetch/tarbomb’ as an example, but it > doesn't actually handle anything besides gzip! Madness.) > > On 2023-01-25 10:07, Hilton Chain wrote: > > + (setenv "XZ_OPT" > > + (string-join (%xz-parallel-args))) > > Why set this kluge… > > > + (invoke (string-append #+xz "/bin/unxz") > > + #$file-name) > > …when we have full control over xz's arguments? > > Kind regards, > > T G-R > > Sent from a Web browser. Excuse or enjoy my brevity. Sorry for the long delay... Yes, I would prefer a generic approach. But currently I don't have a usecase with this url-fetch/xz-file or something more generic, so I'll close the issue for now.