From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AJgiBCbcWmHpcAEAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 12:49:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 019oOyXcWmE0cwAAB5/wlQ (envelope-from ) for ; Mon, 04 Oct 2021 10:49:09 +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 A87BC23E86 for ; Mon, 4 Oct 2021 12:49:09 +0200 (CEST) Received: from localhost ([::1]:49716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXLWu-0006Uh-Sl for larch@yhetil.org; Mon, 04 Oct 2021 06:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXLWo-0006TR-AG for guix-patches@gnu.org; Mon, 04 Oct 2021 06:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXLWn-0006pn-QD for guix-patches@gnu.org; Mon, 04 Oct 2021 06:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXLWn-0005Zp-Ju for guix-patches@gnu.org; Mon, 04 Oct 2021 06:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Oct 2021 10:49:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163334449421376 (code B ref 50960); Mon, 04 Oct 2021 10:49:01 +0000 Received: (at 50960) by debbugs.gnu.org; 4 Oct 2021 10:48:14 +0000 Received: from localhost ([127.0.0.1]:35778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXLW1-0005Yi-Kr for submit@debbugs.gnu.org; Mon, 04 Oct 2021 06:48:13 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:50897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXLVy-0005YO-2J for 50960@debbugs.gnu.org; Mon, 04 Oct 2021 06:48:12 -0400 Received: by mail-wm1-f41.google.com with SMTP id j27so13122285wms.0 for <50960@debbugs.gnu.org>; Mon, 04 Oct 2021 03:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=Hysui7VZqRP9HhRgp1lL30ZJt/UKFyBuxIj+rCi6Zfc=; b=fkfYjCt6xXj/m3/NmyCxw10dkseIR6/JWbHzThghK/zP5G/hilIsPusZl1FUhv3mTo U5/OlyKtJXcDxr7c2HMVBjXSoFW2s8V0EvC7ia9a1h+hWkUDPuBL5MCMjpqLyw9ZF6O+ MIVYfGM8229a6/tyYA+pIFkOW0Ac1Akkd0JA1amVNgQXn1PtlFPFsaetYbvaDcUjygyM DIPSTn+LVOjsBUaRSVwuxiad/v0Fp0rGQvqd4A7diFGV66rbCxglVDQ6kpUEEHE14I8N LUOQZh6iXGJ10Q//RIKfLChcSsCTAcUfwMyh6U7oeVXntjUBxd3HJzPlb7RWEuasih8J DetQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Hysui7VZqRP9HhRgp1lL30ZJt/UKFyBuxIj+rCi6Zfc=; b=mLCtZ6o6O74hQvNTHA4SqR2SfQRzzJDIABVx6K0m57U0DR6ZwuOmvrEg9aE4ca+Pc6 hqMvyWVaSOLpXjb/oScOr+dF6uG8Y3Dtqc+aXCKl5yPqxt0Lpps9Wq4VRnVWwrNGRcSw 5myRbwiXrQ+98tpTxy4NmHq2EDxX5CeYAxkkfI5LRMo+bHDK6yEPju7454oH+ZAAhjBE mix65AshrsYO2le1Xhl5aDk84wYMJ21WGKb0sMp05EdNokez2thIyopyzF1RrZzHZX+P /QwgFHZHCZppZp0S53JAe5nNCSRFwsGVM7MeTZC+z7DA/c1s2Ktl6Xm4kQtn2/pEDyxQ mmTw== X-Gm-Message-State: AOAM531DwVTp30chgD5+NuJgdPMf8wxT8J7OQra2znBlbu+n0aEYQbHI TbQamzkXbuZGBIdH5JePxXPbQKYiJnHe+w== X-Google-Smtp-Source: ABdhPJzTrtz9WdDN00SDxShtPwTKVBO5wqgT2UV+N9ZkMb7jSUK9F/LoH8hwxOvAbX8nXsX9YkkA+g== X-Received: by 2002:a1c:f405:: with SMTP id z5mr17850740wma.72.1633344483870; Mon, 04 Oct 2021 03:48:03 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k22sm14337715wrd.59.2021.10.04.03.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 03:48:03 -0700 (PDT) From: zimoun In-Reply-To: <87r1d1qj3v.fsf@gnu.org> References: <20211002102116.27726-1-ludo@gnu.org> <868rz9ffck.fsf@gmail.com> <87r1d1qj3v.fsf@gnu.org> Date: Mon, 04 Oct 2021 12:40:01 +0200 Message-ID: <86a6jpdqf2.fsf@gmail.com> 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=1633344549; 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=Hysui7VZqRP9HhRgp1lL30ZJt/UKFyBuxIj+rCi6Zfc=; b=faPjZvqNemLenpWoc6WBxjj4aqwPzylNqvUOG5rJRg8n+oUY8e8+H1dsdO9A/mOvrY0WFg +4YA/Q+qR18YfU83SEj9mv5N79ZFJqkZW1nlBt1LLtVpX+BsUpuhhSx+YdIRVYvo0HZMUD z0Ew+GcJY0pTmfUJTd6gWEfOV8UzzwirWO836ZvTWWxjL/KDmRJ64R7j0+v34GWjJA0aOu aPWrq9Zqdq1G6liYbaVX7Yrk02OSWsIXtFVCXyU7+3oJz7GHm6fZ6vr9GLDOcg77o1m9Bo oV+6X4hR+IjQHyEGZbjZRCtITgi4j4zol+ZB7pcDJ1yapdjyojjzUGg091EHnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633344549; a=rsa-sha256; cv=none; b=O8aOJdqgMEN+mJ7aQbqIiZO9V+w/k6LM8Ck3c1OOSDD0NYaOwEe8WKDGR0H0Uwc0CitxAq HknUHoK8xLhnwp2BPZHPRRJ40T5o4Kcn6iLjEYWOie7GRjrbuhnuIx+50Tzt8rcJW0rI0y FBE4uk2kScgE11f+mm9vObkMov9qCzvnt2XrVrulaAw8z3ytlRV0hlBjx318j6B8TynvwH KLKdp0jNHSXrtnLpQFgkZGPnM8BppxjTqs/0B/zUT7ZQgXri8HYWUw97NlxM59istWOdhl N86G2Itz8Kj8mhin6qvAv/QO5xbMj6wnje25wHbCfMCqORz2e+qBFYefDj8giA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fkfYjCt6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fkfYjCt6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: A87BC23E86 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: rHYM+HqBo5ah Hi, On Mon, 04 Oct 2021 at 10:39, Ludovic Court=C3=A8s wrote: > 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. Well, if you speak about this thread [1], the point is others are doing so and it is an usability improvement. :-) I am fine since somehow it is already the case with =E2=80=99make=E2=80=99 = or all the config files or many of us seem to simplify their workflow using direnv or etc. so yes it is probably handy to have conventions and automatic load by default. :-) 1: >>> As for deprecation, I think there=E2=80=99s no rush. I imagine there c= ould be >>> several phases, like: initially we only mention deprecation in the manu= al, >>> later on =E2=80=98guix environment=E2=80=99 starts emitting a warning, = and 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 do= esn=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= we thought. Bah, let reconsider this when preparing v1.6. ;-) At the current release rate, probably 2024. :-) >From my point of view, we should clearly document at v1.4 that this command will be removed soon or later. >> 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 pe= ople 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. For sure, I agree =C2=ABwe owe our users stability=C2=BB. That=E2=80=99s I= translate into =C2=ABthe real issue is to let people knowing such change=C2=BB. :-) As I am trying to explain, this scenario, guix environment =E2=80=A6 wait several months or years =E2=80=A6 guix pull guix environment will break because . Therefore, one will have to fix these very same scripts. Even us, we are not able to maintain working scripts for different points in time. The example using =E2=80=9Cguix environment= =E2=80=9D is broken for the manual released at v1.3, as pointed here [2]. However, =E2=80=9Cguix environment=E2=80=9D will still work using =E2=80=9C= guix time-machine=E2=80=9D. Nothing is really broken, IMHO. About learning materials, we could remove the command =E2=80=9Cguix environ= ment=E2=80=9D but keep a section in the manual explaining how to switch to the new =E2=80=9Cguix shell=E2=80=9D. Well, let discuss all that when preparing v1.5 or v1.6. Something as one or two years from now. ;-) Which i 2: Cheers, simon