From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OOLqNmboVWUHdQEA9RJhRA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 11:01:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OOLqNmboVWUHdQEA9RJhRA (envelope-from ) for ; Thu, 16 Nov 2023 11:01:11 +0100 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 A114462470 for ; Thu, 16 Nov 2023 11:01:10 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RYBopVvf; 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=1700128870; 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=bjrXC0nekrsVfqkuf1xgHLUuZnhVNwYHx1N3an2Flwg=; b=poaaMYrRKegGDftmgDpd9sfZPI5ALH8oNOgCfHzehzCQ/GMUawAdoAbCRo3w95CI9qJImf mGzn6mDilLRIdyYrv1FfxQDf37HSu+9Tfk9PMTKq8GGVns1bkKkiAHh0NtncGRZveKhvnD 04fQ/a2A+7WusfPCC/Xmtf7oF+N1bJ08UVZshaKfSYtcxYhbc3E11gUsHfZ9b80W1eVtqT YieQt6ibnUQTkyKKwaGkkZFiWqCtyxciGyqHNJEO9uaIYGGQ0HtODD6f6hf6041fB98Q2F sqgZqlbTRl1RoSnEj9Of7Uz+kbA7SOTrJtfbNjjl1m1gOT+eLIEve5yE7/zBtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RYBopVvf; 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=1700128870; a=rsa-sha256; cv=none; b=mHluBCz3GUK4p3BsubgU6FFsT57vLhP2LaxXIim+EO8And3Fufl8tQRA2goDw4PAnD8Xp4 R3R10Ncvk8+0shX5ZkSE3LFDpYDuXAjSU4f0yGQNN+82hGGKQARTzukk69e9pxKQuwNKiU /MtqbE6ybJCoeQdCYc+twSbUlEIn3fKdy4ydJE+7ZjWIzFQD+rSVqq7+KQEQmmk7RXB4Xg xJXLu20Vm+qSPDV7NVbpjAFjX7Mk3GQjpoA+4080XFrxTetfhC/MAp+LRjRb7+9XcPjsZ/ csSb7thfh5RxIM8ucG0MLusneTQDiTjTJeP0nYx3m+M2Ukqe0u3Tlm7V6EfQTw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3ZAm-0004Ss-RX; Thu, 16 Nov 2023 05:00:32 -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 1r3ZAW-0004Rs-Tw for guix-devel@gnu.org; Thu, 16 Nov 2023 05:00:17 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3ZAU-0002wU-Vc for guix-devel@gnu.org; Thu, 16 Nov 2023 05:00:16 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-408434ce195so1597095e9.0 for ; Thu, 16 Nov 2023 02:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700128813; x=1700733613; 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=bjrXC0nekrsVfqkuf1xgHLUuZnhVNwYHx1N3an2Flwg=; b=RYBopVvfS38MmzXatwmVOLAEF0WnrGKdQ2x3/pLmraHEs0QizHS/qMhmWX+7HgI/Ve bpHb5L+ssSpM57XQTSmRCuYplp1xTHClDoY1hIphGxrmBZgZfVzHNKtl01B5YBGtqoCA 8BrmcN63eIYBeX3COLzr0zO5pQfRBEsZ7PNnnRhU1s5LFUMTQY6y+eMf+d73+ptiDtDH TN3vChQy7l6LTRY8VcuVxIWjSNfGfsHSVY00XYIfOJoS09hHM8in8mMneAWfcGP12VbV C8D4tOTQsTiSktAJ10xbPs6EXP0K/DaHUv6n0mn4urtDVUFJRWehgZcxxzPT5tMjg4JS eVEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700128813; x=1700733613; 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=bjrXC0nekrsVfqkuf1xgHLUuZnhVNwYHx1N3an2Flwg=; b=CgKQ4q4W+cSwRW4ee2iXTy/Vc/HO6u/ucS3eIc7/Dg+pw2PWIjQKSTRI40Axu6zGh0 bxEJi71tMYuvOYnAxEeXhAmAhDNF7jiRGuTdZXnY9OytT8eGuyKvlVswJGH1s0tRAVTV vI7bvCCbRxemBDKnb/sIdNjeniYj84ugR3LJXZV+KroOdWR5tp8oPn6Wj+jQZamicUjS aHT639OULYeos+sCog5N3MR6ZTubIuotBAmNUMmyL5A4sovqck1mBxH0EIRFBAxuDd4k usYX2W38U75iqb181H9o4ApQWatN9tIjfJq9xvAHtrnphC+87sENWt67YLlnEdVSOWO+ Ts6w== X-Gm-Message-State: AOJu0YxOZJ/EsFglVF5LmP3wmCljNa19rOMyWYup5NubpLfJCo/f5fUB IVk2tdC4LkPW35pk9BBvAfE61JYEWi4= X-Google-Smtp-Source: AGHT+IHx49vK+gqtmdyGsodbK/VYEWAdMSGJMmIBwwX1iFf98sGDVigvljeKMLFpuE2WtsMjsoeVrQ== X-Received: by 2002:a05:600c:44a:b0:401:c07f:72bd with SMTP id s10-20020a05600c044a00b00401c07f72bdmr6119447wmb.4.1700128813401; Thu, 16 Nov 2023 02:00:13 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c20-20020a7bc854000000b0040a43d458c9sm2862796wml.25.2023.11.16.02.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:00:13 -0800 (PST) From: Simon Tournier To: Ricardo Wurmus , guix-devel Cc: Christopher Baines Subject: Re: Building and caching old Guix derivations for a faster time machine In-Reply-To: <87o7g29c94.fsf@elephly.net> References: <87o7g29c94.fsf@elephly.net> Date: Thu, 16 Nov 2023 10:59:21 +0100 Message-ID: <86h6lmvx1i.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::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.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-Migadu-Spam-Score: -6.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: A114462470 X-Migadu-Scanner: mx13.migadu.com X-TUID: NMC8nDX0amGB Hi Ricardo, On Fri, 10 Nov 2023 at 10:29, Ricardo Wurmus wrote: > to me the biggest downside of using =E2=80=9Cguix time-machine=E2=80=9D i= s that it has > to do a lot of boring work before the interesting work begins. The > boring work includes building Guix derivations for the given channels, > most of which have long been collected as garbage on ci.guix.gnu.org. > > It would be helpful, I think, to more aggressively cache these > derivations and their outputs, and to go back in time and build the > derivatinons for past revisions of Guix. I would expect there to be a > lot of overlap in the produced files, so perhaps it won=E2=80=99t cost al= l that > much in terms of storage. I agree. And it rings a bell about a discussion on the private guix-sysadmin mailing list, subject: Backup for substitutes. Back in 2022, Alexandre from Univ. Montpellier was proposing to store the artifacts the project would like to keep for a longer term. Well, I do not know what is the current status. That=E2=80=99s said, I am in favor: 1. keep all the derivations and their outputs required by Guix itself. =20 2. keep all the outputs for some specific revisions; say v1.0, v1.1, v1.2, v1.3, v1.4, and some other chosen points in time. About #1, it will help when running =E2=80=9Cguix time-machine=E2=80=9D. A= bout #2, it will help with concrete issues as time-bombs when running =E2=80=9Cguix time-machine -- shell=E2=80=9D The questions are: which server? who maintain? :-) Cheers, simon