From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sDr5B7O89WZpOQAAqHPOHw:P1 (envelope-from ) for ; Thu, 26 Sep 2024 19:57:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sDr5B7O89WZpOQAAqHPOHw (envelope-from ) for ; Thu, 26 Sep 2024 21:57:39 +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=eAdC2CRF; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727380659; 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=m35QRMxw0wqB+gKP8OKWWTEBL/JeIOeRQGnW4pCuyQE=; b=klb3myJ+FTYy6H1sQQ0Wk5ZbTwds0dK/LLyWpo5TRUTgPf5IfCT23EVmnBDtLtlVMI8N+k 61HeLyBIRhtBd4NhFe3l68geRMIQmV4MpIvvAkHX2IyDet9wk9bVIQDxWyt6l7gZ8Ub/Dw 3fNIpu1hLu0nBmzCEzWomc5Ab8H3Nf6S/l54C8WIy+9CNX7pJgCBCQVBHIivTlEIODakoV WM36iIYqq9yAJyqX/xes0npq+NdlkYm1wVqyRhfkUMy5Wcs+XBHA5k0uF+BoN4d9QPktGi 6mAH4JNqbKUyDNX2iQDmKGfj1J2z28P9bWVRhOF3UDOOOiG3/CNXbG0l4guxQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727380659; a=rsa-sha256; cv=none; b=UuWQMXhCW7bzmK24pja1+vC2GYwJqqqk1WjrIAQLj8iIaHOmzeuSciARqFnDBConr6fzjQ 1jjZuOsen5CG/YDrhFdkYbUmnp8M/0pOr5g4eKLaIQ+mC4j2bg9o1Ib6id4MwqOB2wtBYh 4D2FHvudfW1JMMOt4nlTbaT5m8ATP6eKsrmUW0bNK95f2S/fL43ULF4Ae7ydH3rhGq4pok XQy4ICAAtP+XRPHCiAHP1ii4VTdw6n5zEtgEjmWgUPTndaSJ24DkcnswPlzTKgr2RK644N IxmJzAiQV2rmisGTIzfEcoZJU/qPaPUjOLQDr7JQc4rgBQG50wajMrLz2wUHEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=eAdC2CRF; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 F1BAA82F10 for ; Thu, 26 Sep 2024 21:57:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stoN1-00020y-5Y; Thu, 26 Sep 2024 09:17:23 -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 1stoMo-00020Q-4z for guix-devel@gnu.org; Thu, 26 Sep 2024 09:17:14 -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 1stoMk-00037o-6D; Thu, 26 Sep 2024 09:17:07 -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=m35QRMxw0wqB+gKP8OKWWTEBL/JeIOeRQGnW4pCuyQE=; b=eAdC2CRFOf114t3JsDBx yKLQf++tkJfyomB3yM9HHveIbt7njZ1pYsiYV8wh1K7pDj4cv1aCuz0MnyrruX0E5Q24z4zoZRlgL +RhSABjEV+zvqGJX1ZGZd65VvAu7gs6SFF+NgTrXzEp7UinO6e6YKOGr18PkAdU6xI0em7ymaGYNF bGoHG3PfO+TrKqU6Qet5a2cPeRfQT8hRnwc33a4UrdxNtQkPEAJ5K2uyqAoKRe7GW5I3gXoTWA/hu RXdlDxKkb4wqE7twNNdhYtbA8g/WWOtvhuxy/Ulk+evGgy191uPsql2y8GCgPRafBpOMtEDHn+p73 mOEYqDVH2D1bAg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Janneke Nieuwenhuizen Cc: guix-devel , 72840@debbugs.gnu.org Subject: Re: [PATCH RFC] DRAFT doc: Add =?utf-8?Q?=E2=80=9CDeprecation_Pol?= =?utf-8?Q?icy=E2=80=9D?= section. In-Reply-To: <87ed5m7lma.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Sat, 14 Sep 2024 09:14:21 +0200") References: <87a5gbe9eh.fsf@inria.fr> <87ed5m7lma.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Vend=C3=A9miaire?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cheval 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, 26 Sep 2024 15:16:58 +0200 Message-ID: <87ldzeo8qd.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-Queue-Id: F1BAA82F10 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -11.27 X-Migadu-Spam-Score: -11.27 X-TUID: GUV/pPsyPlUR Message-ID: <20240926131658.wBRKmubdn7_FaJNkv6kD75fYCZs-XkP9tV9iGrNLUp8@z> Hi Janneke, Janneke Nieuwenhuizen skribis: >> https://issues.guix.gnu.org/72840 > > Thanks, looks good to me! As a side remark: It would be nice if > upgrading of config.scm / home.scm could be automated. It would be great, indeed. > Anyway, I do have a vaguely related question. The Dezyne package comes > with a `guix.scm' that uses a package description in > guix/pack/dezyne.scm, which uses `%gnu-build-system-modules'. > > Recently, %gnu-build-system-modules was deprecated in > > 28dbfdb38f52f5814fb4cba9c02831d2ab0dc079 > build-system/gnu: Introduce =E2=80=98%gnu-build-system-modules=E2=80=99 d= eprecated alias. > > 9e4ce281dbd92e3c52b831824ebb1f77023c960c > build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu= -modules. I=E2=80=99m not convinced this was a worthwhile change BTW, looking at the intended clarity improvement vs. cost ratio. > Although the `guix.scm' has a comment like > > ;; To use the canonical commit that has everything prebuilt: > ;; > ;; guix time-machine --commit=3D918b7d102c2051c3d6c6ba54c8d265affec5282= c -- shell > > > documenting a commit that can be used for building the package and has > substitutes available, usage of the commit is not enforced. After a > recent `guix pull', we now get this warning > > pack/dezyne.scm:69:20: warning: '%gnu-build-system-modules' is deprecated= , use '%default-gnu-imported-modules' instead > > and I'm wondering what the best moment would be to change the package > description. Upgrading sooner (i.e., now) means that a future guix that > has this deprecated feature removed will be able to build more > hystorical releases of the package simply by doing `guix shell', so > that's probably the best choice? It would mean that all developers have > to upgrade now (or use the time machine). Yeah, that=E2=80=99s always a difficult choice, and I don=E2=80=99t have a = good answer. What=E2=80=99s sure is that the deprecated name will remain available for a relatively long time, so there=E2=80=99s no urgency at this point. > but you'd have to know about that and it probably only works for the > Dezyne package. Is there a better way or should something like this be > advertised/recommended in the documentation? I=E2=80=99m not sure we could recommend one approach that would work for everyone because it really depends on the use case (for instance whether building with an older Guix is important for your project. But at least, by setting expectations, the deprecation policy lets users making informed decisions. Ludo=E2=80=99.