Open marcelosv opened 5 years ago
Sorry...what do you mean by a Git library?
The server config use to interact directly with git. Mainly pull branches.
All settings will be in git by default. For this, so that we do not need to write a git project, I would like an already existing project.
Example: https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit
The question is if it could use any one library ready? Could you use this one from JGit?
It looks like JGit is licensed GPL v2 which is incompatible with Apache Software License. Not a problem until we try to bring the code into Apache.
https://www.apache.org/licenses/GPL-compatibility.html
I'll ask on the Slack channel for suggestions.
ok
On further investigation, maybe I'm incorrect. It looks like Git itself is licensed under GPL v2, but JGit is licensed under EDL v1 which CAN be used in Apache projects. https://github.com/eclipse/jgit/blob/master/LICENSE
So I think using JGit is fine. I'd ask on the dev list though in case anyone can think of any other issues.
@jamesbognar Do you know a library for us to use? One developed by apache