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 ms11 with LMTPS id 2P15CjPsWWCOXAAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 13:25:07 +0000 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 kLlLBjPsWWDdRQAAB5/wlQ (envelope-from ) for ; Tue, 23 Mar 2021 13:25:07 +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 6F5DC12454 for ; Tue, 23 Mar 2021 14:25:06 +0100 (CET) Received: from localhost ([::1]:36268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOh1t-0001xd-BV for larch@yhetil.org; Tue, 23 Mar 2021 09:25:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOh1r-0001xJ-6u for gwl-devel@gnu.org; Tue, 23 Mar 2021 09:25:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54881) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOh1r-00051y-0F for gwl-devel@gnu.org; Tue, 23 Mar 2021 09:25:03 -0400 Received: from [143.121.198.253] (port=60438) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1lOh1q-0004MD-0B for gwl-devel@gnu.org; Tue, 23 Mar 2021 09:25:02 -0400 Subject: Re: Getting started with GWL 0.3.0 To: gwl-devel@gnu.org References: <86y2efzc08.fsf@gmail.com> <874kh2vwlb.fsf@elephly.net> From: Roel Janssen Message-ID: Date: Tue, 23 Mar 2021 14:24:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <874kh2vwlb.fsf@elephly.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616505906; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=KKAl03O8xSdhmKFxr3xKXDiJmLmj8kSCHGIvpqtLWHw=; b=PEFUTkxjWCPOS0nWV3o2w6ny75P6IFNuFXVajjP8K9pSTLCUmB8/N6DV/XI4rplhBosocy 0Y9Dxj+0/e2ZCSOAWC8iTBbTv9GILL5BiH/3aH1w8Mg6OBYNomIDrIoSbyJbaI3ZxP6cIV 7DC5wycQEHWHFl0pWj8G0euQ0KemvWk78YVYiwib+J4006al0y2sXip3kQCRSTvg3aOxCp U3eIw2HPoSQ/8tVNNBHilAtx15SszvzHaS35IZo83+nQUrCAuJuJ63jH1Ka5n/fTrAlZwb thRoqUyh5PsUw6NP+0kE5o+X6XUHdlhK6ZfL6rHFRl3UYx96SvaMmV4mj73kAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616505906; a=rsa-sha256; cv=none; b=Dlra/P7Jj0t7xID8Ft+dexYY/rPGw1SFjBsfwsXijlZc8eNQINq5Vuds4r/+RCe++XiJr4 PD2+0Huu1DTfGNfeZlkfoTShQczsFrn7K2xpuLHH6lmSigahoBqVnHlQ3/vIeEfsJ7qsT8 oeHudIl6+nyolmtn0MOmBoG77ioS1wdMdqITOQAveKAhgPDST+/AJtheWagNG8MVrShqdc Gxyc2grZp/jI9/MT85mv28tgyC5jYcAWVLlzkPfXyq1ly2KoRRKyx1UfMkgoG3ttIJj3w4 NA3RNSIoiExUIQtifqyciottMRTRrrxryG5kxjaeZwNqwql+Bg5cquBy/XhT6Q== 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 gwl-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=gwl-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of gwl-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=gwl-devel-bounces@gnu.org X-Migadu-Queue-Id: 6F5DC12454 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: t43lg1gDdHEz On 3/23/21 2:16 PM, Ricardo Wurmus wrote: > Konrad Hinsen writes: > >> In the long run, maybe a command spell-checker would be a nice way out. >> Some piece of software that decides, based on my command history, >> whether a command I type is more likely a typo or the intention to run >> some exotic software. > This would need more work to allow replacement of Guix commands with an > extension. For example, I may want to use an extension that replaces > “guix deploy” with a variant that can deploy to AWS, falling back to the > default “guix deploy” for all other deployments. > > We should not prevent this use case, so at the very least this needs to > be configurable (though I’d be happier if we could come up with a > configuration-free solution). > > A configuration-free alternative could be “guix ext pull” to explicitly > select the extension named “pull”. There can be no conflicts with this > scheme, but it’s more work to type. > Or perhaps it could work with a warning message when invoking an extension command for the first time (similar to what Emacs does when hitting a key combination that may be unintended). For example: $ guix workflow ... You are about to run an extension to GNU Guix. Enable this extension for future use? [y/N] Perhaps this message could include the package from which the extension originates. Kind regards, Roel Janssen