GNU bug report logs - #38529
Make --pure the default for `guix environment'?

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Sun, 8 Dec 2019 15:43:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #182 received at 38529 <at> debbugs.gnu.org (full text, mbox):

From: raingloom <raingloom <at> riseup.net>
To: Ludovic Courtès <ludo <at> gnu.org>, "Thompson, David"
 <dthompson2 <at> worcester.edu>
Cc: Pierre Neidhardt <mail <at> ambrevar.xyz>, 38529 <at> debbugs.gnu.org
Subject: Re: bug#38529: Make --pure the default for `guix environment'?
Date: Mon, 30 Dec 2019 18:27:17 +0100
On Tue, 2019-12-10 at 18:16 +0100, Ludovic Courtès wrote:
> As for ‘--ad-hoc’: making it the default is technically easy.  The
> difficulty is to come up with a nice transition/deprecation mechanism
> so
> that we don’t break everyone’s script overnight.
> 
> Ideas on how to achieve it are welcome!
> 
> Thanks,
> Ludo’.
> 
> 

Why not make it fully explicit, without either being the default?
It would make script more readable too.

Then the deprecation is as easy as printing a warning when the
invocation relies on the default.

For example `guix environment hello` would become `guix environment --
inputs-of hello`. Not using `--inputs-of` would print something like
"warning: implicit --inputs-of is deprecated".





This bug report was last modified 2 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.