Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349056

Summary: Git IFetchFactory depends on command line
Product: [Technology] EGit Reporter: Paul Webster <pwebster>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, dj.houghton, gunnar, john.arthorne, kim.moir, mknauer, s.muecke, steffen.kriese
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=289838
Whiteboard:
Bug Depends on: 321237    
Bug Blocks:    

Description Paul Webster CLA 2011-06-10 11:21:20 EDT
The IFetchFactory was originally written to use the command line.  With bug 321237 now fixed, it can use the git ant tasks (backed by JGit) and work with any standard basebuilder.

PW
Comment 1 Chris Aniszczyk CLA 2011-06-10 11:23:55 EDT
That is true, not sure we have all the Ant commands in place yet but they are pretty easy to add. We currently only have clone, checkout and branch if I recall.
Comment 2 Paul Webster CLA 2011-06-10 11:48:49 EDT
Sure... I did a quick look, and the current fetch factory uses:

git clone
git fetch
git checkout

So we'd need equivalent tasks to get started.

PW
Comment 3 Paul Webster CLA 2011-06-10 11:49:51 EDT
Just for completeness, we're talking about git://egit.eclipse.org/egit-pde.git

PW
Comment 4 Steffen Kriese CLA 2011-08-18 05:44:57 EDT
Any plans on fixing this? 
To me this is a blocker for migrating from cvs to git, because we are building on a windows machine with msysgit and want to access the git repo over ssh with public keys. But git+ssh only works on windows, when calling: 
$PATH_TO_MSYSGIT\sh.exe -login -i -c git
so if the egit fetchfactory tries to call 'git' on my machine, that won't work as expected.