aboutsummaryrefslogtreecommitdiff
path: root/guix/git-download.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-01-26 14:41:37 +0100
committerLudovic Courtès <ludo@gnu.org>2024-02-12 12:03:53 +0100
commit29f3089c841f00144f24f5c32296aebf22d752cc (patch)
tree097248568c3a7a737be1d210e02fd03fb9111f1f /guix/git-download.scm
parent1b72e1430794fd09bb2be1d72f482a40c0f9196e (diff)
downloadguix-29f3089c841f00144f24f5c32296aebf22d752cc.tar
guix-29f3089c841f00144f24f5c32296aebf22d752cc.tar.gz
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 'guix/git-download.scm')
0 files changed, 0 insertions, 0 deletions