diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-01-26 14:41:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-02-12 12:03:53 +0100 |
commit | 29f3089c841f00144f24f5c32296aebf22d752cc (patch) | |
tree | 097248568c3a7a737be1d210e02fd03fb9111f1f /tests/base64.scm | |
parent | 1b72e1430794fd09bb2be1d72f482a40c0f9196e (diff) | |
download | guix-29f3089c841f00144f24f5c32296aebf22d752cc.tar.gz guix-29f3089c841f00144f24f5c32296aebf22d752cc.zip |
lint: archival: Check with ‘lookup-directory-by-nar-hash’.
While this method is new and nar-sha256 ExtIDs are currently available
only for new visits, it is fundamentally more reliable than the other
methods, which is why it comes first.
* guix/lint.scm (check-archival)[lookup-by-nar-hash]: New procedure.
Call ‘lookup-by-nar-hash’ before the other lookup methods.
* tests/lint.scm ("archival: content available")
("archival: content unavailable but disarchive available")
("archival: missing revision")
("archival: revision available"): Add a 404 response corresponding to
the ‘lookup-external-id’ request.
* tests/lint.scm ("archival: nar-sha256 extid available"): New test.
Change-Id: I4a81d6e022a3b72e6484726549d7fbae627f8e73
Diffstat (limited to 'tests/base64.scm')
0 files changed, 0 insertions, 0 deletions