[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GC hints
From: |
Ludovic Courtès |
Subject: |
GC hints |
Date: |
Wed, 19 Dec 2018 14:49:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi!
Pierre Neidhardt <address@hidden> skribis:
> (if profile
> (display-hint (format #f (G_ "Consider deleting old profile
> -generations and collecting garbage, along these lines:
> +generations, deleting old Guix checkouts and collecting garbage, along these
> +lines:
>
> @example
> -guix package -p ~s --delete-generations=1m
> -guix gc
> address@hidden example\n")
> - profile))
> +guix package --profile=~s --delete-generations=1m
> +guix package --profile=~s --delete-generations=1m
> +guix gc --free-space=5G
> address@hidden example
> +
> +You might also want to delete old non-default profiles in
> +/var/guix/gcroots/auto.")
> + profile
> + (string-append (config-directory #:ensure?
> #f) "/current")))
I agree that this would be more accurate, but isn’t there also a risk
with making hints too long? I’m split between the idea of providing
concise hints that can be pasted and get things done, and the idea or
not trying to be a substitute for the manual.
Actually, I was also wondering whether we should provide a configurable
mechanism that would, by default, automatically delete old GC roots and
maybe even run the GC automatically when needed—similar to what Git
does.
Thoughts?
Ludo’.
- Re: About /var/guix/profiles and guix pull generations, (continued)
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/17
- Re: About /var/guix/profiles and guix pull generations, Chris Marusich, 2018/12/18
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/19
- Re: About /var/guix/profiles and guix pull generations, Chris Marusich, 2018/12/19
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/19
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/19
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/19
- Re: About /var/guix/profiles and guix pull generations, swedebugia, 2018/12/25
- Re: About /var/guix/profiles and guix pull generations, Pierre Neidhardt, 2018/12/25
- Re: About /var/guix/profiles and guix pull generations, swedebugia, 2018/12/25
- GC hints,
Ludovic Courtès <=
- Re: GC hints, Pierre Neidhardt, 2018/12/19
- Re: GC hints, Ricardo Wurmus, 2018/12/19
- Re: GC hints, Chris Marusich, 2018/12/19
- Re: GC hints, Mark H Weaver, 2018/12/20
- Re: GC hints, Alex Kost, 2018/12/20
- Re: GC hints, Chris Marusich, 2018/12/21
- Re: GC hints, swedebugia, 2018/12/21
- Re: GC hints, Mark H Weaver, 2018/12/23
- Re: GC hints, swedebugia, 2018/12/25
- Re: GC hints, Pierre Neidhardt, 2018/12/25