Skip to content

Why are libraries bundled instead of using submodules? #6785

Answered by ethomson
GravisZro asked this question in Q&A
Discussion options

You must be logged in to vote

When bundling code you have to incorporate the foreign code's license into the license file which is why the license for libgit2 is actually a list of 17 different licenses.

Why do you believe that you would need to incorporate the license if it's bundled in-tree but it would be different if it would be bundled as submodules? How does the resultant binary change and how does the license affect that?

Is this opinion driven by discussions with your IP counsel?

In any case, I'm unlikely to start using submodules for our dependencies. The ergonomics are not good for the libgit2 developers or our users.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GravisZro
Comment options

@GravisZro
Comment options

@ethomson
Comment options

Answer selected by GravisZro
@GravisZro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants