unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: John Kehayias <john.kehayias@protonmail.com>
Cc: jgart@dismail.de,  guix-devel@gnu.org
Subject: Re: Transformations Shell Syntax
Date: Sun, 02 Jul 2023 21:54:31 +0200	[thread overview]
Message-ID: <878rbyum14.fsf@gnu.org> (raw)
In-Reply-To: <BegPbs0oRPKod3wpIoiVu-N_q0YL-3oIIb-VxotmjX5qMFZ7WgOd2oVcENndv0zzih5RAZvitF890OzbYSDuZscfsCfCUwNvCJr5Gi73ETU=@protonmail.com> (John Kehayias's message of "Sat, 27 May 2023 17:07:00 +0000")

HI,

John Kehayias <john.kehayias@protonmail.com> skribis:

> As one who also would like a shorter syntax option, here's a quick thought: what about a short version of what we have for when there is only one package given or it can be applied to all packages/be a positional argument? An example is perhaps best, so what if we could write:
>
> guix shell <package> --with-latest
>
> or guix shell <package> -<a letter which is available>
>
> which is short for
>
> guix shell <package> --with-latest=<package>
>
> or even
>
> guix shell <package1> <package2> <package3> --with-latest
>
> to apply to all packages.

This should be possible.  We should check the option parsers and
transformation procedures in (guix transformations).

> Or something like
>
> guix shell <package1> <package2> --with-git-url=<a git url for package3> <package3>
>
> and so on.

This I’m unsure; one might argue that it’s also ambiguous, I’d always
wonder what ‘--with-git-url’ applies to.

Thanks,
Ludo’.


  reply	other threads:[~2023-07-02 19:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23  6:43 Transformations Shell Syntax jgart
2023-05-23  8:16 ` Efraim Flashner
2023-05-23  9:39 ` Simon Tournier
2023-05-23 13:24 ` jgart
2023-05-23 13:55   ` Andreas Enge
2023-05-23 14:12   ` jgart
2023-05-23 14:22     ` Simon Tournier
2023-05-23 14:28     ` Andreas Enge
2023-05-23 17:20     ` jgart
2023-05-24  3:06       ` Ryan Prior
2023-05-26 15:50 ` Ludovic Courtès
2023-05-27 17:07   ` John Kehayias
2023-07-02 19:54     ` Ludovic Courtès [this message]
2023-07-05 20:23       ` John Kehayias
2023-07-03  0:01     ` jgart
2023-07-16 13:14       ` Ludovic Courtès
2023-07-23 13:00       ` Hartmut Goebel
2023-08-16 14:03         ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rbyum14.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    --cc=john.kehayias@protonmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).