From 37202b45376a00a6f13dbb46458ca631f95f6c62 Mon Sep 17 00:00:00 2001 From: Kevin Ji Date: Tue, 18 Jan 2022 13:53:01 -0800 Subject: [PATCH 1/2] Fix GPL license detection false positive #2793 Add a false-positive rule for a file in Android. Fixes #2793. Signed-off-by: Kevin Ji --- src/licensedcode/data/rules/false-positive_673.RULE | 1 + src/licensedcode/data/rules/false-positive_673.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 src/licensedcode/data/rules/false-positive_673.RULE create mode 100644 src/licensedcode/data/rules/false-positive_673.yml diff --git a/src/licensedcode/data/rules/false-positive_673.RULE b/src/licensedcode/data/rules/false-positive_673.RULE new file mode 100644 index 00000000000..1cae6558794 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_673.RULE @@ -0,0 +1 @@ +e.g. GPL in an MIT project might only apply to the contrib/ directory. \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_673.yml b/src/licensedcode/data/rules/false-positive_673.yml new file mode 100644 index 00000000000..175db80834c --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_673.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: seen in Android as a comment and not a license notice. \ No newline at end of file From 4b76d1376fa62929b5ba60715cdf9f6483a84d98 Mon Sep 17 00:00:00 2001 From: Kevin Ji Date: Tue, 18 Jan 2022 13:55:07 -0800 Subject: [PATCH 2/2] Update AUTHORS.rst --- AUTHORS.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.rst b/AUTHORS.rst index a62cb891de8..4c701f9dfe5 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -38,6 +38,7 @@ The following organizations or individuals have contributed to ScanCode: - Jiyeong Seok @dd-jy - Johannes Najjar @joshovi - Jose Nazario @paralax +- Kevin Ji @KevinJi22 - Lemo Shi @lemoshi - Li Ha @linexb - Mankaran Singh @MankaranSingh