guix-play/guix/scripts
Simon Tournier d007b64356
scripts: hash: Handle repository with different VCS folders.
Fixes <https://issues.guix.gnu.org/issue/65979>.

* 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
2024-07-23 16:27:27 +02:00
..
container
git
home
import import: go: Fix indentation in help message. 2024-07-01 21:57:13 +01:00
system
archive.scm
authenticate.scm
build.scm guix build: Take ‘--system’ into account together with ‘-S’. 2024-07-18 17:31:18 +02:00
challenge.scm
container.scm
copy.scm
deploy.scm
describe.scm
discover.scm
download.scm
edit.scm
environment.scm
gc.scm
git.scm
graph.scm
hash.scm scripts: hash: Handle repository with different VCS folders. 2024-07-23 16:27:27 +02:00
home.scm
import.scm
install.scm
lint.scm
locate.scm
offload.scm
pack.scm pack: Create /tmp in Apptainer images. 2024-07-10 16:00:36 +02:00
package.scm
perform-download.scm
processes.scm
publish.scm
pull.scm
refresh.scm
remove.scm
repl.scm
search.scm
shell.scm
show.scm
size.scm
style.scm style: Fix conversion of ‘unquote-splicing’ by ‘-S arguments’. 2024-06-03 22:58:52 +02:00
substitute.scm substitute: Don’t keep cache entries more than a few days. 2024-06-13 11:38:24 +02:00
system.scm file-systems: Add support for mounting CIFS file systems 2024-06-04 12:08:34 +02:00
time-machine.scm
upgrade.scm
weather.scm