List of Apache2 - text.Baldanders.infotag:text.Baldanders.info,2015-11-26:/tags2015-11-26T20:26:45+09:00帰ってきた「しっぽのさきっちょ」https://text.baldanders.info/images/avatar.jpghttps://text.baldanders.info/images/avatar.jpgHugo 0.15 が Apache License 2.0 下でリリースtag:text.Baldanders.info,2015-11-26:/release/2015/11/hugo-0_15-released-under-apache2/2015-11-26T11:26:45+00:002019-07-02T13:50:07+00:00追加された機能が盛りだくさんあり詳しくは上のリンク先を確認していただくとして,実は今回の目玉はライセンスのアップグレードである。Spiegelhttps://baldanders.info/profile/<p><a href="https://github.com/gohugoio/hugo/">Repository</a> ではしばらく前からリリース準備が行われていて wktk 状態で待っていたのだが,ようやくリリースの運びとなった。</p>
<ul>
<li><a href="https://github.com/gohugoio/hugo/releases/tag/v0.15">Release v0.15 · gohugoio/hugo</a></li>
</ul>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">C:> hugo version
</span></span><span class="line"><span class="cl">Hugo Static Site Generator v0.15 BuildDate: 2015-11-25T14:35:20+09:00
</span></span></code></pre></div><p>追加された機能が盛りだくさんあり詳しくは上のリンク先を確認していただくとして,実は今回の目玉はライセンスのアップグレードである。</p>
<p><a href="https://gohugo.io/" title="The world’s fastest framework for building websites | Hugo">Hugo</a> のライセンスは <a href="https://opensource.org/licenses/Simple-2.0">Simple Public License (SimPL) 2.0</a> だったのだが,これを企業ユーザでも利用しやすい一般的なライセンスにしてくれという要望というか議論は随分前からあったらしい。</p>
<ul>
<li><a href="https://github.com/gohugoio/hugo/issues/201">Upgrade the license to an open one · Issue #201 · gohugoio/hugo</a></li>
</ul>
<p><a href="https://opensource.org/licenses/Simple-2.0" title="Simple Public License (SimPL-2.0) | Open Source Initiative">SimPL-2.0</a> はオープンソース・ライセンスのひとつで GPLv2 を(文字通り)よりシンプルに記述したもののようである。</p>
<figure lang="en">
<blockquote>
<q>This Simple Public License 2.0 (SimPL-2.0 for short) is a plain language implementation of GPL 2.0. The words are different, but the goal is the same - to guarantee for all users the freedom to share and change software. If anyone wonders about the meaning of the SimPL, they should interpret it as consistent with GPL 2.0.</q>
</blockquote>
<figcaption><div>via <q><a href="https://opensource.org/licenses/Simple-2.0">Simple Public License (SimPL-2.0)</a></q></div></figcaption>
</figure>
<p>当初は GPL や MIT ライセンスなどが候補に挙がっていたようだが,最終的には <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> (<a href="https://osdn.jp/projects/opensource/wiki/licenses%2FApache_License_2.0">日本語訳</a>)に決まった。
<a href="http://www.apache.org/licenses/LICENSE-2.0" title="Apache License, Version 2.0">Apache-2.0</a> は copyleft ではないがオープンソース・ライセンスのひとつであり,特許の終了規定やコード等の寄与(contribution)に関する規定があるのが特徴。
さらに <a href="http://www.gnu.org/licenses/license-list.ja.html#apache2">GPLv3 と互換性のあるライセンス</a>として認められている。</p>
<p><a href="https://gohugo.io/" title="The world’s fastest framework for building websites | Hugo">Hugo</a> ではユーザによるコードの寄与が結構あるため,この点が <a href="http://www.apache.org/licenses/LICENSE-2.0" title="Apache License, Version 2.0">Apache-2.0</a> を選択する決め手になったようだ。</p>
<p><a href="https://github.com/" title="GitHub">GitHub</a> などは pull request で気軽にコードを寄与できるメリットがあるが,寄与されたコードの扱いが問題になることもある。
Copyleft であれば寄与されたコードも自動的に元のライセンスに従うため混乱は少ないが,そうでない場合は <a href="http://www.apache.org/licenses/LICENSE-2.0" title="Apache License, Version 2.0">Apache-2.0</a> のような明示的な規定が必要になるだろう<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>。</p>
<h2 id="bookmark">ブックマーク</h2>
<p><a href="https://text.baldanders.info/hugo/bookmark/">Hugo に関するブックマークはこちら</a>。</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>更に言うと, <a href="https://golang.org/" title="The Go Programming Language">Go 言語</a>では気軽にパッケージを import できるが,最終的な製品のライセンスをどうするかは結構重要な問題である。 <a href="https://gohugo.io/" title="The world’s fastest framework for building websites | Hugo">Hugo</a> のライセンス・アップグレードの際には,この辺の確認でも時間がかかった感じだ。事ほど左様にライセンスの互換性とは重要な問題なのである。ちなみに <a href="https://gohugo.io/" title="The world’s fastest framework for building websites | Hugo">Hugo</a> のようなコード・ジェネレータあるいはもっと広く CASE (Computer Aided Software Engineering) ツールが生成するコードが誰に帰属するのかは,また別の問題である。 <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
</li>
</ol>
</div>