On 17/10/11 19:57, Matt Wagner wrote:
- My goal was to monkey-patch Active Resource to add OAuth
support[1]. Doing so meant that I had to duplicate a handful of lines of code from Active
Resource into our project. It would be fantastic if someone more familiar with the ASL
(used for aeolus-image-rubygem) and the MIT license (under which Active Resource is
released) could confirm that this is kosher before I commit this code. We could also just
license this module under the MIT license if that would avoid a licensing headache.
<#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.
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.
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?
Angus