[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Goals for 0.4

From: Nikita Karetnikov
Subject: Re: Goals for 0.4
Date: Sat, 31 Aug 2013 20:40:01 +0400

> Rather, I would do:

>   --delete-generations=3..9

> It’s easier to parse and to type.

> Likewise, it could even support:

>   --delete-generations=1month

Here’s what I decided to use:


I guess I have to write a parser for the “1,32,9” case, right?  Or is
there a simpler solution?

> Perhaps there could be several formats.  For instance,
> --list-generations would be equivalent to --list-generations=short:

>   generation 1     Dec. 16 2013
>   generation 2     May 7 2013

> And then --list-generations=long would do something like:

>   generation 1           Dec. 16 2013
>     guile    2.0.7 out,debug    gnu/packages/guile.scm
>     hello    2.8   out          gnu/packages/base.scm

>   generation 2     May 7 2013
>     guile    2.0.9 out          gnu/packages/guile.scm


OK, but how can I integrate this in the above scheme?  Will it be OK to
create an additional ‘--short’ switch or a new
‘--list-generations-short’ option?  Both solutions look ugly.

> I’ll have to disagree.  :-)

> There’s no such verb as “rollback”, I think, whereas “fallback” is a
> valid noun (and we don’t have the choice for “fallback”, since there are
> messages in the daemon that mention it.)

> Now, if you had --rollback as an alias, I won’t scream either...

See [1–4].  Would you like to keep ‘--roll-back’ anyway?


Attachment: pgpVZd1DGjwIj.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]