Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336976 - New GIT synchronization provider
Summary: New GIT synchronization provider
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: unspecified   Edit
Hardware: All Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 12:15 EST by John Eblen CLA
Modified: 2011-05-14 06:45 EDT (History)
2 users (show)

See Also:


Attachments
Temporary getsession patch for retrieving a JSch session (3.81 KB, patch)
2011-02-11 12:16 EST, John Eblen CLA
g.watson: iplog+
Details | Diff
New Git Sync Implementation (52.47 KB, application/zip)
2011-02-11 12:17 EST, John Eblen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!