From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2FVTFUnZdWXBjgAAauVa8A:P1 (envelope-from ) for ; Sun, 10 Dec 2023 16:29:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2FVTFUnZdWXBjgAAauVa8A (envelope-from ) for ; Sun, 10 Dec 2023 16:29:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b="Rx+JS/Py"; 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=reject) header.from=laesvuori.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702222153; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QcasCoNkkAkk5tb2Yw9hXnme+3Tj7fqdX4/mHzYZUq0=; b=DFkKMGBf5aMcc6onz253e4bbo0nNJjJbA7wZcrnJBdcag58+sh4wYWHNF1WrxptL3MJq3k CSelAWXwtDEdxh8wkfEGWurIC9ouheiM9dSk4jzlkEwBK5L2LzWD+JuuFipLHwH++nIk67 SRPpiQDOyCzygd4zNC0JdKw3beVi5dqp51IPLgsAP0JyLWndGoIykxJJTt0AHD9D82eSb1 uWJf8v0XvKwE1lVRW4EIls2dwaY/rtMNjeDucKRjBGKGynvicWOuEjAumyf28urjgnT70g PNguI/om6V3M/UxwMN7YR6n+shGLETGi/a9MqaAttxU7BA4AjJ9jriLgLFDxlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702222153; a=rsa-sha256; cv=none; b=Od0Y9/UdyWLOUjYHei80XypdNRRX6qbamiCjCJQ0FJLj0/tjhtzYU42wQaajA+JTtDyNoM ooHu8WNmaDGWqCCNJEAzHuY9nqLrnhJ9JvmZONWjTcI632hGZr1Th2S5+reEKI2/WQ7LZ4 P/naa+QazuF3JBV0vsX4uolon5W3wzVdyuO8vEN9/EAFwEMnvNc/Uyg0RUDMAz1r/65KhX RNqIEHAUWnD3YWusia8GGMTdHM+8at+RpxXb24en8D5e0QKMwF8h5g3roKOoXKeao6cGa8 3IyXaVWFRAsEaIsy3t0rq6n4+owhCYXNSrGOBEkwI5WSCsuzcPKJjMe2K5O1IA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b="Rx+JS/Py"; 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=reject) header.from=laesvuori.fi 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 1A1486546C for ; Sun, 10 Dec 2023 16:29:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCLjB-0000aX-Cu; Sun, 10 Dec 2023 10:28:21 -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 1rCLjA-0000aP-Mt for guix-devel@gnu.org; Sun, 10 Dec 2023 10:28:20 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCLj8-0005vv-OX for guix-devel@gnu.org; Sun, 10 Dec 2023 10:28:20 -0500 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 9925F340121; Sun, 10 Dec 2023 16:28:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1702222097; bh=QcasCoNkkAkk5tb2Yw9hXnme+3Tj7fqdX4/mHzYZUq0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Rx+JS/PyUUgMw0KBUny/+ggyJ25dx6/hLUUviFFfpbQEwhrNirxj0g3VM4HyM/B8y VahAU7DKud/7iKmSnaiL0gz535G0QfwAik6ree317zp6ckf5DNjna28rm0vQfqkc3w 78wEdfUm5VAV2uzl8UBtInkiYoxxqzhOI1wyC6YA= Date: Sun, 10 Dec 2023 17:28:10 +0200 From: Saku Laesvuori To: Liliana Marie Prikler Cc: guix-devel@gnu.org Subject: Re: Should commits rather be buildable or small Message-ID: References: <6bcc9412f092c20fbd7f8326dbf91e90cef0eed1.camel@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hlobky2kqs4of5gv" Content-Disposition: inline In-Reply-To: <6bcc9412f092c20fbd7f8326dbf91e90cef0eed1.camel@gmail.com> Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi 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, SPF_HELO_PASS=-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: -8.97 X-Spam-Score: -8.97 X-Migadu-Queue-Id: 1A1486546C X-Migadu-Scanner: mx12.migadu.com X-TUID: aCaxf4eLK8it --hlobky2kqs4of5gv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hi Saku, >=20 > Am Freitag, dem 08.12.2023 um 10:42 +0200 schrieb Saku Laesvuori: > > Hi, > >=20 > > I'm planning on refreshing Guix's haskell packages as my fix for > > https://issues.guix.gnu.org/66347=C2=A0requires rebuilding all of them > > anyway. Should I try to keep commits small with only one update per > > commit (which is more work but managable if I don't care about the > > commits being buildable) or should I try to keep them buildable (i.e. > > update everything in one commit)? It is quite certain that most of > > them will not build after updating ghc or a subset of their > > dependencies, so making many small commits would cause nearly all of > > them to be unbuildable. > > Define "buildable" and "unbuildable". I used these definitions: a buildable commit does not have build failures (or at least no new ones). An unbuildable commit introduces new bu= ild failures (in this case a lot of them). Buildable commits are safe spots to land on with time-machine in the sense that the packages defined in them can be used. I expect it would be very painful to try jumping to past commits with time-machine if a large portion of the commits in Guix were unbuildable. > Depending on the context, it may be fine or even required to break > dependant packages for a short while and update them along a longer > series. I guess "required" here means that in some cases Guix's policy is to prefer small commits over buildable commits (with the previous definition). I at least don't see any technical reasons why it would be required. The question then becomes whether that policy applies in this case. > However, in each commit at least the package touched in that > commit ought to build. This should, of course, be theoretically possible with at least one update order but I don't know how would I discover that order (more efficiently than by trial and error. I don't want to try ~800=C2=B2 differe= nt combinations). - Saku --hlobky2kqs4of5gv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmV12QoACgkQJX0oSiod OjJs4g/+NIgI3eANmgZG13zQUHOy6Eryj4Ldll2Uk3XyTTCuTqPoPiQMtjBuTjy8 mRVKZTH6Kv92GWYP++1BQRBTmtMzW2pQjeVvuJzzhOI68gliZ2XcNlrv+FWb5FJB bKslM5054yN6hC8A98/Q43W27de3VIG1Qv6gCpoxRhaPA3rEF1FfoycGa0123jH9 2cKf3t9v9fbJawdDapU6m3F/fL5s5+BqzhNCT40b9y2aR1I2bVwinsfF+coaVu9I XHcLipdDCdFKuBJjx3s7McrjZck8oA9SkGcTi4//xnCvSlcIhiEsYhsj21/vRxZQ /3mi45Ivm57mgWjMniRlQo+ZcGfgW01tFAhwAF7OwhlFrW0sOn4wKkdNYRI3kMxt c1dRJqyuwsK1m3b/10tiakHN7tVWwj+7aHhQBM3mDDCrhsG4VEIyXCQPjCnSCvKy wWagk98SUz/5tfzQB9QXCAXtbxK0SEARUjQjjWPt4JFNAQDq8wShileIjm5AHhmP lDslMZiYSovdhIKJVx30C+u232rGA62qPJcQkhVvLIoYUapRKIgeWmP+clsxCVSc WCltA/+L+0dVejMqQ+/p6DKRLLrW2JrFv030G/EJFN5jEG5+DEHSICMGCVQt0ROB oLd1qVoDIakBA2+iiSWdbFw4dj0SgXhXMPRyyKZcufcSTRnDl+c= =Ok+H -----END PGP SIGNATURE----- --hlobky2kqs4of5gv--