[darcs-users] Re: darcs patch (--executable-path) ...would like feedback here.

David Roundy droundy at abridgegame.org
Sun Dec 5 13:23:32 UTC 2004


On Sat, Dec 04, 2004 at 09:36:23PM +0100, Alexander Staubo wrote:
> David Roundy wrote:
> >Another option would be to store a path to darcs in the target repository
> >itself.  This seems a bit ugly, but has a certain appeal to it, in that it
> >means you'd only have to configure once per repository, rather than N times
> >per repository, where N is the number of different computers you use...
> 
> That is the KISS version, which I would prefer. Special-casing often 
> throws simple systems into a vortex of non-intuitive kludges.
> 
> A setting like this should be as close as possible to the machine it 
> applies to, which promotes encapsulation; the target system knows best.

The only trouble with this solution is that involves advertizing to the
world the location of your darcs binary, which may not be information that
you want crackers to have.  Probably it's not a big deal, but that's the
only reason I'm hesitant to go with this solution.
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list