BIGTOP-1671. Fix handling symlinks when cloning git repos This upgrades version of grgit. This version of grgit uses a newer version of jgit which supports native symbolic links. This allows git repos that contain symbolic links to be properly cloned such as the Hue repo.
For jgit to handling symbolic links, the org.eclipse.jgit.java7 jar/bundle must be added to the classpath. Signed-off-by: Konstantin Boudnik <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/e0d388ae Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/e0d388ae Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/e0d388ae Branch: refs/heads/master Commit: e0d388ae7f21af87b8997c66d57c2fc9b1b3ad5a Parents: f26ddd5 Author: Peter Slawski <[email protected]> Authored: Wed Feb 11 13:04:18 2015 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Wed Feb 25 14:51:31 2015 -0800 ---------------------------------------------------------------------- packages.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/e0d388ae/packages.gradle ---------------------------------------------------------------------- diff --git a/packages.gradle b/packages.gradle index a35d5bc..947a84d 100644 --- a/packages.gradle +++ b/packages.gradle @@ -22,7 +22,10 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.ajoberstar:grgit:0.2.2' + classpath 'org.ajoberstar:grgit:0.4.1' + // To handle symbolic links when cloning git repos, the jgit.java7 jar + // must be added to the classpath. + classpath 'org.eclipse.jgit:org.eclipse.jgit.java7:3.6.2.201501210735-r' } }
