guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disarchive and SHA


From: Ludovic Courtès
Subject: Re: Disarchive and SHA
Date: Thu, 21 Oct 2021 22:28:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

zimoun <zimon.toutoune@gmail.com> 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/zabbix/sources/stable/5.2/zabbix-5.2.6.tar.gz...
> following redirection to 
> `https://web.archive.org/web/20210410075108/https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.tar.gz'...
>  …2.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 ’sources.json’.
>
> $ 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.tar.gz";
>       "git_url": "https://github.com/unioslo/zabbix-cli";,
>         "https://cdn.zabbix.com/zabbix/sources/stable/5.2/zabbix-5.2.6.tar.gz";
>
> That’s why «Disarchive entry refers to non-existent SWH directory».

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 ‘sources.json’?

> Help welcome for improving this ’sources.json’. :-)  Especially, turning
> the current way using the website builder into derivation-style usable
> by the CI.

Yes, it’s probably a good idea to eventually turn ‘sources.json’ into a
‘computed-file’, and make a one-element manifest under etc/.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]