From f48b797645d2a83fae6472aaaddb4e8528baf3a1 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Mon, 20 Jan 2025 18:41:35 +0530 Subject: [PATCH 1/3] new_rule_for_postgresql Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/4010 Signed-off-by: Alok Kumar --- .../data/rules/postgresql_37.RULE | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/licensedcode/data/rules/postgresql_37.RULE diff --git a/src/licensedcode/data/rules/postgresql_37.RULE b/src/licensedcode/data/rules/postgresql_37.RULE new file mode 100644 index 0000000000..1d55873962 --- /dev/null +++ b/src/licensedcode/data/rules/postgresql_37.RULE @@ -0,0 +1,23 @@ +--- +license_expression: postgresql +is_license_text: yes +relevance: 100 +notes: https://raw.githubusercontent.com/pgvector/pgvector/refs/heads/master/LICENSE +--- + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file From 93a0c1bc0da3d13f1846552c319539df5ec1af6c Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Mon, 20 Jan 2025 19:18:16 +0530 Subject: [PATCH 2/3] refining_postgresql_rule Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/4010 Signed-off-by: Alok Kumar --- .../data/rules/postgresql_37.RULE | 23 -------------- src/licensedcode/data/rules/postgresql_8.RULE | 31 ++++++++++--------- 2 files changed, 16 insertions(+), 38 deletions(-) delete mode 100644 src/licensedcode/data/rules/postgresql_37.RULE diff --git a/src/licensedcode/data/rules/postgresql_37.RULE b/src/licensedcode/data/rules/postgresql_37.RULE deleted file mode 100644 index 1d55873962..0000000000 --- a/src/licensedcode/data/rules/postgresql_37.RULE +++ /dev/null @@ -1,23 +0,0 @@ ---- -license_expression: postgresql -is_license_text: yes -relevance: 100 -notes: https://raw.githubusercontent.com/pgvector/pgvector/refs/heads/master/LICENSE ---- - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose, without fee, and without a written agreement -is hereby granted, provided that the above copyright notice and this -paragraph and the following two paragraphs appear in all copies. - -IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR -DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING -LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS -DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS -ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO -PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file diff --git a/src/licensedcode/data/rules/postgresql_8.RULE b/src/licensedcode/data/rules/postgresql_8.RULE index c9de19778c..07704b1155 100644 --- a/src/licensedcode/data/rules/postgresql_8.RULE +++ b/src/licensedcode/data/rules/postgresql_8.RULE @@ -1,21 +1,22 @@ --- license_expression: postgresql is_license_text: yes +notes: https://github.com/postgrespro/pg_probackup/blob/cde244e1bab9f25e03380f17c8f7d921f7f2e9c5/LICENSE --- Permission to use, copy, modify, and distribute this software and its - documentation for any purpose, without fee, and without a written agreement - is hereby granted, provided that the above copyright notice and this - paragraph and the following two paragraphs appear in all copies. - - IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR - DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING - LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS - DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO - PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file From 06d46c26f5e9b8c7856148da608f1539e05d5a53 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Mon, 20 Jan 2025 18:41:35 +0530 Subject: [PATCH 3/3] refining_postgresql_rule Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/4010 Signed-off-by: Alok Kumar --- src/licensedcode/data/rules/postgresql_8.RULE | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/licensedcode/data/rules/postgresql_8.RULE b/src/licensedcode/data/rules/postgresql_8.RULE index c9de19778c..07704b1155 100644 --- a/src/licensedcode/data/rules/postgresql_8.RULE +++ b/src/licensedcode/data/rules/postgresql_8.RULE @@ -1,21 +1,22 @@ --- license_expression: postgresql is_license_text: yes +notes: https://github.com/postgrespro/pg_probackup/blob/cde244e1bab9f25e03380f17c8f7d921f7f2e9c5/LICENSE --- Permission to use, copy, modify, and distribute this software and its - documentation for any purpose, without fee, and without a written agreement - is hereby granted, provided that the above copyright notice and this - paragraph and the following two paragraphs appear in all copies. - - IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR - DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING - LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS - DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO - PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file