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 mJ8hEM3hXmExVgEAgWs5BA (envelope-from ) for ; Thu, 07 Oct 2021 14:02:21 +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 +JTQC83hXmFuLwAAB5/wlQ (envelope-from ) for ; Thu, 07 Oct 2021 12:02:21 +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 D391C2FDA9 for ; Thu, 7 Oct 2021 14:02:20 +0200 (CEST) Received: from localhost ([::1]:44124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYS6N-0002Gn-SX for larch@yhetil.org; Thu, 07 Oct 2021 08:02:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYS69-0002FQ-Kf for guix-patches@gnu.org; Thu, 07 Oct 2021 08:02:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYS66-0003jf-HL for guix-patches@gnu.org; Thu, 07 Oct 2021 08:02:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYS66-00086Q-Eu for guix-patches@gnu.org; Thu, 07 Oct 2021 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [EXT] Re: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 12:02: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: "Thompson, David" Cc: 50960@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163360809531112 (code B ref 50960); Thu, 07 Oct 2021 12:02:02 +0000 Received: (at 50960) by debbugs.gnu.org; 7 Oct 2021 12:01:35 +0000 Received: from localhost ([127.0.0.1]:46233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYS5f-00085k-Cn for submit@debbugs.gnu.org; Thu, 07 Oct 2021 08:01:35 -0400 Received: from pelzflorian.de ([5.45.111.108]:56118 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYS5b-00085W-7K for 50960@debbugs.gnu.org; Thu, 07 Oct 2021 08:01:34 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5BDFB3606A0; Thu, 7 Oct 2021 14:01:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1633608089; bh=P2Au4QcixRHDJDjkwyCF09xSx7NcBaz8iwLtLhq7D5A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=J1T2l9NzhaY7hONEo+ulBlPM2jw1SpCHrmZvSt2A9DhX4UjVZFwYnws5qr4sN4goc R1mEzntMghVzkGNZd3s0ToCRZyQoNuSHFGuDSVZciULFOw/MVfFsNXTHC2HLRizR2+ m2EvMU9+sdu66C+gln0afZwpld1rZv7kS4pVdVg4= Date: Thu, 7 Oct 2021 14:01:19 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20211007120119.sdhip6yvj2doslsr@pelzflorian.localdomain> References: <20211002102116.27726-1-ludo@gnu.org> <877depdw3i.fsf_-_@gnu.org> <20211007105236.xzkq5tij3g3tcdob@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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=1633608141; 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=kzA/Gi4wFLX9rDw0DfqJqVRP98ort26PUwnbM0K2ZV4=; b=PBi+R5WF12sjkpSqt5olMevSwirjp7SYXTOBajq5fVCPb8PLxHMEt9KWEXOcq3G0zTCSrL 6F2RK2jB52zUHo9AVoy+gSRgq2A6/3K1ipsNMHh4NALANM9imo8ovTmBG+RyjHg+ajcohS JuiVwCD/V+CDptVe9P6yutjjlaZvT0/DxG87E1rF4h/ely2KuSNKDcrUiXCrtAw66hoi4l dAXD/tz/NH8ojTGipuFZbvHQZlFubL262uX9q2bO+b31kIKzKCY5ze6Bgtc5E+8eyNdO9e XNzF28/JhcGElgmQNBz1EgmSxBAVKI72KLg+A8IQ11YLf/GyCt9NtjGVhavaJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633608141; a=rsa-sha256; cv=none; b=ki0h8j052ItS1LoXZLS2NIl3dpIRWlFuvQ+M5qloUH7fx3ig800fzoyycYNdNlzmgbunR+ sJLfivB7baTF8SmqNwSXSweCFzHeL7zLQTCcuy7RNqfscG8FV5sVPEjElygeN9DWmY2zJs mFGCcVrWrWE42Zw5WbRQ+o4/S0Tk7SDSUagbRP832ZPXMp4fVyvHdMlcifV2i4ZO44ecUE EXHL1PmNhkwAV9qGJlZ61Bf6zkmI7zes/Pr2+1toZ+2Sz5rfpfbYnHVq/UvIF0JP45hBxd yGKYfKgtzh8eXSM3KHRc+slPg8ZDCeidMd1snrQT5SDq/2yPhRNK9UwaGdJ4Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=J1T2l9Nz; dmarc=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: 0.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=J1T2l9Nz; dmarc=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: D391C2FDA9 X-Spam-Score: 0.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: S7eFRO6H0Krt On Thu, Oct 07, 2021 at 07:17:43AM -0400, Thompson, David wrote: > 'guix shell' with > no other arguments should "just work" in the context of whatever > project I am in. If you only care about projects: Searching only guix.scm and manifest.scm files when a .git subdirectory is present would indeed be better than going through all parent directories. I do not know git well enough to judge if that could interfere with git worktrees and git submodules. The only remaining problem would be novice users who know “guix shell program-a program-b” and who do not expect “guix shell” without argument instead loads code from a file. I’m also afraid of git hooks btw, which is why I clone old git checkouts from the backup instead of copying, but at least they stay local to the .git checkout. I still don’t understand why not having to type --file is useful though. Regards, Florian