From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Disarchive and SHA
Date: Thu, 21 Oct 2021 22:28:09 +0200 [thread overview]
Message-ID: <87o87iw2au.fsf@gnu.org> (raw)
In-Reply-To: <868ryoc7v5.fsf@gmail.com> (zimoun's message of "Wed, 20 Oct 2021 12:23:42 +0200")
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’.
next prev parent reply other threads:[~2021-10-21 20:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <86k0i8c7zj.fsf@gmail.com>
2021-10-20 10:23 ` Disarchive and SHA zimoun
2021-10-20 17:03 ` zimoun
2021-10-21 20:28 ` Ludovic Courtès [this message]
2021-10-21 21:22 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o87iw2au.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).