On Tue, Oct 18, 2011 at 12:04:32PM +0100, Angus Thomas wrote:
<#include Usual IANAL caveats>
The apache project has some notes on merging those licenses:
http://apache.org/legal/resolved.html which makes clear that works under
the MIT license may be included in ASL-licensed code.
Awesome. I couldn't find this on a search yesterday, but this is exactly
the thing I was hoping to find.
The sole caveat arising from the MIT license is that the original
copyright notice and the permission notice has to be copied along with
the code, if the amount of code being copied is a "substantial portion"
of the original software.
The code is definitely not a "substantial portion," though I agree that
it's better to err on the side of caution.
A handful of lines from Active Resource isn't likely to be
interpreted
as a substantial portion of the original software, however, the safest
approach would be to include the original copyright notice and the
permission notice anyway.
Is it possible to isolate the copied code in a separate file, in order
to simplify the representation of the lines to which the MIT license
applies?
Not just the copied code, because it necessarily has to mash their code
with ours.
However, it _is_ isolated to a single newly-added file that contains
their code and my tweaks to make it work with OAuth. We could license
that whole file under the MIT license.
-- Matt