From 1baf64438c869d3b30afe0bbd59c887c0035c914 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 14 Feb 2019 18:58:36 +0100 Subject: [PATCH] Improve help text Signed-off-by: Philippe Ombredanne --- src/scancode/help.py | 32 ++++++++----------- .../licenses/nuget/nuget_test_url_347.yml | 2 +- .../licenses/nuget/nuget_test_url_389.yml | 2 +- .../licenses/nuget/nuget_test_url_390.yml | 1 - .../licenses/nuget/nuget_test_url_392.yml | 3 +- .../plugin_license_text/scan.expected.json | 22 ++++++------- 6 files changed, 27 insertions(+), 35 deletions(-) diff --git a/src/scancode/help.py b/src/scancode/help.py index 6c9a808be0f..cc7cbc799db 100644 --- a/src/scancode/help.py +++ b/src/scancode/help.py @@ -4,9 +4,9 @@ (Note for Windows: use '\\' back slash instead of '/' forward slash for paths.) -Scan a single file for copyrights. Print scan results to stdout as JSON: +Scan a single file for copyrights. Print scan results to stdout as pretty JSON: - scancode --copyright samples/zlib/zlib.h --json + scancode --copyright samples/zlib/zlib.h --json-pp - Scan a single file for licenses, print verbose progress to stderr as each file is scanned. Save scan to a JSON file: @@ -16,19 +16,20 @@ Scan a directory explicitly for licenses and copyrights. Redirect JSON scan results to a file: - scancode --json -l -c samples/zlib/ > scan.json + scancode --license --copyright samples/zlib/ --json - > scan.json -Scan a directory while ignoring a single file. -Print scan results to stdout as JSON: +Scan a directory while ignoring a single file. Scan for license, copyright and +package manifests. Use four parallel processes. +Print scan results to stdout as pretty formatted JSON. - scancode --json --ignore README samples/ + scancode -lc --package --ignore README --processes 4 --json-pp - samples/ Scan a directory while ignoring all files with .txt extension. -Print scan results to stdout as JSON. +Print scan results to stdout as pretty formatted JSON. It is recommended to use quotes around glob patterns to prevent pattern expansion by the shell: - scancode --json --ignore "*.txt" samples/ + scancode --json-pp - --ignore "*.txt" samples/ Special characters supported in GLOB pattern: - * matches everything @@ -43,25 +44,18 @@ Note: Glob patterns cannot be applied to path as strings. For example, this will not ignore "samples/JGroups/licenses". - scancode --json --ignore "samples*licenses" samples/ + scancode --json - --ignore "samples*licenses" samples/ Scan a directory while ignoring multiple files (or glob patterns). Print the scan results to stdout as JSON: - scancode --json --ignore README --ignore "*.txt" samples/ - -Scan the 'samples' directory for licenses and copyrights. Save scan results to -an HTML app file for interactive scan results navigation. When the scan is done, -open 'scancode_result.html' in your web browser. Note that additional app files -are saved in a directory named 'scancode_result_files': - - scancode --html-app scancode_result.html samples/ + scancode --json - --ignore README --ignore "*.txt" samples/ Scan a directory for licenses and copyrights. Save scan results to an HTML file: - scancode --html scancode_result.html samples/zlib + scancode --license --copyright --html scancode_result.html samples/zlib To extract archives, see the 'extractcode' command instead. ''' @@ -72,7 +66,7 @@ Scan the 'samples' directory for licenses and copyrights. Save scan results to the 'scancode_result.json' JSON file: - scancode --license --copyright --json=scancode_result.json samples + scancode --license --copyright --json-pp scancode_result.json samples \b Scan the 'samples' directory for licenses and package manifests. Print scan diff --git a/tests/licensedcode/data/licenses/nuget/nuget_test_url_347.yml b/tests/licensedcode/data/licenses/nuget/nuget_test_url_347.yml index 48dbea39e59..a24a633daf7 100644 --- a/tests/licensedcode/data/licenses/nuget/nuget_test_url_347.yml +++ b/tests/licensedcode/data/licenses/nuget/nuget_test_url_347.yml @@ -1,3 +1,3 @@ license_expressions: - - gpl-1-.0-plus + - gpl-1.0-plus expected_failure: yes diff --git a/tests/licensedcode/data/licenses/nuget/nuget_test_url_389.yml b/tests/licensedcode/data/licenses/nuget/nuget_test_url_389.yml index 48dbea39e59..a24a633daf7 100644 --- a/tests/licensedcode/data/licenses/nuget/nuget_test_url_389.yml +++ b/tests/licensedcode/data/licenses/nuget/nuget_test_url_389.yml @@ -1,3 +1,3 @@ license_expressions: - - gpl-1-.0-plus + - gpl-1.0-plus expected_failure: yes diff --git a/tests/licensedcode/data/licenses/nuget/nuget_test_url_390.yml b/tests/licensedcode/data/licenses/nuget/nuget_test_url_390.yml index d7122374022..3143a7b48bb 100644 --- a/tests/licensedcode/data/licenses/nuget/nuget_test_url_390.yml +++ b/tests/licensedcode/data/licenses/nuget/nuget_test_url_390.yml @@ -1,3 +1,2 @@ license_expressions: - agpl-3.0 -expected_failure: yes diff --git a/tests/licensedcode/data/licenses/nuget/nuget_test_url_392.yml b/tests/licensedcode/data/licenses/nuget/nuget_test_url_392.yml index 48dbea39e59..6370d665e1d 100644 --- a/tests/licensedcode/data/licenses/nuget/nuget_test_url_392.yml +++ b/tests/licensedcode/data/licenses/nuget/nuget_test_url_392.yml @@ -1,3 +1,2 @@ license_expressions: - - gpl-1-.0-plus -expected_failure: yes + - gpl-1.0-plus diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index 0117988b034..d0556b62435 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -98,7 +98,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Copyright (c) The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see ." }, { "key": "public-domain", @@ -132,7 +132,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Copyright (c) The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see ." } ], "license_expressions": [ @@ -195,7 +195,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Copyright (c) The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see ." }, { "key": "public-domain", @@ -229,7 +229,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Copyright (c) The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see The Apache Group. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare 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. All advertising materials mentioning features or use of this\n software must display the following acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\n endorse or promote products derived from this software without\n prior written permission. For written permission, please contact\n apache@apache.org.\n \n 5. Products derived from this software may not be called \"Apache\"\n nor may \"Apache\" appear in their names without prior written\n permission of the Apache Group.\n \n 6. Redistributions of any form whatsoever must retain the following\n acknowledgment:\n \"This product includes software developed by the Apache Group\n for use in the Apache HTTP server project (http://www.apache.org/).\"\n \n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\n This software consists of voluntary contributions made by many\n individuals on behalf of the Apache Group and was originally based\n on public domain software written at the National Center for\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\n For more information on the Apache Group and the Apache HTTP server\n project, please see ." } ], "license_expressions": [ @@ -291,7 +291,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the JA-SIG collaborative or its contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage" + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the JA-SIG collaborative or its contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." }, { "key": "apache-2.0", @@ -324,7 +324,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License" + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." } ], "license_expressions": [ @@ -389,7 +389,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib" + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { "key": "linux-syscall-exception-gpl", @@ -424,7 +424,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib" + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { "key": "linux-openib", @@ -459,7 +459,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib" + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ], "license_expressions": [ @@ -521,7 +521,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the JA-SIG collaborative or its contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage" + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the JA-SIG collaborative or its contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." }, { "key": "apache-2.0", @@ -554,7 +554,7 @@ "match_coverage": 100.0, "rule_relevance": 100 }, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License" + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." } ], "license_expressions": [