Licensing Question

polaris · · 33 次点击    
<p>I&#39;m currently working on something that is making quite a bit of use of looking through one of Go&#39;s standard library package&#39;s internals and basically copy/pasting to some extent. I don&#39;t intend to make any money off of it or even promote myself with it, but I figured it&#39;d be useful to share it on github or something eventually when it works. What I don&#39;t know is how that interacts with licensing, as I&#39;m not particularly well versed in copyright law. Go&#39;s license (included in my <code>/usr/local/go</code> directory) says this</p> <blockquote> <p>Copyright (c) 2009 The Go Authors. All rights reserved.</p> <p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p> <ul> <li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li> <li>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.</li> <li>Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li> </ul> <p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#34;AS IS&#34; 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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.</p> </blockquote> <p>How do I use their code (as in I&#39;m literally looking at unexported functions and making them exported or part of my package to some extent) in my project so that I&#39;m not violating this?</p> <hr/>**评论:**<br/><br/>fckthememeculture: <pre><p>Just add that Go copyright header to the top of the file, then add the license to the top of the file or in a file that accompanies your project. then add your own copyright header and compatible license in the same manner. I&#39;d use a simplified 2-clause bsd license, as the third clause is considered implied in copyright law. The permissions in the license grant you to whatever so long as your changes are licensed under a compatible license.</p> <p>In fact some are banking on it- hoping to do with the Go ecosystem what so many did with the BSD source.</p></pre>Sythe2o0: <pre><p>IANAL, this isn&#39;t legal advice. What I would do is, if you&#39;re planning on a commercial deal ever, consulting someone who is a lawyer / can give you legal advice. </p> <p>As long as you aren&#39;t doing that, what I would do is copy the license and include it in the repo I was using. Some people choose to apply their license to every file that needs it, as a header to the file. IMO that is excessive.</p></pre>my_dev_acct: <pre><p>Definitely not anything commercial. Just a small tool I built to help myself with something the other day that I couldn&#39;t find anywhere else.</p> <p>So you think I copy that exact license? Do I put my information in there anywhere? It seems strange that the copyright would be to &#34;The Go Authors&#34; if it isn&#39;t entirely their work and I&#39;m not a representative of the Go authors. To what extent does it matter how much of the original source I copy?</p></pre>Sythe2o0: <pre><p>If it&#39;s only one or two files, I&#39;d put the license in those files only. There isn&#39;t a good answer to &#34;how much is enough to justify the use of a license&#34;</p></pre>tscs37: <pre><p>It&#39;s a BSD License + Patent Grant, it should be similar to this: <a href="" rel="nofollow"></a></p> <p>TL;DR: Commercial Use, Modification, Distribution and placing warranties is allowed, however, you cannot use google&#39;s trademorks or hold them liable. You <em>must</em> include the copyright and license notice in all distributions of substantial parts of the source.</p></pre>
33 次点击  
加入收藏 微博
0 回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet