darcs

Issue 2039 make --no-interactive an alias for --all

Title make --no-interactive an alias for --all
Priority wishlist Status given-up
Milestone Resolved in
Superseder Replace --no-foo switch with --foo=no
View: 1457
Nosy List jaredj, kerneis, mndrix, wferi
Assigned To
Topics ProbablyEasy, UI

Created on 2011-02-06.21:55:19 by bfr, last changed 2017-07-31.00:39:47 by gh.

Messages
msg13641 (view) Author: bfr Date: 2011-02-06.21:55:18
...mainly because when I put 

changes interactive

it in my ~/.darcs/default file, then there is no way to selectively 
unset this option. I needed this to fix darcs-monitor which fails 
if --interactive is the default for darcs changes, and I could not fix 
it because of the missing --no-... switch.
msg13653 (view) Author: kerneis Date: 2011-02-08.16:48:45
patch540 solves the issue but it might be pointless.  Does -a do what
you want? Please see http://bugs.darcs.net/patch540
msg13661 (view) Author: bfr Date: 2011-02-10.11:17:09
Yes, -a works as expected. It just did not occur to me that it might.
Might make sense to add --no-interactive as an alias to make it more
obvious...
msg13664 (view) Author: kerneis Date: 2011-02-10.14:50:38
I don't know if this is a good idea, maybe improve the doc instead?

Anyway, changing to whishlist.
msg13697 (view) Author: kowey Date: 2011-02-17.12:02:36
Argh! Caught between two principles:

* keep flags symmetrical --foo should have a --no-foo
* avoid proliferation -- "what's the difference between --all and --no-
interactive", "oh they're the same"

I think we can pull out a third (meta?)principle here: when in doubt, be 
conservative about changing the UI (change has a cost, could end up 
making things worse in unexpected ways; only change if you have a 
reasonably convincing argument that it would improve the UI)

With apologies for my lack of courage, shall we not make a decision on 
this until issue1457 is resolved?
msg15382 (view) Author: kowey Date: 2012-03-23.16:21:58
Ferenc (wferi) ran into the same issue.  This sounds like a good 
ProbablyEasy bug.  Why wait for the flag overhaul (which in all 
likelihood, won't happen till Darcs 3?)
History
Date User Action Args
2011-02-06 21:55:19bfrcreate
2011-02-08 16:13:13kerneissetassignedto: kerneis
nosy: + kerneis
2011-02-08 16:48:46kerneissetstatus: unknown -> waiting-for
messages: + msg13653
2011-02-10 11:17:10bfrsetmessages: + msg13661
2011-02-10 14:50:41kerneissetpriority: wishlist
status: waiting-for -> unknown
assignedto: kerneis ->
messages: + msg13664
title: missing darcs changes --no-interactive -> make --no-interactive an alias for --all
2011-02-17 12:02:37koweysetstatus: unknown -> deferred
messages: + msg13697
superseder: + Replace --no-foo switch with --foo=no
2012-02-18 22:03:14koweylinkissue2143 superseder
2012-02-26 09:41:24koweyunlinkissue2143 superseder
2012-03-23 16:22:00koweysettopic: + ProbablyEasy, UI
nosy: + wferi, jaredj
messages: + msg15382
2012-03-23 16:22:06koweysetstatus: deferred -> needs-implementation
2012-03-23 16:22:38mndrixsetnosy: + mndrix
2017-07-31 00:39:47ghsetstatus: needs-implementation -> given-up
nosy: - bfr