* bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots
@ 2018-10-23 9:27 Clément Lassieur
2018-11-07 14:29 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Clément Lassieur @ 2018-10-23 9:27 UTC (permalink / raw)
To: 33124
I think the goal here is to make sure that the builds that resulted from
of 1) important evaluations (releases) and 2) recent evaluations aren't
garbage collected.
--8<---------------cut here---------------start------------->8---
<sneek> snape, civodul says: i think Cuirass should register GC roots for its
evaluations under /var/guix/gcroots
<snape> [...] How many such evaluations should be registered? If all
are registered, we'll run out of space won't we? So would it be
like the last 15 or something?
<civodul> snape: i think we'd register all of them and use (guix cache) to
automatically wipe old ones periodically [09:53]
<civodul> snape: when there's a release we could manually stash important
evaluations away so they won't be deleted
<civodul> so i'd just create one subdir for each eval say in
/var/guix/profiles/USER/cuirass/evaluations [09:54]
<civodul> and that'd contain a bunch of symlinks to both the .drv and the
outputs
--8<---------------cut here---------------end--------------->8---
Clément
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots
2018-10-23 9:27 bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots Clément Lassieur
@ 2018-11-07 14:29 ` Ludovic Courtès
2018-11-07 19:24 ` Clément Lassieur
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-11-07 14:29 UTC (permalink / raw)
To: Clément Lassieur; +Cc: 33124-done
Hi Clément,
Clément Lassieur <clement@lassieur.org> skribis:
> I think the goal here is to make sure that the builds that resulted from
> of 1) important evaluations (releases) and 2) recent evaluations aren't
> garbage collected.
>
> <sneek> snape, civodul says: i think Cuirass should register GC roots for its
> evaluations under /var/guix/gcroots
> <snape> [...] How many such evaluations should be registered? If all
> are registered, we'll run out of space won't we? So would it be
> like the last 15 or something?
> <civodul> snape: i think we'd register all of them and use (guix cache) to
> automatically wipe old ones periodically [09:53]
> <civodul> snape: when there's a release we could manually stash important
> evaluations away so they won't be deleted
> <civodul> so i'd just create one subdir for each eval say in
> /var/guix/profiles/USER/cuirass/evaluations [09:54]
> <civodul> and that'd contain a bunch of symlinks to both the .drv and the
> outputs
I went ahead and implemented a simple version of this in commit
d4623d50edac4a6e81f5986a91c2818f5fc4965d.
Let me know what you think!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots
2018-11-07 14:29 ` Ludovic Courtès
@ 2018-11-07 19:24 ` Clément Lassieur
0 siblings, 0 replies; 3+ messages in thread
From: Clément Lassieur @ 2018-11-07 19:24 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 33124-done
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Clément,
>
> Clément Lassieur <clement@lassieur.org> skribis:
>
>> I think the goal here is to make sure that the builds that resulted from
>> of 1) important evaluations (releases) and 2) recent evaluations aren't
>> garbage collected.
>>
>> <sneek> snape, civodul says: i think Cuirass should register GC roots for its
>> evaluations under /var/guix/gcroots
>> <snape> [...] How many such evaluations should be registered? If all
>> are registered, we'll run out of space won't we? So would it be
>> like the last 15 or something?
>> <civodul> snape: i think we'd register all of them and use (guix cache) to
>> automatically wipe old ones periodically [09:53]
>> <civodul> snape: when there's a release we could manually stash important
>> evaluations away so they won't be deleted
>> <civodul> so i'd just create one subdir for each eval say in
>> /var/guix/profiles/USER/cuirass/evaluations [09:54]
>> <civodul> and that'd contain a bunch of symlinks to both the .drv and the
>> outputs
>
> I went ahead and implemented a simple version of this in commit
> d4623d50edac4a6e81f5986a91c2818f5fc4965d.
>
> Let me know what you think!
This is great. Thank you very much!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-07 19:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 9:27 bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots Clément Lassieur
2018-11-07 14:29 ` Ludovic Courtès
2018-11-07 19:24 ` Clément Lassieur
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.