On 10 Jun 2005, at 12:42, Daniel Macks wrote:
That's the "we could wrap it in a prompt" variation I proposed, no? If
it does find a .deb, there's no issue here ('fink reinstall' if a .deb
does exist does not and would not rebuild, since we prefer to do the
minimum necessary to satisfy a user's request).
Ikay, what if we have a tri-state flag (fink.conf and/or cmdline), say
--rebuild-if-needed (feel free to propose a better name obviously)
that controls what to do if we need to reinstall but there's no .deb?
true: build it (or first try to download, if we're configured
that way)
false: abort (this is the current behavior)
undef: prompt the user (default answer=true)
This is a "new" situation fink is learning how to handle so by default
we ask the user what to do, but we lean towards making fink more
automatic. If user really never wants an "unrequested" build (i.e.,
the 0.24 behavior) he can request that, likewise if he wants a more
seemless "do whatever implicit actions are needed to do what I said to
do".
I would be inclined towards command-line flags: they are more flexible,
and more precise _ that way, the user can at some times issue eg
'fink reinstall', and other times 'fink reinstall -a' (eg, "-a" for the
above "abort").
If in addition somebody would desire a prompt (asking the user whether
it is really this behaviour that was desired), that would be the typical
thing one would like to be able to deactivate in fink.conf (eg, because
such prompts tend leave a full nights's job stalled after half an
hour..).
Jean-François
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel