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

Bug 336976

Summary: New GIT synchronization provider
Product: [Tools] PTP Reporter: John Eblen <jdeblen1>
Component: RDT.syncAssignee: Project Inbox <ptp-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jdeblen1, roland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Temporary getsession patch for retrieving a JSch session
g.watson: iplog+
New Git Sync Implementation none

Description John Eblen CLA 2011-02-11 12:15:03 EST
Build Identifier: 5.0

This is the initial implementation of the GIT sync Provider using the JGit API. It appears to work when creating a new project (new to both local and remote), successfully sync'ing files to the remote machine. Other scenarios are not yet tested or implemented. It also has only been tested on linux, both local and remote.

The included getSession patch is a temporary kludge to get the JSch session that is needed by JGit.

Reproducible: Always
Comment 1 John Eblen CLA 2011-02-11 12:16:20 EST
Created attachment 188796 [details]
Temporary getsession patch for retrieving a JSch session
Comment 2 John Eblen CLA 2011-02-11 12:17:54 EST
Created attachment 188797 [details]
New Git Sync Implementation
Comment 3 John Eblen CLA 2011-02-11 12:29:46 EST
I affirm that:

1) I have authored 100% of the contributed code.

2) I have the right to donate the content to Eclipse.

3) I am donating the contribution under the Eclipse Public License. All
source code has the Eclipse Foundation Copyright and License Notice
included.
Comment 4 John Eblen CLA 2011-02-11 15:50:08 EST
The following bug report addresses the problem of retrieving the needed JSch session in JGit. This solution would allow us to remove the getsession patch.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=336749
Comment 5 Greg Watson CLA 2011-03-23 12:05:12 EDT
This has now been committed. If you have patches to apply, please open a separate bug and attach the patch.

Thanks!