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
..
2022-05-18 23:20:21 +02:00
2023-10-07 12:41:05 -04:00
2020-08-29 16:24:17 +02:00
2022-08-28 23:37:28 +02:00
2022-07-13 10:49:40 -04:00
2022-01-10 11:44:29 -05:00
2023-09-26 17:36:58 +02:00
2022-06-04 12:04:23 +02:00
2021-01-16 11:51:03 +00:00
2023-09-26 17:36:59 +02:00
2023-12-18 23:16:28 +01:00
2023-01-30 22:24:27 +01:00
2023-06-09 14:19:14 +02:00
2022-12-20 16:56:03 +01:00
2021-12-18 04:09:47 +01:00
2024-01-09 09:38:38 +02:00
2020-12-21 17:47:35 +01:00
2023-09-26 17:36:59 +02:00
2021-11-17 23:43:14 +01:00
2022-05-22 01:07:52 +02:00
2023-06-09 14:19:14 +02:00
2021-07-18 02:10:49 -04:00
2023-05-31 23:50:06 +02:00
2023-12-22 00:31:40 +01:00
2023-09-26 17:36:59 +02:00
2023-09-26 17:36:59 +02:00
2020-12-09 22:25:17 +01:00
2023-09-27 23:38:21 +02:00
2023-12-16 18:05:58 +02:00
2023-10-28 00:17:23 +02:00
2023-08-21 16:16:47 +02:00
2022-01-16 20:21:27 -08:00
2023-04-21 16:16:38 +02:00
2021-12-22 10:53:19 +01:00
2023-04-21 16:16:38 +02:00
2023-08-17 17:33:53 +02:00
2023-04-21 16:16:38 +02:00
2022-09-04 23:10:10 +02:00
2024-01-22 10:02:28 -05:00
2023-10-28 01:30:37 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-09-26 17:36:57 +02:00
2023-04-21 16:16:38 +02:00
2023-08-25 17:45:47 +02:00
2021-02-22 12:07:45 +01:00
2023-11-15 18:29:37 +01:00
2023-04-21 16:16:38 +02:00
2023-10-28 01:30:37 +02:00
2023-04-21 17:09:46 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-08-15 09:38:29 -04:00
2020-09-16 16:04:01 +02:00
2022-06-16 23:57:40 +02:00
2023-12-06 23:50:04 +01:00
2023-04-21 16:16:38 +02:00
2023-10-21 16:11:17 +02:00
2023-11-05 23:23:23 +01:00
2023-12-03 16:15:29 +01:00
2023-05-31 23:50:06 +02:00
2022-09-20 19:24:31 +02:00
2022-06-04 12:04:24 +02:00
2022-03-06 22:49:46 +01:00
2023-09-26 17:36:59 +02:00
2022-12-26 17:15:06 +01:00
2023-08-28 19:08:38 +02:00
2022-07-08 13:51:34 +01:00
2021-04-12 18:42:22 +02:00
2023-09-08 19:12:15 +02:00
2023-06-09 14:19:14 +02:00
2021-12-23 10:54:00 +01:00
2022-10-22 01:46:55 +02:00
2021-11-16 14:34:28 +01:00
2023-04-07 17:56:07 +02:00
2020-08-25 13:45:27 -04:00
2023-05-31 23:50:06 +02:00
2021-12-22 10:53:19 +01:00
2024-01-08 21:04:44 +03:00
2023-09-15 22:05:23 +02:00
2022-12-12 15:03:05 +01:00
2022-09-29 22:59:48 +02:00
2023-12-02 12:25:45 +01:00
2022-04-29 18:07:17 +02:00
2023-05-31 23:50:06 +02:00
2023-11-22 16:51:46 +01:00
2023-06-04 10:59:28 +02:00
2023-02-19 21:13:23 -05:00
2023-08-31 23:31:50 -04:00
2022-06-26 23:19:14 +02:00
2021-01-31 21:49:58 +01:00
2022-12-10 10:56:48 +01:00
2023-08-18 16:10:08 +02:00
2023-12-11 23:18:53 +01:00
2023-05-18 20:01:32 +02:00
2023-12-04 22:26:36 +01:00
2021-01-21 11:22:08 +01:00
2023-11-25 16:29:25 +01:00
2022-10-22 01:46:55 +02:00
2023-08-13 02:00:00 +02:00
2023-10-28 01:30:37 +02:00
2022-12-13 17:46:39 +01:00
2023-05-31 23:25:25 +02:00
2023-12-11 11:53:54 +02:00