Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala version of Jgit

Tags:

scala

jgit

Looking for a stable Scala implementation (or something similar) of JGit.

Has anyone worked with anything like it?

I've found scala-git but it's not what I'm looking for.

like image 313
YaOg Avatar asked Nov 26 '14 13:11

YaOg


2 Answers

I did the same search some time ago, but I concluded that it was preferable to use JGit (even if it's a Java library) in Scala. It's used by products with lots of users (eclipse, netbeans, gerrit,...) and even some Scala products like Gitbucket use it. Its API can be easily called from Scala, and does not result in ugly code, nor needs heavy wrappers. Personally I prefer using a Java lib widely used than a pure Scala lib for which I don't know the roadmap nor if it's still maintained. I thought to ScalaGit but it seemed really young (only 67 commits) and not actively maintained (last commit on Apr 21, 2014).

like image 193
joelvim Avatar answered Sep 28 '22 11:09

joelvim


Any java library (like jgit) is perfectly usable in scala as scala run in the java runtime environment. Is there any reason why you can't use it?

like image 42
thoredge Avatar answered Sep 28 '22 13:09

thoredge