Romain GARBAGE 916fb5347a
guix: download: Add support for git repositories.
* guix/scripts/download.scm (git-download-to-store*): Add new variable.
(copy-recursively-without-dot-git): New variable.
(git-download-to-file): Add new variable.
(show-help): Add 'git', 'commit', 'branch' and 'recursive'options
help message.
(%default-options): Add default value for 'git-reference' and
'recursive' options.
(%options): Add 'git', 'commit', 'branch' and 'recursive' command
line options.
(guix-download) [hash]: Compute hash with 'file-hash*' instead of
'port-hash' from (gcrypt hash) module. This allows us to compute
hashes for directories.
* doc/guix.texi (Invoking guix-download): Add @item entries for
`git', `commit', `branch' and `recursive' options. Add a paragraph in
the introduction.
* tests/guix-download.sh: New tests. Move variables and trap definition
to the top of the file.

Change-Id: Ic2c428dca4cfcb0d4714ed361a4c46609339140a
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-01-22 10:02:28 -05:00
..
2024-01-22 11:26:56 +01:00
2023-03-13 15:08:33 +01:00
2023-09-26 17:36:58 +02:00
2023-03-13 15:08:33 +01:00
2024-01-08 21:04:44 +03:00
2023-08-25 14:24:43 +02:00
2023-03-13 15:08:33 +01:00
2023-11-05 17:51:38 +00:00
2023-03-13 15:08:33 +01:00
2023-03-13 15:08:33 +01:00
2023-03-13 15:08:33 +01:00
2024-01-05 17:27:21 +01:00
2024-01-04 21:48:17 +02:00