From 6301df86a2bbdb5fc6067d73004d72ec48590070 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Fri, 30 May 2025 20:22:18 +0530 Subject: [PATCH 1/2] add new rule for public domain license Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/3997 Signed-off-by: Alok Kumar --- src/licensedcode/data/rules/public-domain_544.RULE | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/licensedcode/data/rules/public-domain_544.RULE diff --git a/src/licensedcode/data/rules/public-domain_544.RULE b/src/licensedcode/data/rules/public-domain_544.RULE new file mode 100644 index 0000000000..f9d5902502 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_544.RULE @@ -0,0 +1,14 @@ +--- +license_expression: public-domain +is_license_tag: yes +ignorable_urls: + - https://github.com/stleary/JSON-java/blob/master/LICENSE +--- + + + + {{Public Domain}} + https://github.com/stleary/JSON-java/blob/master/LICENSE + repo + + From 02e10f50f8e8ac26c142b2e72c0d19b945437bce Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Thu, 26 Jun 2025 17:36:43 +0530 Subject: [PATCH 2/2] add required phrases Signed-off-by: Alok Kumar --- src/licensedcode/data/rules/public-domain_544.RULE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/licensedcode/data/rules/public-domain_544.RULE b/src/licensedcode/data/rules/public-domain_544.RULE index f9d5902502..d3d9917c99 100644 --- a/src/licensedcode/data/rules/public-domain_544.RULE +++ b/src/licensedcode/data/rules/public-domain_544.RULE @@ -6,8 +6,8 @@ ignorable_urls: --- - - {{Public Domain}} + {{ + Public Domain}} https://github.com/stleary/JSON-java/blob/master/LICENSE repo