TL; DR 由于第3方许可证文件,ruby gem许可证(GitHub依赖于该许可证)无法识别我的ISC许可证,但是该文件只有一个依赖项,并且还具有一个ISC许可证。我可以在license-3rd-party文件中做些什么来让被许可方识别。
我想向现有GitHub项目添加许可证,如this问题中所述。 My project拥有LICENCE.md文件中所述的ISC许可证,并且我确保许可证文本完全正确。
我希望您能在其他项目中看到很酷的许可证概述,例如Jake Archibald的idb项目,该项目在我的项目中用作可选依赖项:
我希望我的许可证类型在主页上明确显示:
但是,当我添加ISC许可证文件时,我没有得到概述,并且该许可证在主页上未被识别:
我玩过命名(license,LICENSE,LICENSE.md)。我检查了我的package.json,它实际上具有ISC许可证。两者都与“ idb”项目相同,当然除了作者姓名,但该项目获得了署名,而我的却没有。
我了解到GitHub使用ruby gem'licencee'来获取许可证文本。经过艰苦的安装ruby的苦难,克服了许多安装错误,我终于在设备上获得了被许可方。我将它与我的相对,并得到以下输出:
License: NOASSERTION
Matched files: LICENSE.md, license-3rd-party, package.json
LICENSE.md:
Content hash: d168f98624be864548b2bbf4f198fdbf702d6743
Attribution: Copyright (c) 2019, Paul Wilcox <t78t78@gmail.com>
Confidence: 100.00%
Matcher: Licensee::Matchers::Exact
License: ISC
license-3rd-party:
Content hash: 13a69c2398f27e92914f6e544f7304d21adf9ae4
License: NOASSERTION
package.json:
Confidence: 90.00%
Matcher: Licensee::Matchers::NpmBower
License: ISC
好吧,在我看来,罪魁祸首是第三方许可证文件。因此,我将其重命名为xlicense-3rd-party只是为了查看输出会发生什么:
License: ISC
Matched files: LICENSE.md, package.json
LICENSE.md:
Content hash: d168f98624be864548b2bbf4f198fdbf702d6743
Attribution: Copyright (c) 2019, Paul Wilcox <t78t78@gmail.com>
Confidence: 100.00%
Matcher: Licensee::Matchers::Exact
License: ISC
package.json:
Confidence: 90.00%
Matcher: Licensee::Matchers::NpmBower
License: ISC
宾果!在撰写本文时,概述尚未反映在我的GitHub项目上,但我认为这是一个缓存问题或类似问题。我认为这很快就会反映出来。但是,上面的第1行现在反映了ISC的事实对于这个问题无疑已经足够了。
第3方许可证文件仅反映了一个依赖性,即“ idb”项目,该项目也具有一个ISC文件:
Name: idb
Version: 2.1.3
License: ISC
Private: false
Description: IndexedDB but with promises
Repository: git://github.com/jakearchibald/indexeddb-promised.git
Homepage: https://github.com/jakearchibald/indexeddb-promised#readme
Author: Jake Archibald
License Copyright:
===
ISC License (ISC)
Copyright (c) 2016, Jake Archibald <jaffathecake@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
现在,问题是:
如果要更改许可证第3方文件,我可以怎么做,以使被许可方不会扼杀我的项目是ISC的总体发现?