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: Tue, 23 Oct 2018 11:27:30 +0200 Message-ID: <877ei9ypvh.fsf@lassieur.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]:60962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEsyt-00016J-KP for bug-guix@gnu.org; Tue, 23 Oct 2018 05:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEsyo-0004Ie-MI for bug-guix@gnu.org; Tue, 23 Oct 2018 05:28:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEsyo-0004IA-Ee for bug-guix@gnu.org; Tue, 23 Oct 2018 05:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gEsyo-00057M-7G for bug-guix@gnu.org; Tue, 23 Oct 2018 05:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEsyW-0000eZ-Qi for bug-guix@gnu.org; Tue, 23 Oct 2018 05:27:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEsyR-0003ti-Rl for bug-guix@gnu.org; Tue, 23 Oct 2018 05:27:44 -0400 Received: from mail.lassieur.org ([83.152.10.219]:60000) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEsyR-0003nc-Fh for bug-guix@gnu.org; Tue, 23 Oct 2018 05:27:39 -0400 Received: from newt (smtp.parrot.biz [62.23.167.188]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 60c31836 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Tue, 23 Oct 2018 09:20:32 +0000 (UTC) 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: 33124@debbugs.gnu.org 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--- snape, civodul says: i think Cuirass should register GC roots for i= ts 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 --8<---------------cut here---------------end--------------->8--- Cl=C3=A9ment