From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0OJaHzPCWmHBLgEAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 10:58:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oG31GjPCWmHCBAAAbx9fmQ (envelope-from ) for ; Mon, 04 Oct 2021 08:58:27 +0000 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 27D3A2BA63 for ; Mon, 4 Oct 2021 10:58:27 +0200 (CEST) Received: from localhost ([::1]:53002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXJnm-0003xJ-7Y for larch@yhetil.org; Mon, 04 Oct 2021 04:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXJVy-0004ZF-SP for guix-patches@gnu.org; Mon, 04 Oct 2021 04:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXJVy-0004v5-KS for guix-patches@gnu.org; Mon, 04 Oct 2021 04:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXJVy-00089b-H6 for guix-patches@gnu.org; Mon, 04 Oct 2021 04:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Oct 2021 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163333678231311 (code B ref 50960); Mon, 04 Oct 2021 08:40:02 +0000 Received: (at 50960) by debbugs.gnu.org; 4 Oct 2021 08:39:42 +0000 Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXJVd-00088x-KL for submit@debbugs.gnu.org; Mon, 04 Oct 2021 04:39:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXJVc-00088m-BK for 50960@debbugs.gnu.org; Mon, 04 Oct 2021 04:39:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44572) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXJVX-0004aJ-4V; Mon, 04 Oct 2021 04:39:35 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60532 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXJVW-0003Ql-SP; Mon, 04 Oct 2021 04:39:35 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211002102116.27726-1-ludo@gnu.org> <868rz9ffck.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 =?UTF-8?Q?Vend=C3=A9miaire?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= 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: Mon, 04 Oct 2021 10:39:32 +0200 In-Reply-To: <868rz9ffck.fsf@gmail.com> (zimoun's message of "Mon, 04 Oct 2021 08:56:11 +0200") Message-ID: <87r1d1qj3v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633337907; 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; bh=XcHaJLgftMGWCHKkVydK7a/jJXLkdinNcIDq9iCTk6k=; b=e7K0erpvXo2Nf6xRQhKV6k3JTSLOJq5aJrShfiGwhzCc0MdjfqS14m5hzf2SUqiIXK+2Vg LpYQyktm96zZmQN3bwniNvW77XjhnNpXKIHC6xQcEQJwHl1sVlQlGY6doN3V8lv6MZZ3fl ihTd6U0rN4wM2zbyntgXRHE+bS+cxBp2R+FNeGERkJCtEel1KscXPdrB7AgLcV4DNAI1Wi /iVHYcfA73di2UPSTPLdg8e/RUAdSDOpYIHgQYNJZCfirzS8L3gkNqB5PD2SHBL1h7w4aG XGYToxi5pn4MoI70JPV8xJPSqnBIIaDhTFV6VCVFyAl2cysnsF9ZEkpURKyV2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633337907; a=rsa-sha256; cv=none; b=BTk4N0DKf5VVyHyZ3jJ7SZISD0p+TZKymYToi4WMS9vegS3dEAMZvHeKWrd4kDMiSCfYyd DrV++qQR+cjHHQOWnrb9co8CayOLGmejKXMjcnPSJOK1h/Z8V0H+RIl3VbtkFhMbbMGx/D mfGNUBzyPP8amuAlwxc7CNibLPAMIVJjm5igKZm267f8wIJm313hgv42Zqt1COtYNKsbcv +v4UAGmA14GUnSrWvkb1jcAcvduZTnzwSAJptNM8HMK4mOpWMgQQkHSdiiVjieNwoPndZ7 nhM1H8zN7t9nwFT91KmWbsKMoB6RIf3sfqmPymQ8tILwh6CogQ3gucwIl/TZjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.71 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 27D3A2BA63 X-Spam-Score: -3.71 X-Migadu-Scanner: scn1.migadu.com X-TUID: zrC4bFfMUMsW Hi, zimoun skribis: > On Sat, 02 Oct 2021 at 12:21, Ludovic Court=C3=A8s wrote: > >> 2. =E2=80=98guix shell=E2=80=99, without arguments, loads =E2=80=98gui= x.scm=E2=80=99 or =E2=80=98manifest.scm=E2=80=99 >> from the current directory or one of its ancestors. > > Personally, I do not like this default behaviour because explicit is > better than implicit and in the face of ambiguity, refuse the temptation > to guess; as any good Zen says. :-) It should be clear from the code that I generally prefer explicit over implicit :-), but I think Dave has a point when talking about conventions for this kind of developer tool. >> As for deprecation, I think there=E2=80=99s no rush. I imagine there co= uld be >> several phases, like: initially we only mention deprecation in the manua= l, >> later on =E2=80=98guix environment=E2=80=99 starts emitting a warning, a= nd later (I guess >> at least two years later, probably more) we ask ourselves whether to >> remove =E2=80=98guix environment=E2=80=99. At this point keeping it doe= sn=E2=80=99t cost us much. > > Concretely, I propose this plan: > > - v1.4: mention deprecation in the manual and remove from =E2=80=9Cguix = help=E2=80=9D > - v1.5: emit a warning > - v1.6: remove the command Could be like this. I guess we could also slow down the plan if we observe that =E2=80=98guix environment=E2=80=99 sticks around longer than w= e thought. > Well, I do not see why the removal should be an issue, because there is > =E2=80=9Cguix time-machine=E2=80=9D. To me, the real issue is to let peo= ple knowing > such change. As discussed in , removal is an issue because of existing scripts but also because of learning material around: MOOCs, articles, tutorials, etc. These won=E2=80=99t be updated overnight, and we owe our users stability. Ludo=E2=80=99.