[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC hints
From: |
Mark H Weaver |
Subject: |
Re: GC hints |
Date: |
Sun, 23 Dec 2018 10:58:38 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Chris Marusich <address@hidden> writes:
> Mark H Weaver <address@hidden> writes:
>
>> Hi Ludovic,
>>
>> Ludovic Courtès <address@hidden> writes:
>>
>>> 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?
>>
>> I think it's reasonable to automatically run GC by default, but I would
>> strongly advise against deleting GC roots automatically by default
>> without the user's knowledge and consent.
>
> Just to be clear, I agree with you, Mark. Guix shouldn't delete GC
> roots automatically by default. I think we were just saying that it
> might be nice if a user could configure Guix to automatically delete GC
> roots according to some policy (e.g., retain the last 2, and delete any
> others older than 1 month). Guix would only delete the GC roots
> according to the policy that the user has set, and if no policy has been
> set, the default would be not to delete any of the GC roots.
As long as it's not the default behavior, I think this would be a nice
feature to have.
Thanks!
Mark
- Re: About /var/guix/profiles and guix pull generations, (continued)
- GC hints, Ludovic Courtès, 2018/12/19
- 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 <=
- Re: GC hints, swedebugia, 2018/12/25
- Re: GC hints, Pierre Neidhardt, 2018/12/25