Re:Libgit2: a Git Linkable Library - GitHub
by silentbicycle on Monday November 29, 2010 @04:10PM
(#1951794)
Correction to your correction: It isn't LGPL, it's GPL v2, with an addendum adding a linking exception. They couldn't use the LGPL because it uses some code from git, but they apparently got permission to add a special exception for that code (but not a license change). They may rewrite that part, but it's not a high priority at the moment. This is a weird special case - IANAL, but it seems like a de facto LGPL.
I've been talking with Vincent Marti about this, because I'm considering writing a Lua wrapper for libgit2, but wary of relying on libraries under the GPL. (I'm fine with the LGPL.)
Also, I ported the library to OpenBSD - it needed some finagling with preprocessor directives for thread-local storage. Contact me if you're interested. It's a bit rough, just good enough to get started on the wrapper.
Re:Libgit2: a Git Linkable Library - GitHub
by jacobian on Monday November 29, 2010 @05:00PM
(#1951982)
Guh, reading comprehension fail. Thanks for the correction.
IANAL either, but I agree that GPL-with-linkage-exception is functionally equivalent to LGPL, so I still think the rest of my comment's correct.
Of course, given my track record in this thread, I'd recommend folks double-check my work :)
Re:Libgit2: a Git Linkable Library - GitHub
by silentbicycle on Monday November 29, 2010 @07:49PM
(#1952553)
No worries. It's a weird pseudo-LGPL situation. I hope I didn't sound like a smug asshole. I thought the same thing and double-checked, that's all.
Re:Libgit2: a Git Linkable Library - GitHub
by tanoku on Monday November 29, 2010 @08:35PM
(#1952677)
Hey, I am interested. Why didn't you send us a pull request? If it's rough, we'll iron it out!
Re:Libgit2: a Git Linkable Library - GitHub
by silentbicycle on Monday November 29, 2010 @09:01PM
(#1952733)
Planning on it. I was going to clean it up before I messaged you, currently it's "I use OpenBSD, want to play with this library, and know BSD Make like the back of my eyelids" only.
I said I'd keep you posted. By then, I'll probably have more news than just "I got it to build!", that's nothing.
Re:Libgit2: a Git Linkable Library - GitHub
by apenwarr on Monday November 29, 2010 @03:32PM
(#1951686)
When you say "may be linked into permissively-licensed code" what code are you excluding? I think libgit2 can be linked into any code, permissively-licensed or otherwise.
Re:Libgit2: a Git Linkable Library - GitHub
by jacobian on Monday November 29, 2010 @03:39PM
(#1951700)
Sorry, didn't mean to imply that libgit2 couldn't be linked into non-permissively-licensed-code, too (you're right, and it can be linked into any code). I meant to contrast it with GPL-licensed code, which (might) requires re-licensing upon linking (maybe).
I tend to prefer permissively-licensed code, too, but there's a world of difference between viral licenses with and without linkage exceptions.