diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-01-25 22:40:48 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-02-12 12:03:52 +0100 |
commit | 1610a632d4b3097282d18af27ff3e9e178d7dfcb (patch) | |
tree | 1115d91f41dca71d3644818c3c431f97f64154a6 /NEWS | |
parent | 5bd5bb5f6ca822f76599ca6d1959f4c42d4bc222 (diff) |
swh: ‘vault-fetch’ follows redirects.
Today, URLs like
https://archive.softwareheritage.org/api/1/vault/flat/swh:1:dir:84a8b34591712c0a90bab0af604188bcd1fe3153/raw/
redirect to https://swhvaultstorage.blob.core.windows.net/…. This
change fixes ‘vault-fetch’ to follow these.
Fixes <https://issues.guix.gnu.org/69058>.
* guix/swh.scm (http-get/follow): New procedure.
(vault-fetch): Use it instead of ‘http-get*’.
Change-Id: Id6b9585a9ce6699a2274b99c9a6d4edda1018b02
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions