unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: Raghav Gururajan <rg@raghavgururajan.name>
Cc: guix-devel@gnu.org
Subject: Re: delete-generations or --delete-generations?
Date: Thu, 26 Aug 2021 22:55:13 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.2108262247030.2109@marsh.hcoop.net> (raw)
In-Reply-To: <fdb27bc6-875e-d0e7-8d8e-4c21331b06c4@raghavgururajan.name>

On Thu, 26 Aug 2021, Raghav Gururajan wrote:

> Hello Guix!
>
> Why there is no '--' prefix to 'delete-generations' for `guix system`, when 
> there is for `guix pull` and `guix package`?

Raghav,

I don't know (but I'll speculate in a bit), but it's not just 
delete-generations. All of the guix system subcommands (e.g. init, 
reconfigure, list-generations) are like that. I suspect this is due to the 
organization of all these system-related subcommands under one top level 
command. These subcommands are different than options like --no-substittue 
and --keep-failed.

I do see what you mean by it being organized a little bit differently than 
the other guix commands though. I guess it would be closer if there were a 
guix system generations subcommand with --delete --list etc. options. I 
have no opinion if this would make sense the implement though.

Hope that helps,
Jack


  reply	other threads:[~2021-08-27  2:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27  1:04 delete-generations or --delete-generations? Raghav Gururajan
2021-08-27  2:55 ` Jack Hill [this message]
2021-08-27  9:27 ` zimoun
2021-09-08 20:59   ` Ludovic Courtès
2021-09-09 13:47     ` Leo Famulari
2021-09-09 14:14       ` André A. Gomes
2021-09-09 14:44         ` Leo Famulari

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=alpine.DEB.2.21.2108262247030.2109@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=guix-devel@gnu.org \
    --cc=rg@raghavgururajan.name \
    /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).