Skip to content

Commit a7ee549

Browse files
Regen test expectations after removing license references as default
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 84eda21 commit a7ee549

File tree

160 files changed

+11
-23632
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+11
-23632
lines changed

tests/cluecode/data/plugin_filter_clues/filtered-expected.json

Lines changed: 0 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -20,97 +20,6 @@
2020
]
2121
}
2222
],
23-
"license_references": [
24-
{
25-
"key": "apache-1.1",
26-
"language": "en",
27-
"short_name": "Apache 1.1",
28-
"name": "Apache License 1.1",
29-
"category": "Permissive",
30-
"owner": "Apache Software Foundation",
31-
"homepage_url": "http://www.apache.org/licenses/",
32-
"notes": "Per SPDX.org, this license is OSI certified. This license has been\nsuperseded by Apache 2.0\n",
33-
"is_builtin": true,
34-
"is_exception": false,
35-
"is_unknown": false,
36-
"is_generic": false,
37-
"spdx_license_key": "Apache-1.1",
38-
"other_spdx_license_keys": [],
39-
"osi_license_key": "Apache-1.1",
40-
"text_urls": [
41-
"http://apache.org/licenses/LICENSE-1.1"
42-
],
43-
"osi_url": null,
44-
"faq_url": "http://www.apache.org/foundation/license-faq.html",
45-
"other_urls": [
46-
"http://opensource.org/licenses/Apache-1.1",
47-
"https://opensource.org/licenses/Apache-1.1"
48-
],
49-
"key_aliases": [],
50-
"minimum_coverage": 0,
51-
"standard_notice": null,
52-
"ignorable_copyrights": [
53-
"Copyright (c) 2000 The Apache Software Foundation"
54-
],
55-
"ignorable_holders": [
56-
"The Apache Software Foundation"
57-
],
58-
"ignorable_authors": [
59-
"the Apache Software Foundation (http://www.apache.org/)"
60-
],
61-
"ignorable_urls": [
62-
"http://www.apache.org/"
63-
],
64-
"ignorable_emails": [
65-
66-
],
67-
"text": "The Apache Software License, Version 1.1\n\nCopyright (c) 2000 The Apache Software Foundation. All rights\nreserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and/or other materials provided with the\n distribution.\n\n3. The end-user documentation included with the redistribution,\n if any, must include the following acknowledgment:\n \"This product includes software developed by the\n Apache Software Foundation (http://www.apache.org/).\"\n Alternately, this acknowledgment may appear in the software itself,\n if and wherever such third-party acknowledgments normally appear.\n\n4. The names \"Apache\" and \"Apache Software Foundation\" must\n not be used to endorse or promote products derived from this\n software without prior written permission. For written\n permission, please contact [email protected].\n\n5. Products derived from this software may not be called \"Apache\",\n nor may \"Apache\" appear in their name, without prior written\n permission of the Apache Software Foundation.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\nOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.",
68-
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.1.LICENSE",
69-
"licensedb_url": "https://scancode-licensedb.aboutcode.org/apache-1.1",
70-
"spdx_url": "https://spdx.org/licenses/Apache-1.1"
71-
}
72-
],
73-
"license_rule_references": [
74-
{
75-
"license_expression": "apache-1.1",
76-
"identifier": "apache-1.1_63.RULE",
77-
"language": "en",
78-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE",
79-
"is_license_text": true,
80-
"is_license_notice": false,
81-
"is_license_reference": false,
82-
"is_license_tag": false,
83-
"is_license_intro": false,
84-
"is_continuous": false,
85-
"is_builtin": true,
86-
"is_from_license": false,
87-
"is_synthetic": false,
88-
"length": 367,
89-
"relevance": 100,
90-
"minimum_coverage": 0,
91-
"referenced_filenames": [],
92-
"notes": null,
93-
"ignorable_copyrights": [
94-
"Copyright (c) The Apache Software Foundation",
95-
"copyright (c) 1999, International Business Machines, Inc., http://www.ibm.com"
96-
],
97-
"ignorable_holders": [
98-
"International Business Machines, Inc.",
99-
"The Apache Software Foundation"
100-
],
101-
"ignorable_authors": [
102-
"the Apache Software Foundation (http://www.apache.org/)"
103-
],
104-
"ignorable_urls": [
105-
"http://www.apache.org/",
106-
"http://www.ibm.com/"
107-
],
108-
"ignorable_emails": [
109-
110-
],
111-
"text": "is licensed under the\nApache Software License, Version 1.1, which is reproduced below.\n\n/*\n* The Apache Software License, Version 1.1\n*\n*\n* Copyright (c) The Apache Software Foundation. All rights\n* reserved.\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions\n* are met:\n*\n* 1. Redistributions of source code must retain the above copyright\n* notice, this list of conditions and the following disclaimer.\n*\n* 2. Redistributions in binary form must reproduce the above copyright\n* notice, this list of conditions and the following disclaimer in\n* the documentation and/or other materials provided with the\n* distribution.\n*\n* 3. The end-user documentation included with the redistribution,\n* if any, must include the following acknowledgment:\n* \"This product includes software developed by the\n* Apache Software Foundation (http://www.apache.org/).\"\n* Alternately, this acknowledgment may appear in the software itself,\n* if and wherever such third-party acknowledgments normally appear.\n*\n* 4. The names \"Xerces\" and \"Apache Software Foundation\" must\n* not be used to endorse or promote products derived from this\n* software without prior written permission. For written\n* permission, please contact [email protected].\n*\n* 5. Products derived from this software may not be called \"Apache\",\n* nor may \"Apache\" appear in their name, without prior written\n* permission of the Apache Software Foundation.\n*\n* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\n* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\n* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n* SUCH DAMAGE.\n* ====================================================================\n*\n* This software consists of voluntary contributions made by many\n* individuals on behalf of the Apache Software Foundation and was\n* originally based on software copyright (c) 1999, International\n* Business Machines, Inc., http://www.ibm.com. For more\n* information on the Apache Software Foundation, please see\n* <http://www.apache.org/>."
112-
}
113-
],
11423
"files": [
11524
{
11625
"path": "LICENSE",

tests/cluecode/data/plugin_filter_clues/filtered-expected2.json

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -20,81 +20,6 @@
2020
]
2121
}
2222
],
23-
"license_references": [
24-
{
25-
"key": "pygres-2.2",
26-
"language": "en",
27-
"short_name": "PyGres License 2.2",
28-
"name": "PyGres License v2.2",
29-
"category": "Permissive",
30-
"owner": "Unspecified",
31-
"homepage_url": null,
32-
"notes": null,
33-
"is_builtin": true,
34-
"is_exception": false,
35-
"is_unknown": false,
36-
"is_generic": false,
37-
"spdx_license_key": "LicenseRef-scancode-pygres-2.2",
38-
"other_spdx_license_keys": [],
39-
"osi_license_key": null,
40-
"text_urls": [
41-
"http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431"
42-
],
43-
"osi_url": null,
44-
"faq_url": null,
45-
"other_urls": [],
46-
"key_aliases": [],
47-
"minimum_coverage": 0,
48-
"standard_notice": null,
49-
"ignorable_copyrights": [
50-
"Copyright (c) 1995, Pascal Andre ([email protected])",
51-
"copyright 1997, 1998, 1999 by D'Arcy J.M. Cain ([email protected])"
52-
],
53-
"ignorable_holders": [
54-
"D'Arcy J.M. Cain",
55-
"Pascal Andre"
56-
],
57-
"ignorable_authors": [],
58-
"ignorable_urls": [],
59-
"ignorable_emails": [
60-
61-
62-
63-
],
64-
"text": "PyGres, version 2.2 A Python interface for PostgreSQL database. Written by\nD'Arcy J.M. Cain, ([email protected]). Based heavily on code written by\nPascal Andre, [email protected]. Copyright (c) 1995, Pascal Andre\n([email protected]).\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose, without fee, and without a written\nagreement is hereby granted, provided that the above copyright notice and\nthis paragraph and the following two paragraphs appear in all copies or in\nany new file that contains a substantial portion of this file.\n\nIN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\nSPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\nARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE\nAUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN \"AS IS\" BASIS, AND THE\nAUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,\nENHANCEMENTS, OR MODIFICATIONS.\n\nFurther modifications copyright 1997, 1998, 1999 by D'Arcy J.M. Cain\n([email protected]) subject to the same terms and conditions as above.",
65-
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE",
66-
"licensedb_url": "https://scancode-licensedb.aboutcode.org/pygres-2.2",
67-
"spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE"
68-
}
69-
],
70-
"license_rule_references": [
71-
{
72-
"license_expression": "pygres-2.2",
73-
"identifier": "pygres-2.2_2.RULE",
74-
"language": "en",
75-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE",
76-
"is_license_text": true,
77-
"is_license_notice": false,
78-
"is_license_reference": false,
79-
"is_license_tag": false,
80-
"is_license_intro": false,
81-
"is_continuous": false,
82-
"is_builtin": true,
83-
"is_from_license": false,
84-
"is_synthetic": false,
85-
"length": 145,
86-
"relevance": 100,
87-
"minimum_coverage": 0,
88-
"referenced_filenames": [],
89-
"notes": "from http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431",
90-
"ignorable_copyrights": [],
91-
"ignorable_holders": [],
92-
"ignorable_authors": [],
93-
"ignorable_urls": [],
94-
"ignorable_emails": [],
95-
"text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose, without fee, and without a written\nagreement is hereby granted, provided that the above copyright notice and\nthis paragraph and the following two paragraphs appear in all copies or in\nany new file that contains a substantial portion of this file.\n\nIN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\nSPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\nARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE\nAUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN \"AS IS\" BASIS, AND THE\nAUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,\nENHANCEMENTS, OR MODIFICATIONS."
96-
}
97-
],
9823
"files": [
9924
{
10025
"path": "LICENSE2",

tests/cluecode/data/plugin_filter_clues/filtered-expected3.json

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -20,95 +20,6 @@
2020
]
2121
}
2222
],
23-
"license_references": [
24-
{
25-
"key": "pcre",
26-
"language": "en",
27-
"short_name": "PCRE License",
28-
"name": "PCRE License",
29-
"category": "Permissive",
30-
"owner": "University of Cambridge",
31-
"homepage_url": "http://www.pcre.org/licence.txt",
32-
"notes": null,
33-
"is_builtin": true,
34-
"is_exception": false,
35-
"is_unknown": false,
36-
"is_generic": false,
37-
"spdx_license_key": "LicenseRef-scancode-pcre",
38-
"other_spdx_license_keys": [],
39-
"osi_license_key": null,
40-
"text_urls": [
41-
"http://www.pcre.org/licence.txt"
42-
],
43-
"osi_url": null,
44-
"faq_url": null,
45-
"other_urls": [],
46-
"key_aliases": [],
47-
"minimum_coverage": 0,
48-
"standard_notice": null,
49-
"ignorable_copyrights": [
50-
"Copyright (c) 1997-2001 University of Cambridge",
51-
"copyright by the University of Cambridge, England"
52-
],
53-
"ignorable_holders": [
54-
"University of Cambridge",
55-
"the University of Cambridge, England"
56-
],
57-
"ignorable_authors": [
58-
"Philip Hazel"
59-
],
60-
"ignorable_urls": [
61-
"ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/"
62-
],
63-
"ignorable_emails": [
64-
65-
],
66-
"text": "PCRE LICENCE \n------------ \n\nPCRE is a library of functions to support regular expressions whose\nsyntax and semantics are as close as possible to those of the Perl 5\nlanguage.\n\nWritten by: Philip Hazel <[email protected]>\nUniversity of Cambridge Computing Service, Cambridge, England. \nPhone: +44 1223 334714.\nCopyright (c) 1997-2001 University of Cambridge\n\nPermission is granted to anyone to use this software for any purpose on\nany computer system, and to redistribute it freely, subject to the\nfollowing restrictions:\n\n1. This software is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n2. The origin of this software must not be misrepresented, either by\nexplicit claim or by omission. In practice, this means that if you use\nPCRE in software which you distribute to others, commercially or\notherwise, you must put a sentence like this\n\"Regular expression support is provided by the PCRE library package,\nwhich is open source software, written by Philip Hazel, and copyright by\nthe University of Cambridge, England\" \n\nsomewhere reasonably visible in your documentation and in any relevant\nfiles or online help data or similar.\n\nA reference to the ftp site for the source, that is, to\nftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \nshould also be given in the documentation.\n\n3. Altered versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n4. If PCRE is embedded in any software that is released under the GNU\nGeneral Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),\nthen the terms of that licence shall supersede any condition above with\nwhich it is incompatible.\n\nThe documentation for PCRE, supplied in the \"doc\" directory, is\ndistributed under the same terms as the software itself.\n\nEnd PCRE LICENCE",
67-
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE",
68-
"licensedb_url": "https://scancode-licensedb.aboutcode.org/pcre",
69-
"spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE"
70-
}
71-
],
72-
"license_rule_references": [
73-
{
74-
"license_expression": "pcre",
75-
"identifier": "pcre.LICENSE",
76-
"language": "en",
77-
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE",
78-
"is_license_text": true,
79-
"is_license_notice": false,
80-
"is_license_reference": false,
81-
"is_license_tag": false,
82-
"is_license_intro": false,
83-
"is_continuous": false,
84-
"is_builtin": true,
85-
"is_from_license": true,
86-
"is_synthetic": false,
87-
"length": 303,
88-
"relevance": 100,
89-
"minimum_coverage": 0,
90-
"referenced_filenames": [],
91-
"notes": null,
92-
"ignorable_copyrights": [
93-
"Copyright (c) 1997-2001 University of Cambridge",
94-
"copyright by the University of Cambridge, England"
95-
],
96-
"ignorable_holders": [
97-
"University of Cambridge",
98-
"the University of Cambridge, England"
99-
],
100-
"ignorable_authors": [
101-
"Philip Hazel"
102-
],
103-
"ignorable_urls": [
104-
"ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/"
105-
],
106-
"ignorable_emails": [
107-
108-
],
109-
"text": "PCRE LICENCE\n------------\n\nPCRE is a library of functions to support regular expressions whose\nsyntax and semantics are as close as possible to those of the Perl 5\nlanguage.\n\nWritten by: Philip Hazel <[email protected]>\nUniversity of Cambridge Computing Service, Cambridge, England.\nPhone: +44 1223 334714.\nCopyright (c) 1997-2001 University of Cambridge\n\nPermission is granted to anyone to use this software for any purpose on\nany computer system, and to redistribute it freely, subject to the\nfollowing restrictions:\n\n1. This software is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n2. The origin of this software must not be misrepresented, either by\nexplicit claim or by omission. In practice, this means that if you use\nPCRE in software which you distribute to others, commercially or\notherwise, you must put a sentence like this\n\"Regular expression support is provided by the PCRE library package,\nwhich is open source software, written by Philip Hazel, and copyright by\nthe University of Cambridge, England\"\n\nsomewhere reasonably visible in your documentation and in any relevant\nfiles or online help data or similar.\n\nA reference to the ftp site for the source, that is, to\nftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\nshould also be given in the documentation.\n\n3. Altered versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n4. If PCRE is embedded in any software that is released under the GNU\nGeneral Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),\nthen the terms of that licence shall supersede any condition above with\nwhich it is incompatible.\n\nThe documentation for PCRE, supplied in the \"doc\" directory, is\ndistributed under the same terms as the software itself.\n\nEnd PCRE LICENCE"
110-
}
111-
],
11223
"files": [
11324
{
11425
"path": "LICENSE3",

tests/formattedcode/data/json/simple-expected.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"packages": [],
33
"dependencies": [],
44
"license_detections": [],
5-
"license_references": [],
6-
"license_rule_references": [],
75
"files": [
86
{
97
"path": "simple",

tests/formattedcode/data/json/simple-expected.jsonpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"packages": [],
33
"dependencies": [],
44
"license_detections": [],
5-
"license_references": [],
6-
"license_rule_references": [],
75
"files": [
86
{
97
"path": "simple",

0 commit comments

Comments
 (0)