darcs

Issue 223 add a --remote-darcs flag

Title add a --remote-darcs flag
Priority feature Status chatting
Superseder Nosy List beschmi, ckeen, clf, dagit, dmitry.kurochkin, galbolle, jaredj, kowey, simon, thorkilnaur, tommy
Assigned To ckeen Topics ProbablyEasy, SSH, UI

Created on 2006-07-09.13:33:00 by kowey, last changed 2009-01-26.01:46:40 by clf.

Messages (mbox)
msg802 (view) Author: kowey Date: 2006-07-09.13:32:56
What might be handy for darcs push on remote servers where darcs is not
installed in the expected places, for example,
  darcs push --remotedarcs="/opt/local/bin/darcs"

Files affected: RemoteApply.lhs, DarcsFlags.lhs and DarcsArguments.lhs
I think.
msg803 (view) Author: droundy Date: 2006-07-09.13:37:17
This sounds reasonable.
-- 
David Roundy
msg860 (view) Author: kowey Date: 2006-08-06.09:04:24
Note that I when I made this request, I had not realised you could use edit your
.bash_profile or .cshrc on the remote end and it would find the right darcs. 
Not sure if --remotedarcs is all that useful then...
msg1830 (view) Author: kowey Date: 2007-07-14.22:49:52
Not needed.  See http://thread.gmane.org/gmane.comp.version-control.darcs.user/10991
msg5662 (view) Author: kowey Date: 2008-08-23.07:24:02
This just came up again in issue1025.  Since there is a decent workaround for
this, I'm leaving it as wont-fix, to avoid flag proliferation.

That said, it may be worth considering.  Maybe this sort of flexibility would be
useful anyway (do we want to make it convenient for people to "try out" other
darcses on the server?), and besides, we now have a notion of advanced flags to
mitigate the ill effects of flag explosion.

Somebody should just submit a patch and see what David thinks :-)
msg5663 (view) Author: galbolle Date: 2008-08-23.07:33:19
As suggested in issue1025, an alternative solution would be to have a
'local_darcs' preference in the remote repository telling anyone interacting
with that repo how to call darcs on this machine.

This way, if on my machine I have darcs installed in /some/funky/path/darcs-sfx,
I can just set local_darcs to that path. Anyone pushing to my repository will
execute this command.

If flag proliferation is a problem, instead of a flag, include it in the url
scheme, like so: 'darcs push toto@machine:/repo#darcs-command'. This way, it can
be saved in the repos file, and persist between session.
msg6783 (view) Author: kowey Date: 2008-12-07.17:17:54
We should really go ahead and fix this after all.  Even if there are ways to
tell the remote end what darcs to run, they're too tricky.  Far simpler to just
let the client side control this.
msg6787 (view) Author: ckeen Date: 2008-12-07.21:49:17
I have a patch that adds --remote-cmd
the Ssh.hs file still needs patching to handle the transfer-mode. But I need the DarcsFlag for that.
Question is on how to pass it to Ssh.hs cleanly...

Browse related patches: unstable | stable

History
Date User Action Args
2006-07-09 13:33:00koweycreate
2006-07-09 13:37:19droundysetstatus: unread -> chatting
nosy: droundy, tommy, kowey
messages: + msg803
2006-08-06 09:04:28koweysetnosy: droundy, tommy, kowey
messages: + msg860
2007-07-14 22:49:53koweysetstatus: chatting -> wont-fix
nosy: + beschmi
messages: + msg1830
2008-08-23 07:21:33koweylinkissue1025 superseder
2008-08-23 07:24:10koweysettopic: + ProbablyEasy, SSH, UI
nosy: + dagit, galbolle, jaredj
messages: + msg5662
title: add a --remotedarcs flag -> add a --remote-darcs flag
2008-08-23 07:33:25galbollesetnosy: droundy, tommy, beschmi, kowey, dagit, jaredj, galbolle
messages: + msg5663
2008-12-07 17:18:04koweysetstatus: wont-fix -> chatting
nosy: + dmitry.kurochkin, simon, thorkilnaur
messages: + msg6783
2008-12-07 21:30:33ckeensetnosy: + ckeen
assignedto: ckeen
2008-12-07 21:49:27ckeensetnosy: droundy, tommy, beschmi, kowey, dagit, simon, thorkilnaur, jaredj, dmitry.kurochkin, galbolle, ckeen
messages: + msg6787
2008-12-08 15:47:28droundysetnosy: - droundy
2009-01-26 01:46:40clfsetnosy: + clf