From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
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 <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; 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 <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; 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 <larch@yhetil.org>; 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 <guix-patches-bounces@gnu.org>)
	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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>) 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?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Thu, 26 Sep 2024 13:18:02 +0000
Resent-Message-ID: <handler.72840.B72840.172735666328046@debbugs.gnu.org>
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 <janneke@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>, 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 <debbugs-submit-bounces@debbugs.gnu.org>)
 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 <ludo@gnu.org>) 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 <ludo@gnu.org>)
 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?= <ludo@gnu.org>
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: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=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 <janneke@gnu.org> 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.




From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
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 <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; 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 <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; 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 <larch@yhetil.org>; 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 <guix-devel-bounces@gnu.org>)
	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 <ludo@gnu.org>) 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 <ludo@gnu.org>)
 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?= <ludo@gnu.org>
To: Janneke Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>,  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."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=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 <janneke@gnu.org> 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.