GNU bug report logs - #68405
[PATCH v2] guix: download: Add support for git repositories.

Previous Next

Package: guix-patches;

Reported by: Romain GARBAGE <romain.garbage <at> inria.fr>

Date: Fri, 12 Jan 2024 15:16:01 UTC

Severity: normal

Tags: patch

Merged with 68404, 68499

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: 68405 <at> debbugs.gnu.org
Cc: Romain GARBAGE <romain.garbage <at> inria.fr>
Subject: [bug#68405] [PATCH v2] guix: download: Add support for git repositories.
Date: Fri, 12 Jan 2024 16:57:57 +0100
Hello!

Romain GARBAGE <romain.garbage <at> inria.fr> skribis:

> * 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.

Full disclosure: Romain and I work together at Inria.  I’ve reviewed the
changes and they LGTM, but we’ll leave time for others to chime in.

Ludo’.




This bug report was last modified 1 year and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.