From: ludo@gnu.org (Ludovic Courtès)
To: Cyrill Schenkel <cyrill.schenkel@gmail.com>
Cc: 19757-done@debbugs.gnu.org
Subject: bug#19757: [PATCH] gc: ignore trailing slash or subdirectories for `guix gc -d'
Date: Tue, 26 May 2015 22:27:40 +0200 [thread overview]
Message-ID: <87y4kbkrsz.fsf@gnu.org> (raw)
In-Reply-To: <87y4kekwqo.fsf_-_@SIRIUS11.sirius11> (Cyrill Schenkel's message of "Sun, 24 May 2015 14:04:15 +0200")
Cyrill Schenkel <cyrill.schenkel@gmail.com> skribis:
> From 7385c2ddd4ca50cb80afcd315287eaadff4d8421 Mon Sep 17 00:00:00 2001
> From: Cyrill Schenkel <cyrill.schenkel@gmail.com>
> Date: Sun, 24 May 2015 13:46:37 +0200
> Subject: [PATCH] gc: ignore trailing slash or subdirectories for `guix gc -d'
>
> Fixes <http://bugs.gnu.org/19757>.
>
> * guix/scripts/gc.scm (guix-gc): Convert paths to direct store paths.
> * guix/store.scm (direct-store-path): Get rid of subdirectories in store path.
> * tests/guix-gc.sh: New tests.
Applied, thank you!
I tweaked ‘direct-store-path’ so that it gracefully handles non-store
file names such as “/dev/null”.
Ludo’.
prev parent reply other threads:[~2015-05-26 20:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150202233426.GA28580@venom.fritz.box>
2015-02-03 20:57 ` ignore trailing slash for `guix gc -d' /gnu/store/...something/ Ludovic Courtès
2015-02-25 20:24 ` Tomáš Čech
2015-05-24 12:04 ` bug#19757: [PATCH] gc: ignore trailing slash or subdirectories for `guix gc -d' Cyrill Schenkel
2015-05-26 20:27 ` Ludovic Courtès [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4kbkrsz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=19757-done@debbugs.gnu.org \
--cc=cyrill.schenkel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).