From: "Ludovic Courtès" <ludo@gnu.org>
To: 35176@debbugs.gnu.org
Subject: [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots'
Date: Sat, 6 Apr 2019 23:26:56 +0200 [thread overview]
Message-ID: <20190406212656.27025-1-ludo@gnu.org> (raw)
Hello Guix!
This patch series is mostly about making it easier to free space:
‘guix gc --delete-generations’ deletes old generations of all the
user’s profiles prior to collecting garbage.
For consistency, ‘--delete-generations’ is aliased with ‘-d’, so
‘-d’ is repurposed (until now it was an alias for ‘--delete’).
Thoughts?
Ludo’.
Ludovic Courtès (5):
Add (guix store roots).
guix gc: Add '--list-roots'.
profiles: Add 'generation-profile'.
guix gc: Add '--delete-generations'.
scripts: GC hint suggests 'guix gc -d 1m'.
Makefile.am | 6 ++-
doc/guix.texi | 22 +++++++-
guix/profiles.scm | 15 ++++++
guix/scripts.scm | 10 ++--
guix/scripts/gc.scm | 66 +++++++++++++++++++++--
guix/store/roots.scm | 120 ++++++++++++++++++++++++++++++++++++++++++
tests/guix-gc.sh | 6 ++-
tests/store-roots.scm | 53 +++++++++++++++++++
8 files changed, 282 insertions(+), 16 deletions(-)
create mode 100644 guix/store/roots.scm
create mode 100644 tests/store-roots.scm
--
2.21.0
next reply other threads:[~2019-04-06 21:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-06 21:26 Ludovic Courtès [this message]
2019-04-06 21:31 ` [bug#35176] [PATCH 1/5] Add (guix store roots) Ludovic Courtès
2019-04-06 21:31 ` [bug#35176] [PATCH 2/5] guix gc: Add '--list-roots' Ludovic Courtès
2019-04-06 21:31 ` [bug#35176] [PATCH 3/5] profiles: Add 'generation-profile' Ludovic Courtès
2019-04-06 21:31 ` [bug#35176] [PATCH 4/5] guix gc: Add '--delete-generations' Ludovic Courtès
2019-04-06 21:31 ` [bug#35176] [PATCH 5/5] scripts: GC hint suggests 'guix gc -d 1m' Ludovic Courtès
2019-04-09 19:01 ` [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots' Björn Höfling
2019-04-09 20:02 ` Ludovic Courtès
2019-04-09 20:58 ` Björn Höfling
2019-04-10 15:19 ` bug#35176: " 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
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=20190406212656.27025-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=35176@debbugs.gnu.org \
/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).