From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IJtIH3Ku9WZNbgEAe85BDQ:P1 (envelope-from ) for ; Thu, 26 Sep 2024 18:56:50 +0000 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 IJtIH3Ku9WZNbgEAe85BDQ (envelope-from ) for ; Thu, 26 Sep 2024 20:56:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=maUakHXB; dkim=fail ("headers rsa verify failed") 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-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727377010; 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:resent-cc: resent-from:resent-sender:resent-message-id: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=Jv1vt1ENqREk3oxrEcCtJFuI/+532ot6s3zY46IJjXdQpcaryY65fQr1z+VkFr3JnsZwZ5 CB1JaXDW2hiMGYKrATswzbmif22G9v6Y2N5IYZQN3WKWVZWuoRzBpQfKca3Tgp4fcLOzFg g+t+/6/Z+UmYLaLptoGILDEdmWXaYtblw4T6szU8prvbtQyeenTcNvnNES/3HCu5sGfQMW 37qhj0UOZxAar/H6SjKQMz9ijP9SyLntd4dbHmOT6qELt7DGhd42rSTK6/65Nh5sACSQ/X kOMnRG1o6y9Rm85cGxNz4/EwmSY8j7uGjbVwl6B77WLlGh5BO2Yz87yL3Rf33g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727377010; a=rsa-sha256; cv=none; b=uAcFWg95+AspiYz75NhBc2eapEx3swyjO2Tns9WgAh+/4r2QzVjhGbHbmvlvbNl1UBQ7PJ /HbfT3OQj3xPjuPVchxkwRU481hawa+fXve980ymM3DMIhruqtMGV02JJja9HgTQIdbXRr GT2QYFU0TJDDCkwqlqUFVnPfIRl6u8Y64djZ/F4vgysldY1Thcbj35F2q1Yn3O7o9R2Ey2 QlVgXtRGYF1mTNxc/PpDX+KEU7jskNfO3xuc7MKC+bXfvWiy7wVfts0F5W/RS3tE5rCmq/ 0gvJrTt7qX8irvK8p+7P7pYysXpBhYqj0MXJdWhg9OZfaGdPYQKafp+enZWwqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=maUakHXB; dkim=fail ("headers rsa verify failed") 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-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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 47FE5712FA for ; Thu, 26 Sep 2024 20:56:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stoNN-00021x-HF; Thu, 26 Sep 2024 09:17:47 -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 1stoND-00021e-Sn for guix-patches@gnu.org; Thu, 26 Sep 2024 09:17:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stoND-00039x-B3 for guix-patches@gnu.org; Thu, 26 Sep 2024 09:17:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=m35QRMxw0wqB+gKP8OKWWTEBL/JeIOeRQGnW4pCuyQE=; b=maUakHXBQvkiQB29pOkXjg5gWbb1mDddW/0PCM+5jaJGeaMb6iO4jWeC0Ur9M6ZjRfrOv/ZbEDYZLXKJnRXFsxEr33AJQGlCSVl1r3Pgeb+A/4VZlJCX3+4xLIOZGPEke1/Cl3XjtYDLrcvK4u8i1QyvKp8i17lHiY/FL5TuRxv57v7EI+sLB72cE8sgnsRcOMnRBLwrKp/Qqnr0As+CwtONJxlAmjr2ZfueTXtP2PqL+XAhOitYou2XJ1cywmR0S/nh0K0Cmvsgva1S/fzoBqUsimkDOKpGBFJh5PW2eei4k/owHrG25hpoIL0DbdVsni8fiXQvmrqTiaaMgCZBuQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stoNe-0007Iv-FN for guix-patches@gnu.org; Thu, 26 Sep 2024 09:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72840] [PATCH RFC] DRAFT doc: Add =?UTF-8?Q?=E2=80=9CDeprecation_?= =?UTF-8?Q?Policy=E2=80=9D?= section. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2024 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Janneke Nieuwenhuizen Cc: guix-devel , 72840@debbugs.gnu.org Received: via spool by 72840-submit@debbugs.gnu.org id=B72840.172735666328046 (code B ref 72840); Thu, 26 Sep 2024 13:18:02 +0000 Received: (at 72840) by debbugs.gnu.org; 26 Sep 2024 13:17:43 +0000 Received: from localhost ([127.0.0.1]:33577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stoNL-0007IH-F3 for submit@debbugs.gnu.org; Thu, 26 Sep 2024 09:17:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stoNK-0007I3-B1 for 72840@debbugs.gnu.org; Thu, 26 Sep 2024 09:17:42 -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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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,?= 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.01 X-Spam-Score: -7.01 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 47FE5712FA X-TUID: RvmFF+80gQX+ 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.