unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 35176@debbugs.gnu.org
Subject: [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots'
Date: Tue, 9 Apr 2019 21:01:09 +0200	[thread overview]
Message-ID: <20190409210109.42ba3cee@alma-ubu> (raw)
In-Reply-To: <20190406212656.27025-1-ludo@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

On Sat,  6 Apr 2019 23:26:56 +0200
Ludovic Courtès <ludo@gnu.org> wrote:

> 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’).

I'm using regularly `guix gc -d /gnu/store/...` and I'm a bit concerned
about re/abusing this existing parameter. First I like the simple '-d'
to delete a store path. Second, how big is the chance I could
accidentally delete (all) older generations of my profiles? I really
like to keep them for a long time, until my disk is near-full, and it
looks like gc-roots are no longer a safe way to keep them?

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  parent reply	other threads:[~2019-04-09 19:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-06 21:26 [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots' Ludovic Courtès
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 ` Björn Höfling [this message]
2019-04-09 20:02   ` [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots' 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=20190409210109.42ba3cee@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=35176@debbugs.gnu.org \
    --cc=ludo@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).