Hi all, 

I'm doing a bit of Git integration in my app, and I have run into a fairly 
sticky situation.  By using CFX_ConsoleCommand or CFExecute, I am able to make 
most git commands with ease.  I can commit, tag, diff, status, log, etc, etc.  
The problem arises when I attempt to push or pull using a standard ssh-like 
path to my repository:

If the path to "origin" is set to u...@gitmachine:/path/to/repository, any 
attempt to do a git pull (ideally the first step in the mini-app I'm working 
on), just...never completes.  When I use CFExecute, it runs until the timeout, 
and then fails.  When I use CFX_ConsoleCommand, it never timesout, and I have 
to just kill the request manually.  

I also have access to the same repository via a networked Windows share.  When 
I change the path to origin to be L:\path\to\repo, I am able to get git 
pull/push to work (provided, of course, that I am running CF as a user who has 
access to the shares and I am running CF as a process, rather than a service).  
This is less than optimal for a few reasons, including the fact that it 
requires extra remotes to the same place, and the fact that my git hooks fail 
when I attempt to push using the Windows drive notation.  

Ideally, I would be able to use the traditional f...@bar:/path/to/repo 
notation, but I can't really even surmise what is going on, as the most verbose 
information CF gives about the pull when that happens is a timeout, if I'm 
lucky.  

I know this is kind of deep-in-the-weeds but if anyone has tackled anything 
along the lines of ssh-style connections from CFexecute, your input and wisdom 
would be very appreciated.  

TL;DR I can't git pull from CFExecute.  

--adam



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336310
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to