diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2021-09-10 11:42:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-10 17:30:54 +0200 |
commit | ff613c2b68aac539262822490448e637d8f315ba (patch) | |
tree | 1204a31ae442454ceacb6262e62388a9b0eaacfa /scripts | |
parent | 163d6385fd4f06860726876086d92d0e81dc6442 (diff) | |
download | guix-ff613c2b68aac539262822490448e637d8f315ba.tar.gz |
swh: Adjust to new vault API.
Previously the path to query the vault or request cooking of a directory was /api/1/vault/directory/ID. It is now deprecated in favor if /api/1/vault/flat/SWHID. This commit adjusts code accordingly and also prepares for 'git-bare' support. * guix/swh.scm (vault-url): New procedure. (query-vault, request-cooking): Make 'kind' optional, and add #:archive-type. Use 'vault-url'. (vault-fetch): Make 'kind' optional and add #:archive-type. Adjust 'query-vault' and 'request-cooking' calls accordingly.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions