From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0N5QBXnNcWEZbAEAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 22:28:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6G79AHnNcWFOKQAA1q6Kng (envelope-from ) for ; Thu, 21 Oct 2021 20:28:41 +0000 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 C3F54100CD for ; Thu, 21 Oct 2021 22:28:39 +0200 (CEST) Received: from localhost ([::1]:50128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdeg2-0004Tg-Uv for larch@yhetil.org; Thu, 21 Oct 2021 16:28:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdefb-0004RI-BV for guix-devel@gnu.org; Thu, 21 Oct 2021 16:28:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36074) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdefb-0002BO-0Y; Thu, 21 Oct 2021 16:28:11 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57776 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdefa-0005vD-MZ; Thu, 21 Oct 2021 16:28:10 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: Disarchive and SHA References: <86k0i8c7zj.fsf@gmail.com> <868ryoc7v5.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 21 Oct 2021 22:28:09 +0200 In-Reply-To: <868ryoc7v5.fsf@gmail.com> (zimoun's message of "Wed, 20 Oct 2021 12:23:42 +0200") Message-ID: <87o87iw2au.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634848120; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6uxo7SpcNeNG+L68eqPHmv65ryyY9KeJ6BWd3SRwa/4=; b=VLW6vh+3ap3VIQ+bFe5nvEuu5BJtiyu8pI5s7XQMTieTr0KVBH8k47JrWlk20skX4z4s7v bnx+fYS4ehDv9TI+OB6MElOCpvT0rS749IxhCBPwiRoMW30nsTTNsecRdhmgB4Fqjw0KoR aG7Y0tH4xU9O8iF4tpXKI3KXJIps8/I/oYKm6GDgAzePzQlwMQEQJ8K4d0vhYmUyfBueeC kfBMKhF28MsmRJV9soYa/FH5HJS09hzT93Fh9wrlUguvZZNQp9fAKHK3q5ScNgl64o5Y8b CN+6V9TkDPNFU3JkfXi8hMZGOGbnIjNoHY3JQ0GxBklpf8m3F0Lr/yqdexEQPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634848120; a=rsa-sha256; cv=none; b=B3RzRgPTPyHxCNNMFhSlUUT09wKzcWVRrDLDq9aMQh6vJvGAsErnmKKLdwpc35hBY7EYU0 CxoslJhyNh1FQz0qNdqTXgMqQ6SkYecUZC6ncXEO2dPOvcP1tlNjFqHf6PzihcXtZaVwqu cg+hTKji7TXwMuugpOV7eAIrA8H6k0DzPLcV41cGjQq/2qfgGFGfBAzRb4UpRDfjoizLnG D0891auJjNEd2GY7jAhG2U4Xd0e/b58E0w5s0WnLG6uNh010ZJpszdpRkJ+gxDgi2UG7Cw ndkHBgSRrHszsRhSIrXIPA9Bz9qdf0DjhZBPo3t+68BdBwfskimLqfTjMkRTVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C3F54100CD X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: DTnVCYJesKNL Hi, zimoun skribis: > Along the process, I also notice, > > $ guix download https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5= .2.6.tar.gz > > Starting download of /tmp/guix-file.rcYxyF > From https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.tar.gz= ... > download failed "https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-= 5.2.6.tar.gz" 404 "Not Found" > > Starting download of /tmp/guix-file.rcYxyF > From https://web.archive.org/web/20211020115955/https://cdn.zabbix.com/za= bbix/sources/stable/5.2/zabbix-5.2.6.tar.gz... > following redirection to `https://web.archive.org/web/20210410075108/http= s://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.tar.gz'... > =E2=80=A62.6.tar.gz = 350KiB/s 00:57 | 19.6MiB transferred > /gnu/store/3w8mp25gyrkq3dngaw27kvqaggrx9qp0-zabbix-5.2.6.tar.gz > 100n1rv7r4pqagxxifzpcza5bhrr2fklzx7gndxwiyq4597p1jvn > > > And this fallback is not done by the file =E2=80=99sources.json=E2=80=99. > > $ wget https://guix.gnu.org/sources.json > $ cat sources.json | jq | grep zabbix > "git_url": "https://github.com/lukecyca/pyzabbix", > "https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.ta= r.gz" > "git_url": "https://github.com/unioslo/zabbix-cli", > "https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.ta= r.gz" > > That=E2=80=99s why =C2=ABDisarchive entry refers to non-existent SWH dire= ctory=C2=BB. However, some time ago, the zabbix.com URL was 200-OK, and at that point SWH would have ingested it, no? Or were we unlucky and the URL was already 404 by the time SWH read its first =E2=80=98sources.json=E2=80=99? > Help welcome for improving this =E2=80=99sources.json=E2=80=99. :-) Espe= cially, turning > the current way using the website builder into derivation-style usable > by the CI. Yes, it=E2=80=99s probably a good idea to eventually turn =E2=80=98sources.= json=E2=80=99 into a =E2=80=98computed-file=E2=80=99, and make a one-element manifest under etc/. Thanks, Ludo=E2=80=99.