From: "Ludovic Courtès" <ludo@gnu.org>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: 65979@debbugs.gnu.org
Subject: bug#65979: incorrect “guix hash” for FastQC
Date: Tue, 26 Sep 2023 15:34:47 +0200 [thread overview]
Message-ID: <87pm252h3c.fsf@gnu.org> (raw)
In-Reply-To: <87fs313x92.fsf@gmail.com> (Simon Tournier's message of "Tue, 26 Sep 2023 15:00:25 +0200")
(Oops, now I see you had already found the reason.)
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> What do we fix? The procedure vcs-file? or fixed-output computation?
There are two things are:
1. ‘vcs-file?’, used by ‘guix hash -rx’;
2. ‘git-fetch’, which does (delete-file-recursively ".git").
Clearly #2 is correct (it’s perfectly fine to have a ‘.svn’ directory in
a Git repo), whereas #1 is an approximation that, in corner cases like
this one, gives the wrong answer.
My take is that it’s OK to keep ‘vcs-file?’ as is: the best we could do
would be to add complicated heuristics in the hope corner cases like
this one would be better dealt with, but it wouldn’t be bullet-proof
anyway.
WDYT?
Ludo’.
next prev parent reply other threads:[~2023-09-26 13:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-14 16:46 bug#65979: incorrect “guix hash” for FastQC Simon Tournier
2023-09-26 13:00 ` Simon Tournier
2023-09-26 13:34 ` Ludovic Courtès [this message]
2023-09-26 16:23 ` Simon Tournier
2023-10-01 15:07 ` Ludovic Courtès
2023-10-01 15:24 ` Simon Tournier
2023-10-17 17:56 ` Simon Tournier
2023-09-26 13:29 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pm252h3c.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=65979@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.