commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 534 forks source link

Part of the code is under GPL2 #480

Closed bkmgit closed 10 months ago

bkmgit commented 11 months ago

Pointed out in code review is that buffer.h and buffer.c seem to be derived from Houdini buffer.h and Houdini buffer.c which are available under GPL2 with a linking exception and originally came from libgit2

jgm commented 11 months ago

buffer was added by @vmg who at the time was working for GitHub, where this code was developed. @vmg certified in https://github.com/commonmark/commonmark-spec/pull/269 that the license was correct.

jgm commented 11 months ago

By the way @vmg is also one of the libgit2 contributors. Hopefully @vmg can comment here to clarify things.

vmg commented 11 months ago

The PR in https://github.com/commonmark/commonmark-spec/pull/269 is the authoritative source for licensing information.

@vmg certifies by merging this PR that the license and copyright information are accurate.

I approved that PR and re-licensed the code under the same permissive license as the rest of cmark. There is no GPLv2 code in cmark because that would make the library useless.

bkmgit commented 10 months ago

Thanks. A related issue is the copyright notices on utf8.h and utf8.c

https://github.com/github/cmark-gfm/issues/348

bkmgit commented 10 months ago

Associated pull request https://github.com/commonmark/cmark/pull/483