jdolitsky / AppDotNetPHP

PHP library for the App.net Stream API
34 stars 19 forks source link

What is the license of this code? #45

Closed timpritlove closed 11 years ago

timpritlove commented 11 years ago

Is this code published under a free license? Which license is it?

Would love to re-use the code but would need at least a BSD compatible license to do so.

ravisorg commented 11 years ago

@jdolitsky - this is your call. I like to use MIT's 3 clause license on my own projects, but this is your baby, I'll go with whatever you choose...

jdolitsky commented 11 years ago

@ravisorg @timpritlove what is the most permissive license?

ravisorg commented 11 years ago

My bad, the 3 clause BSD license, not the MIT one, is what I use. And it's pretty bloody permissive :) Basically you can do anything with it, including using it for commercial purposes. The three clause version contains an extra bit that says you can't use the names of the authors when promoting products that use the code, which I like because personally I don't want to have my name used anywhere. For your review:

Copyright (c) 2012, Josh Dolitsky
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the Josh Dolitsky nor the names of its 
      contributors may be used to endorse or promote products derived 
      from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL TRAVIS RICHARDSON BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jdolitsky commented 11 years ago

@timpritlove does this work for your purposes?

timpritlove commented 11 years ago

Yes, 3 clause BSD license is fine.

jdolitsky commented 11 years ago

ok, license added to the readme