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 yPscFT8i2mbWKQEAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Sep 2024 21:27:27 +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 yPscFT8i2mbWKQEAqHPOHw (envelope-from ) for ; Thu, 05 Sep 2024 23:27:27 +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=LNZDhH7z; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mzh6LrLp; 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=1725571647; 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-to: 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=GKdoQjQuacinu7t9UWF4yEeZ0/sN4LxykfmR+Y557k4=; b=QHoY0+2T+Fp6GXAdP4xSN3tUgfdzNqmXVD0G2tSKmQ4llJkkiF39reHEUmVg9zDOVtT6dh 2d9X/5whzFdQMnqK6xUY5LCcK14F5VE8XvoU6r/+NR/CmVPC9fI9dcn7VyIBBB0yxhxm5T 7vZZxC1kdC0g3YPF/+j7vM3CXNDC/qs0Vf46EWdYQkYgtXILm7tZpFWys+OBUyf/7rCy/0 1wzcmay3alyxHpJrnBHV+Mq1ONUsICHP5a4ZVkqQdfE8yUjJnRHJv+OAWIloKLj91SqM7J V/Ok8/0/ulRntHLHISLWLCgSTDrhq4ISh9A3K8P1tMc0DGSGS8rcq0tNt3D7Lw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725571647; a=rsa-sha256; cv=none; b=sLfSg9pt+CzZnpwrNeJSiL/1nlO1uMvM77N8xix56VCABgWTFw8rP08Z8FIHnAgqH166Hb 8VUaAnlNfuOy0VUsnGznobW7M4aXkjQhWQYrtVWY5kdUTd1c/a8EjCcUC6iSuHw68d+i0D P0T5PdcRRT7sLadNF5uOuMOxsfikxTDcOMoPz3dNPm2Rq4geZHXNTv3wfEY0jogutjYlit YrE7Prsx2aVh0041qWgoK4YURC8FaABM6yxVshExIR9aFhUH22pwsrBjpYCjndsWF9WxI9 FUSCbrwWF9rkZfrK/P1Je1ukxGPjxHSqTkj3jzMSBomcnw6KAmsYjmhh8e5+SA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LNZDhH7z; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mzh6LrLp; 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 8BF9265703 for ; Thu, 05 Sep 2024 23:27:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smK0L-0006fy-90; Thu, 05 Sep 2024 17:27:01 -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 1smK0G-0006eq-R3 for guix-patches@gnu.org; Thu, 05 Sep 2024 17:26:57 -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 1smK0G-0002AK-H8 for guix-patches@gnu.org; Thu, 05 Sep 2024 17:26:56 -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=GKdoQjQuacinu7t9UWF4yEeZ0/sN4LxykfmR+Y557k4=; b=LNZDhH7z7iDlEdb7Z1lDhySEbiyqT73bm6FEjVtGL96wGUJ9bqw3fzOF/3dn7p67UBVMxowTJ5UFbjKbf9E8yMllH2N3543tYU/tka2hZ9/N5P5wtyzhhZqk6cGcAJSCEDxycgQC6Ig5qG0afAiBUAMC7orXlWqdMLBxlMsy3037SGCWCFhoyp2Iy2Ac0e/+9KKdXrz8M+YB8dqP+0SJLRppoVoUIUi8Fzxr9ZCkySR1laXeXAn3v7VrKfwq10iJsQ1J2cgqGQNRvYDjpq1XFP8SBlb9CgDwrK2BK8hA8dRzsDheUkm6erPQDPJw06gP/Bppb+42+Iqh2Zs2SUTqsQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smK1J-0003d5-VS for guix-patches@gnu.org; Thu, 05 Sep 2024 17:28:01 -0400 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-To: guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian (Florian Pelz)" Cc: Matthew Trzcinski , Maxim Cournoyer , 72840-done@debbugs.gnu.org Mail-Followup-To: 72840@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 72840-done@debbugs.gnu.org id=D72840.172557166513859 (code D ref 72840); Thu, 05 Sep 2024 21:28:01 +0000 Received: (at 72840-done) by debbugs.gnu.org; 5 Sep 2024 21:27:45 +0000 Received: from localhost ([127.0.0.1]:38404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smK12-0003bS-Pa for submit@debbugs.gnu.org; Thu, 05 Sep 2024 17:27:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smK10-0003bD-1t for 72840-done@debbugs.gnu.org; Thu, 05 Sep 2024 17:27:43 -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 1smJzp-00027f-Vz; Thu, 05 Sep 2024 17:26:30 -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=GKdoQjQuacinu7t9UWF4yEeZ0/sN4LxykfmR+Y557k4=; b=mzh6LrLpUN61vU/y1bWD zDLg9cOxgLJSVjnxhlaHbAeaplLcKTOVdrwAk7XSAowCFlGSajeI4cPtRP0EO0/Ip43Q9ZLqo+k/1 colxLaTnmXPkgaIrJSmNNkcP8wLc/zmHy2qEMj3tDCPjP8WhXP1WW7CaRKFe+azzkyWvmNrzksWMp 1CU+7gF06gml605XkMPXu3IKdhEJZa9Lm+/ypbkdzOKio5NfyBso8uUzmeT5up1dXyBtzCnIobOIz NJDs3XyA8Xwaot5XIhBrQsm9cFcOZrOdB9+u/7uduyzeon+AEubtE97DUN6T89UoKk9PulyIRtwJT Gh5z55RZ5Msj5Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <877cbunuf7.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Mon, 02 Sep 2024 13:53:32 +0200") References: <80f8b603ecd73cb9f46b1ea43797e143f16d2f17.1724785788.git.ludo@gnu.org> <877cbunuf7.fsf@pelzflorian.de> Date: Thu, 05 Sep 2024 23:26:25 +0200 Message-ID: <87frqd6bcu.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.59 X-Spam-Score: -4.59 X-Migadu-Queue-Id: 8BF9265703 X-Migadu-Scanner: mx11.migadu.com X-TUID: FIyWCrL5jVAJ Hi Florian, "pelzflorian (Florian Pelz)" skribis: > Hello Ludo. Having a deprecation policy clarifies things. Thank you > for writing a good one! Thanks for taking a look! >> +If the package being removed is a ``leaf'' (no other packages depend on >> +it), it may be removed after a one-month review period of the patch >> +removing it. >> + > > Could you also reference this one-month period in the Commit Access secti= on, > where policy is one or two weeks? Sure, done in v2 (sent separately). > Thinking of package removals for security reasons, it should be > clearer that this one-month period applies even in this case. (IMHO > some period should apply. It is the user=E2=80=99s decision to use softw= are > despite security problems. We all know web browsers=E2=80=99 security tr= ack > record; not everone puts the web to use everywhere, but Guix > thankfully does ship web browsers.) Indeed; I tried to clarify that in v2. >> [=E2=80=A6] >> +@cindex deprecation of programming interfaces >> +@item Core interfaces >> +Core programming interfaces, in particular the @code{(guix ...)} >> +modules, may be relied on by a variety of external tools and channels. >> +Any incompatible change must be formally deprecated with >> +@code{define-deprecated}, as shown above, for at least one year before >> +removal. The manual must clearly document the new interface and, except >> +in obvious cases, explain how to migrate from the old one. [...] > This cannot be an absolute truth. It is not always reasonable to make > changes bacwards-compatible. For example, the switch from xz > repacking to zstd repacking in recent core-updates did break > guile-manual in doc/build.scm and perhaps did break outside code, but > it was right nonetheless. Also Guix is in one big guix.git repository > so that we can make changes. Yes, I agree. But note that this paragraph is concerned with programming interfaces, which would not cover the case you describe IMO (though I understand this is debatable). I thought about changing =E2=80=9Cmust be formally deprecated=E2=80=9D to = =E2=80=9Cmust be formally deprecated [=E2=80=A6] unless the cost of doing so is considered disproportionate=E2=80=9D. But then it sounds like inviting Guix developer= s to put their own interests first and significantly weakens this deprecation =E2=80=9Ccontract=E2=80=9D with users. Maybe there are other ways to phras= e it? Also, the section ends with: > This section does not cover all possible situations but hopefully allows > users to know what to expect and developers to stick to its spirit. =E2=80=A6 which in my mind would cover situations like what you describe. WDYT? Thanks again for your feedback. Ludo=E2=80=99.