From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6E0jBrjRYWbTXwAAA41jLg (envelope-from ) for ; Thu, 06 Jun 2024 17:11:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eM7yArjRYWYKQQAA62LTzQ (envelope-from ) for ; Thu, 06 Jun 2024 17:11:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=bEeVpJ6M; 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=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717686711; 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=yhnvu1kbP3w3cvvZMYgb9eHJLyItJX6XEo7EYPrrgu0=; b=oL8K0VvEDhICVUboBahZNAUGbdb3HbhBKQ6CP8Xs1KRlnMgUzMPXjW9RcvjugbxOa9ikQK UFEvMhTMMVLDL8LdbFLVH8eGBs11LnfPAJuVhAqpd2SIW+Him9gUxq7A9Q5vh/vU2mBI9n GBFxHwRej314iGsrwCj8UhD/p0CaEMFkglxyoovfZ6RU3NPw8ljC23qlpJZvgCqT37YPAS bfKI2/IwpFM/8WETuUbkJ/raL0rvzK1aiQsNDsiij1NNNP7hGRh4ZQY+KuKQ4sBFELjRoT 89PfX8X+j18RbAEMZJnbN6zCcLuqx/nrHjYkqWr8M8LkPG90JMCIaFBZBiR+0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=bEeVpJ6M; 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=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717686711; a=rsa-sha256; cv=none; b=uCort/or0z6ytrZJ0rj+ShXxE2bxqhD2ftMOXTAzPrqzohuxPjNRGtJJkelFTgjBbABNkd VDu+cMUJ/sAVLA3Det/oqVqdPFXUkoR/YZi1dbjPo8GQP3hujTjMFJqOpB7OsPZ6kS0r+J 4DDgTV4W7uU9YWDY0AWeBYsk4eU6A1f/4EBt/C+QS/X6UCPDOWuB/jCtaXq1dg6ZctmXuS kZrZ2allcZ7uwQ+DLyS2sv0WMIGcaAa9rbdp+gIqdHyqYIln8CMbH4oChLowlnOBzSvt9i uj1vFnoU8YP5XkApVC0YCSypeJPhsfhEnZLNr7NIPzlpuOtmPqhc1VciYrvgDw== 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 D0E6265E85 for ; Thu, 6 Jun 2024 17:11:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFElm-0000Bk-2g; Thu, 06 Jun 2024 11:11:14 -0400 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 1sFElk-0000BT-HQ for guix-devel@gnu.org; Thu, 06 Jun 2024 11:11:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFEli-0008Sr-SD; Thu, 06 Jun 2024 11:11:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=yhnvu1kbP3w3cvvZMYgb9eHJLyItJX6XEo7EYPrrgu0=; b=bEeVpJ6MhMhGklDW/mkZ wYNSDTO4eDTpWtuf1ZAgaBezX0nf7RK77n9zWHEOjqf/6qv9b7STT0NAY1LsPmb2ZcVsvGMWC7MzU ohN6h4iJl1LidSajgWe6gdweSQ+eDZ7TAOaSvnqO5q8mbzy5gMDDTj3Rt4Jd3poI+wlzLTuWJAaUU KJjSfRw2T7PQOdt6fX0ebeR3cA2sIe08lo6MYhGr6FXtU9ulViCvecRS+yNLqC6WkSBxZRfYuz90d ERdg3bgQqH46xO7CDuFyGMb0CmoTMr1XmD2MolF83I6NLnQ0HMQ3OjrHIyUyeGM5mnchCJymw/PcB /CCn6iKL9ArnAQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Richard Sent Cc: guix-devel@gnu.org, jbranso@dismail.de Subject: Re: Improving the speed of guix time-machine for development environments In-Reply-To: <874jabdnwc.fsf@freakingpenguin.com> (Richard Sent's message of "Sun, 02 Jun 2024 17:40:19 -0400") References: <87cyp8rp2s.fsf@freakingpenguin.com> <87zfs4pzs8.fsf@gnu.org> <87ed9g9157.fsf@freakingpenguin.com> <87jzj7jccn.fsf@gnu.org> <874jabdnwc.fsf@freakingpenguin.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Prairial an 232 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Tilleul X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 06 Jun 2024 17:11:04 +0200 Message-ID: <878qzi3y47.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -11.10 X-Spam-Score: -11.10 X-Migadu-Queue-Id: D0E6265E85 X-Migadu-Scanner: mx13.migadu.com X-TUID: 57el90yVLCJN Richard Sent skribis: > 2. Less maintainence burden to regularly update pinned commits, > particularly as a channel dependency tree grows. > > I feel that soft-pinning strikes a balance between those two goals that > is useful when dependencies on a frequently updated channel are unlikely > to break between commits. > > Elaborating on 2.2, consider a dependency chain that looks like > > _______ > / \ > / v=20 > Guix-->A-->B > > If B hard-pins Guix to "foo" and A is updated to Guix "bar", B needs to > update their hard-pinned Guix commit in channels.scm to >=3D "bar" to have > a functional development environment again. Alternatively, B could > hard-pin A, but if A is a channel the developers of B control they > probably want to always use the latest version. > > Now you're in a catch-22 situation of "Do we hard-pin Guix in B and > manually update it every time A's requirements change, or do we not pin > Guix at all and deal with regular 5 minute pauses during development?" > > As channels become more popular and dependency trees grow, this'll > become even more annoying. If B is only importing a couple Guix modules > that are unlikely to incompatibly change, it's basically wasted effort. I see. I wonder if another mechanism I suggested could help: https://lists.gnu.org/archive/html/guix-devel/2024-01/msg00201.html Especially if the channels.json is published by a CI system. Thoughts? Ludo=E2=80=99.