From: zimoun <zimon.toutoune@gmail.com>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Subject: Re: Guix Goals: One Hackable Developer Tool To Rule Them All
Date: Thu, 13 Oct 2022 15:03:21 +0200 [thread overview]
Message-ID: <87r0zbri3q.fsf@gmail.com> (raw)
In-Reply-To: <20221013010703.GB27375@dismail.de>
Hi,
On jeu., 13 oct. 2022 at 01:07, jgart <jgart@dismail.de> 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 “guix style”.
> `guix repl` in a python project would run ptpython or some other configured repl.
[...]
[...]
> `guix run` in a python project could start a flask app listening on a particular 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
“guix repl”, 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
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: <https://yhetil.org/guix/86wn9puqj7.fsf@gmail.com>
Cheers,
simon
next prev parent reply other threads:[~2022-10-13 13:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 6:07 Guix Goals: One Hackable Developer Tool To Rule Them All jgart
2022-10-13 13:03 ` zimoun [this message]
2022-10-13 13:56 ` pinoaffe
2022-10-13 14:34 ` indieterminacy
2022-10-13 14:55 ` pinoaffe
2022-10-14 2:24 ` jgart
2022-10-16 13:11 ` Liliana Marie Prikler
2022-10-16 17:54 ` jgart
2022-10-16 18:41 ` jgart
2022-10-16 18:50 ` Liliana Marie Prikler
2022-10-16 20:03 ` jgart
2022-10-16 23:22 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2022-10-17 19:08 ` Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0zbri3q.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.