aboutcode-org / aboutcode-org/scancode-toolkit

Text "under CDDL/LGPL dual license" not recognized by license scan

オープン
#3,358 コメント 1 件 リアクション 0 件 担当者 1 名 @AyanSinhaMahapatra が担当を希望しています GitHub で見る
bug license-review
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

In a recent scan of tika-parsers-1.28.5-sources.jar the text "under CDDL/LGPL dual license" was not detected as a choice of `cddl-1.0 OR lgpl-2.1-plus` but instead returned `unknown-license-reference` based on a match with just the "dual license" part as detected using unknown-license-reference_318.RULE. The file in question is at
/org/apache/tika/parser/code/SourceCodeParser.java

The code context is:
/**
* Generic Source code parser for Java, Groovy, C++.
* Aware: This parser uses JHightlight library (https://github.com/codelibs/jhighlight) under CDDL/LGPL dual license
*
* @author Hong-Thai.Nguyen
* @since 1.6
*/

I checked the JHighlight project on GitHub and the COPYING file states:
It is distributed under the terms of either:
- the common development and distribution license (CDDL), v1.0; or
- the GNU Lesser General Public License, v2.1 or later

If possible, it would be nice if the license detection process would resolve this situation to `cddl-1.0 OR lgpl-2.1-plus` .

I am of the opinion (arguable of course) that just CDDL can be interpreted as cddl-1.0 and just LGPL can be interpreted as lgpl-2.1-plus, since those are very commonly found in such cases.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。