marcelosv / juneau

Apache Juneau is a single cohesive framework
https://juneau.apache.org/
Apache License 2.0
2 stars 0 forks source link

Server Config - Define a git library to use #4

Open marcelosv opened 5 years ago

marcelosv commented 5 years ago

@jamesbognar Do you know a library for us to use? One developed by apache

jamesbognar commented 5 years ago

Sorry...what do you mean by a Git library?

marcelosv commented 5 years ago

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?

jamesbognar commented 5 years ago

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.

marcelosv commented 5 years ago

ok

jamesbognar commented 5 years ago

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.