git-crypt can fail after guix gc

  • Open
  • quality assurance status badge
Details
One participant
  • TakeV
Owner
unassigned
Submitted by
TakeV
Severity
normal

Debbugs page

TakeV wrote 1 years ago
(address . bug-guix@gnu.org)
8710e147-be78-ca61-441a-bc9e49d098ea@disroot.org
I set up a git repo which uses git-crypt a while back, however it seems
to have broken in the time between then and now.
Looking into how git-crypt seems to handle things; running the initial
init causes the full path to the git-crypt binary to be written to the
git config file (.git/config) as a filter.
If one has created a repo using git-crypt, and some time later runs guix
gc, then the old path to the git-crypt binary likely will be deleted,
causing git-crypt to break, as it is unable to locate the binary.
One workaround could be running git-crypt in a shell, and registering it
as a garbage collector root so that the original git-crypt install is
preserved, but that seems like it would not be an optimal long term fix.
Updating the config file by hand also seems to fix the issue, though
that route is similarly a short term fix.
Attachment: OpenPGP_signature
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 68532@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 68532
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help