[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66961] [PATCH v4] scripts: hash: Handle repository with different V
From: |
Ludovic Courtès |
Subject: |
[bug#66961] [PATCH v4] scripts: hash: Handle repository with different VCS folders. |
Date: |
Fri, 22 Dec 2023 17:19:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> Fixes <https://issues.guix.gnu.org/issue/65979>.
> Reported by Simon Tournier <zimon.toutoune@gmail.com>
>
> * guix/hash.scm (%vcs-directories): New variable.
> (vcs-file?): Add optional argument for passing VCS kind of the
> file/repository.
> (file-hash*): Adjust accordingly.
> (vcs-file-predicate): New procedure and export it.
> * guix/scripts/hash.scm (guix-hash)[file-hash]: Use it.
>
> Change-Id: I8e286c3426ddefd664dc3a471d5a09e309824faa
Sorry for the long delay—LGTM!
Thanks,
Ludo’.