Open janesser opened 2 months ago
Hi,
This will be fixed in 1.1 version.
The Maven would be available soon, we must ask Sonatype to move our com.symplegit from old s01.oss.sonatype.org to Maven Central in order to build (administrative problem; we don't have any power to go fast on that).
Meanwhile, you can use the final jar manually: https://www.symplegit.com/download/symplegit-1.1.jar
(signature: https://www.symplegit.com/download/symplegit-1.1.jar.asc)
The new API is:
final Git sympleGit = SympleGit.custom()
.setDirectory(repoDirectoryPath)
.setGitExecutable("/usr/local/bin/git") // Specify the full path to the Git executable
.build();
Runtime.getRuntime().exec("git");
this won't make it in linux, and this is too strictly validated in
basicParamsCheks
typical resultions are with "/bin/sh -c" or allowing "/usr/bin/git"