Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 480297 - Consume latest JGit (4.1)
Summary: Consume latest JGit (4.1)
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Releng (show other bugs)
Version: 10.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 361909
  Show dependency tree
 
Reported: 2015-10-21 08:47 EDT by Silenio Quarti CLA
Modified: 2015-10-27 16:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2015-10-21 08:47:54 EDT
The metadata for git submodules are stored in the parents .git folder in newer versions of git.  We should update JGit to a version that supports this new structure (4.1?).
Comment 1 Silenio Quarti CLA 2015-10-21 09:53:08 EDT
First set of changes.  Some deprecated API has been removed (release, getBaseCommit).  Some junit tests failed because the return response changed slightly.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=32e2763464968f64e59018448586c392e26ea335
Comment 2 Silenio Quarti CLA 2015-10-21 10:10:49 EDT
JGit 4.1 needs java.lang.AutoClosable which is available only on Java 1.7.  We need to update our BREE.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=253507b6a3139271965756a5bfc69fca01b5d168
Comment 3 Silenio Quarti CLA 2015-10-21 10:23:16 EDT
Changing the target BREE is not enough (build fails):

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=6897fafa68491f68cbf95e52bd68c1aac12107ee
Comment 4 Silenio Quarti CLA 2015-10-27 16:26:48 EDT
This has been done.