I would like to include some code from Stack Overflow, but I’m not sure what 
the guidance is regarding that. My specific use case is some code here.[1]

I went poking around on SO, to discover what the licensing terms on code there 
and discovered that for code before March 1 2016 code was licensed under 
CC-BY-SA. after March 1, 2016 it’s licensed under MIT.[2]

My understanding is that CC-BY-SA is “strong copyleft” and not really 
compatible with Apache licensing. Is that right? Does that mean we can not use 
even small code snippets from SO from before March 2016?

For code from after March 2016, where should attribution be put? Should a link 
be included in the code? A mention of the author in NOTICE? Should we include a 
link back to the SO post?

Should this be asked on legal?

Harbs

[1]https://stackoverflow.com/a/2401861
[2]https://meta.stackexchange.com/questions/272956/a-new-code-license-the-mit-this-time-with-attribution-required?cb=1

Reply via email to