From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#33124: Cuirass: register GC roots for evaluations under /var/guix/gcroots Date: Wed, 07 Nov 2018 15:29:38 +0100 Message-ID: <87o9b1ufjh.fsf@gnu.org> References: <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]:47263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKOqO-0003Sp-5M for bug-guix@gnu.org; Wed, 07 Nov 2018 09:30:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKOqL-0003Fc-VU for bug-guix@gnu.org; Wed, 07 Nov 2018 09:30:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKOqK-0003E5-Qs for bug-guix@gnu.org; Wed, 07 Nov 2018 09:30:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKOqI-0004xt-M6 for bug-guix@gnu.org; Wed, 07 Nov 2018 09:30:04 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <877ei9ypvh.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Tue, 23 Oct 2018 11:27:30 +0200") 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: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 33124-done@debbugs.gnu.org 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 for= 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! Ludo=E2=80=99.