From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots Date: Wed, 07 Nov 2018 20:24:31 +0100 Message-ID: <87a7mkr8r4.fsf@lassieur.org> References: <877ei9ypvh.fsf@lassieur.org> <87o9b1ufjh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKTRp-0004W2-6j for bug-guix@gnu.org; Wed, 07 Nov 2018 14:25:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKTRm-0000ze-Sh for bug-guix@gnu.org; Wed, 07 Nov 2018 14:25:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKTRm-0000zP-Ns for bug-guix@gnu.org; Wed, 07 Nov 2018 14:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKTRm-0001rn-Kb for bug-guix@gnu.org; Wed, 07 Nov 2018 14:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87o9b1ufjh.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33124-done@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Hi Cl=C3=A9ment, > > Cl=C3=A9ment Lassieur 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. >> >> snape, civodul says: i think Cuirass should register GC roots fo= r its >> evaluations under /var/guix/gcroots >> [...] 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? >> snape: i think we'd register all of them and use (guix cache) = to >> automatically wipe old ones periodically [09:53] >> snape: when there's a release we could manually stash important >> evaluations away so they won't be deleted >> so i'd just create one subdir for each eval say in >> /var/guix/profiles/USER/cuirass/evaluations [09:54] >> 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!