From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UOINOAI2oWUddwAAkFu2QA (envelope-from ) for ; Fri, 12 Jan 2024 13:52:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uF7PMgI2oWVsQQEAe85BDQ (envelope-from ) for ; Fri, 12 Jan 2024 13:52:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="SwI/9hve"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705063938; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ejyDOgVcwB+KJ7Mg7rY7nXegoN7QRtwr/wpscPJVX8M=; b=hn9B8oJ9PjbjryQnIpyXBsKGPDm8I0Cjgzlo1+tU4v7xSXU1dOKq7JUJRRfkLtLoOVRsky tmwIv5r1RGsjtisKiqdeOGb11IU1nAn/o+hW5fTSrWArszEhYxt1hUyhkxVRJWpHkjztEU vBkWyMi2x+wzzO7hSJ1lkaAUZB0lG9LZDvegm+hdjE1aHuCxCV9wr5CmBuc473TS3WCNAp aCKb4udN8qntMAIFyvR1aBBEZwPSLBRYmfB+NuAWIQSrL4UGVj3fq/Ejiy7N84xN9V55Ep wq86crj5iRM683AJF5UwvteIq8M6FogxK3r1a4ndFHHaMXjpCqt65B+n21HUQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="SwI/9hve"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705063938; a=rsa-sha256; cv=none; b=T8s1fYuAnSxPBvpWbKeXaAB1vOE/2C1AKW3rjG6o5MLel2rbvT071uA9Ujhk6V/C95xvI0 QHBO8VglgS4NJ6w2i+p8ST87qUQ6sKDaNQ9nDs9h4/Y8LzMyBJz2XC7L3EbOxO1IJxLOs7 gppLolm/ufYzLV/tNm6Wf8l5rY3zwciu3SkHqIYnMgdWaikvGBPpM8pwj7/RiRfVqdUotC N9EW7ZikY6fSDxdnFuYpWD1nTW6px8UvfrAfCPLX3PuwflLrb1wLqksNEv4M8o+pxyKEIc 5x8fuFmRefj0Qx+sXVGuVCwdXyQ7cToePo+ZfM1/VhwNwMSM7OJ8JXJzJ5J58A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B9A2062A2D for ; Fri, 12 Jan 2024 13:52:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOH0b-00052W-I5; Fri, 12 Jan 2024 07:51:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOH0P-0004zY-4P for guix-devel@gnu.org; Fri, 12 Jan 2024 07:51:26 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOH0L-00048H-Dy; Fri, 12 Jan 2024 07:51:24 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e60d74b81so935995e9.1; Fri, 12 Jan 2024 04:51:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705063877; x=1705668677; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ejyDOgVcwB+KJ7Mg7rY7nXegoN7QRtwr/wpscPJVX8M=; b=SwI/9hvenK6aHofHuMAWpa8Mc6SX+ps4nHQ+FVO7Y3R5TUcAVyq328PcT+7McC5+ry J2c4sMf05hV8U2npSicHOPVRkklHc31tnWmrM9SvJ0XTjinvOlTmBX6v9+LayGsgG8Bt PECJeMWlgudlfBLQEoeh2H2/eQrG04irfbAFxJJ37AFFXK89WXhOWo6iW7u70SJtnkN0 quEaHTvsSdSqPx0ucZD+XRU8ohcQb7a/+AiFcvBYNh5cspdo3X+aSunL3TnqJe4lCw9z gjvWk7Bk9RnGeBcXqan9AyJlgrm4qRYzKuaN8MGdP5AjwwJSfYuLvqOFj9dWWB3VE1GW s2uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705063877; x=1705668677; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ejyDOgVcwB+KJ7Mg7rY7nXegoN7QRtwr/wpscPJVX8M=; b=ikuXKsqSK3QRJfmVoy/RFF8YHgahombou5gCo6yj5VzKtP4umzSb6fnUVaR7JOvzl9 e1iq3LL+ZLwTmgtcDZrqT/9k9uewU/BxOELnlEAm5lzYyt+8zY/ndkgK7ExILK7ZqmB5 nxqvZ1d+CY/B+CpYJz7thapsB0XaN02org07Qx74Q7SqmiyH9avvdoFz4TgvGFc7f9/e vEThqSJ+0NLYaCCBrvDIyDSiCx3upWwBQUoo0w3yei2ipa61V59XIhVCr6jVvLX4Zp/X L7UQJhsr4iuRXrmwcKkBhSzMaYzcUZhirxgDwrGYyBLOOiuhibXTtPPh56w5oKxp1VC4 Hhcg== X-Gm-Message-State: AOJu0YyRV5bnjsCARvkbYhUdm/CHYClPD2nwbVaKrgn1RbOs/zPwLzr8 IkzamEjEDLx+vAcO724QVmlErLyW+W8= X-Google-Smtp-Source: AGHT+IE+r3yS187HauiMUReELZTdAtuoegKt3+G5Eho2pLtYVSz9rB961NpQiNWHhHSL+khs9b6gUg== X-Received: by 2002:a05:600c:510b:b0:40e:6665:79a0 with SMTP id o11-20020a05600c510b00b0040e666579a0mr1016093wms.0.1705063877491; Fri, 12 Jan 2024 04:51:17 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w4-20020a05600c474400b0040d5ae2906esm9596605wmo.30.2024.01.12.04.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 04:51:17 -0800 (PST) From: Simon Tournier To: Maxim Cournoyer Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus , guix-devel Subject: Re: Building and caching old Guix derivations for a faster time machine In-Reply-To: <87zfyv4bgc.fsf@gmail.com> References: <87o7g29c94.fsf@elephly.net> <878r6xu2pe.fsf@gnu.org> <877cmfd6tm.fsf@gmail.com> <87h6ldiqyh.fsf@gnu.org> <87plzsr019.fsf@gmail.com> <87zfyv4bgc.fsf@gmail.com> Date: Fri, 12 Jan 2024 10:56:29 +0100 Message-ID: <87jzoeyiwi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.84 X-Migadu-Queue-Id: B9A2062A2D X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.84 X-TUID: dsdFq8Xv82/s Hi Maxim, On Thu, 30 Nov 2023 at 08:28, Maxim Cournoyer w= rote: > I'd like to have a single archive type as well in the future, but I'd > settle on Zstd, not lzip, because it's faster to compress and > decompress, and its compression ratio is not that different when using > its highest level (19). When running an inferior (past revision), some past Guile code as it was in this past revision is launched. Hum, I have never checked: the substitution mechanism depends on present revision code (Guile and daemon) or on past revision? Other said, what are the requirements for the backward compatibility? Being able to run past Guix from a recent Guix, somehow. >> 1. Keep for as longer as we can all the requirements for running Guix >> itself, e.g., =E2=80=9Cguix time-machine=E2=80=9D. Keep all the depend= encies and all >> the outputs of derivations. At least, for all the ones the build farms >> are already building. >> >> 2. Keep for 3-5 years all the outputs for specific Guix revision, as >> v1.0, v1.1, v1.2, v1.3, v1.4. And some few others. > > That'd be nice, but not presently doable as we can't fine tune retention > for a particular 'derivation' and its inputs in the Cuirass > configuration, unless I've missed it. That=E2=80=99s an implementation detail, a bug or a feature request, pick t= he one you prefer. ;-) We could imagine various paths for these next steps, IMHO. For instance, we could move these outputs to some specific stores independent of the current ones (ci.guix and bordeaux.guix). For instance, we could have =E2=80=9Ccold=E2=80=9D storage with some cooking ba= kery for making hot again, instead of keeping all hot. For instance, we could imagine etc. :-) Well, I do not have think much and I just speak loud: Cuirass (and Build Coordinator) are the builders, and I would not rely on them for some NAR =E2=80=9Carchiving=E2=80=9C, instead maybe =E2=80=9Cwe=E2=80=9D could put s= ome love into the tool nar-herder. Somehow, extract specific NAR that the project would like to keep longer than the unpredictable current mechanism. Cheers, simon