From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EDv1IwAXSGOjagAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 15:47:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +FzwIwAXSGObhAEAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 15:47:44 +0200 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 1E4B73C09E for ; Thu, 13 Oct 2022 15:47:44 +0200 (CEST) Received: from localhost ([::1]:40934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiyYp-0003pt-8J for larch@yhetil.org; Thu, 13 Oct 2022 09:47:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiyBC-0005KZ-9x for guix-devel@gnu.org; Thu, 13 Oct 2022 09:23:22 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:44843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiyBA-0003mP-Du for guix-devel@gnu.org; Thu, 13 Oct 2022 09:23:17 -0400 Received: by mail-wr1-x432.google.com with SMTP id r13so2786736wrj.11 for ; Thu, 13 Oct 2022 06:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=CMHqlpTXaQQlotAHyi+/ktwxaEFo2uiCYKj9R7X/gRw=; b=AJngs+LZQ3IzY3WI76bRIysvIHu905S8Qbwj4kfgXjdMUlHYeLY2lX9UgC6BI4tjF9 u2CcXcEfqCIpa5K2pj9ec6k+vDzkw4KKlffmrbR5XDQASHcBgJFFBaEevYXXlD81m3ko cpFaCJSAb29YwenLUDuIsGcPplN7RDf5qBI9ERfF1JJGuqJfvSWHDIlnGqn4sJlwDYG5 NCjCR2YDBFWDRWNu6qBWbfAaZcHJj8/56c8o6GKbmraUkgyk3C0DSeYvdez1lp+DLOwr FX4lJmrbvNNvJ57lXh+GAkcGgDAnQsUx6NSYTmmgITAK2rlw7S7/yt/5qJJ6P+0c4WIP XB3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=CMHqlpTXaQQlotAHyi+/ktwxaEFo2uiCYKj9R7X/gRw=; b=iSE+zG/yOEfj60ucis/53JGTwLhudwgU9wrL40jEMBACbmKCtMYlRluIiRvW4rBcJY punYBw84fcZjXQlkUVzCbkbjmVEjlCYWVcSUY+RYnR3Wz8X4oSzC3MXXdm1ZL7+ZQ8FL KDiJQz7Nfx+eRwNhD+xAiaPIGQpITPEZaiGSw/7IoJtYzm49ldtRLRMylwW8VbpKgC8p PBkyt64I9/k56wTvQhoRAYNyDRUijUqRoVTPKoXtXaA6AA4/8VOTJjANn5JOPpr7kAAf GuR02D4ETkZm8l9hoZnd9DDvABA9aDFljXC5klQpXIA6ef//nDenaZSa/CkTFKwSIEnY T8Bw== X-Gm-Message-State: ACrzQf3qFIv+yRuwU6a7DyEbV0e/9jQyJYcpl8YleJ9E165qeC4KGAyf 4k1eU02sONf1Qb9OounyqbwgrNNCToI= X-Google-Smtp-Source: AMsMyM5olZzN9VhytJBit5CHU9rRPd5AHk0O59m47WiR7+RSfhNd9wFnC6V8NWrJOGiUGqpqx3fJNA== X-Received: by 2002:a5d:64eb:0:b0:22e:48df:f1bb with SMTP id g11-20020a5d64eb000000b0022e48dff1bbmr20802296wri.262.1665667394456; Thu, 13 Oct 2022 06:23:14 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t2-20020adfe442000000b0021badf3cb26sm2433139wrm.63.2022.10.13.06.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 06:23:13 -0700 (PDT) From: zimoun To: jgart , Guix Devel Subject: Re: Guix Goals: One Hackable Developer Tool To Rule Them All In-Reply-To: <20221013010703.GB27375@dismail.de> References: <20221013010703.GB27375@dismail.de> Date: Thu, 13 Oct 2022 15:03:21 +0200 Message-ID: <87r0zbri3q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665668864; 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:dkim-signature; bh=CMHqlpTXaQQlotAHyi+/ktwxaEFo2uiCYKj9R7X/gRw=; b=X5z2ZTYjXBzAd8x7Ka1/673FdtmzYx1VwX1YgDNEgXh7fyz5ZkXaPEOXZrD/qyufZL74x0 vDGwE/t8f3J0ztmUI+HSDGBokndZrphxYdjynPIsGblrrbDa8m20h2Q/oD58Q0X+5WIa21 Xm/5cinmD32L1z6dVDMAuuCadAKzBMAcjeqmUMLTgzDK6y7veYWDutAJWGFxyVJiFvyYaa qzgbF35YeY73zx2YDwSalUzBrPu0cB0SJnlXhWjFw8T/nmSyC71i30HlnohtfAvX1EZahF pG2dnuKv965yetfuw+2JdPxdJGW01wRCIjr4tnscv8eqUYtFefgjlvZuo+46tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665668864; a=rsa-sha256; cv=none; b=uEH7QX2tR2XyaAu8+PdFq7QNrjuexe/HkDmU6He92Bu6FrC1srKu7UAN34ed4Z+eZrIACE 8j4jgbcHNUjHOCXfCLR12jEbO10+dniVlAipQfDtv4yapqXgwFWePxlLH8jVBAt7CXmdoq XvY3avwNNhA/gpj3+Ktrdf5HHV//2kZsZjQDu8uOA7snV1UsM7xl0ao5GtoYr4dz4KdS9v kRWDlDE64YWEgIJOAGcj10VbcTSHIK2oQ0HhB2s1V/3EM30BFfbTqFMgmml3MGWIr+CO+f baFUrI446MqStBSPsLVok3NoEXheBApKkpvqp5T3QbgnJ3nG63jG2CuWhZ/QKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AJngs+LZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AJngs+LZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1E4B73C09E X-Spam-Score: -2.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: n5z3QgKBj+S+ Hi, On jeu., 13 oct. 2022 at 01:07, jgart wrote: > `guix lint` in a python project would run mypy. [...] > `guix fmt` in a python project would run black. Following your logic, it should be =E2=80=9Cguix style=E2=80=9D. > `guix repl` in a python project would run ptpython or some other configur= ed repl. [...] [...] > `guix run` in a python project could start a flask app listening on a par= ticular port. [...] > The idea would be to have Guix provide a configurable CLI wrapper > subcommand around all language ecosystem developer tools. In other words > it's the same Guixy thesis applied to developer tooling. I think this > could take the Guix developer experience to the next level. I think it is a bad idea to mix generic Guix commands with per specific project ones. For instance, considering a Python project, then if I run =E2=80=9Cguix repl=E2=80=9D, it launches some Python interpreter, but what = if I really want to start Guix REPL. Instead, it would appears a better design to have: guix project lint=20=20=20=20 guix project style guix project repl guix project test guix project run Well, for it is worth, I often deal with some multi-languages projects, and what I prefer is to explicitly run the per language tool, e.g., guixify ipython launching some Python interpreter. I personally prefer an explicit reference of the tools. *guixify is currently a tiny Bash script similar to the one pasted here [1]. But we could imagine a Guile script. :-) 1: Cheers, simon