From 3d4fef145314dc4ab093282e269a4976c073ac3a Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Thu, 24 Apr 2025 07:15:06 -0600 Subject: [PATCH 1/2] update license info --- LICENSE.txt | 2 +- testsuite/clean_xml.py | 35 ++-------------------------- testsuite/console.py | 35 ++-------------------------- testsuite/constants.py | 35 ++-------------------------- testsuite/generate_sch.py | 35 ++-------------------------- testsuite/tests/test_generate_sch.py | 35 ++-------------------------- testsuite/tests/test_validate_sch.py | 35 ++-------------------------- 7 files changed, 13 insertions(+), 199 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 9bccfa2..4a9eb32 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, and other contributors. +BuildingSync®, Copyright (c) 2015-2025, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. diff --git a/testsuite/clean_xml.py b/testsuite/clean_xml.py index d836811..265c790 100644 --- a/testsuite/clean_xml.py +++ b/testsuite/clean_xml.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ from lxml import etree diff --git a/testsuite/console.py b/testsuite/console.py index d2871a1..d3b0b74 100755 --- a/testsuite/console.py +++ b/testsuite/console.py @@ -1,39 +1,8 @@ #!/usr/bin/env python3 """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ import argparse diff --git a/testsuite/constants.py b/testsuite/constants.py index 320b15b..2d5f9cc 100644 --- a/testsuite/constants.py +++ b/testsuite/constants.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ BSYNC_NS = "http://buildingsync.net/schemas/bedes-auc/2019" diff --git a/testsuite/generate_sch.py b/testsuite/generate_sch.py index 28f0567..85bc10a 100644 --- a/testsuite/generate_sch.py +++ b/testsuite/generate_sch.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ import copy diff --git a/testsuite/tests/test_generate_sch.py b/testsuite/tests/test_generate_sch.py index e980d75..4b4f85f 100644 --- a/testsuite/tests/test_generate_sch.py +++ b/testsuite/tests/test_generate_sch.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ from lxml import etree diff --git a/testsuite/tests/test_validate_sch.py b/testsuite/tests/test_validate_sch.py index 357d866..a36cc5b 100644 --- a/testsuite/tests/test_validate_sch.py +++ b/testsuite/tests/test_validate_sch.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ import os From 4499311e10b1db286f666abd4a3f489cc8e5d9d3 Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Thu, 24 Apr 2025 07:21:40 -0600 Subject: [PATCH 2/2] missed file --- testsuite/validate_sch.py | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/testsuite/validate_sch.py b/testsuite/validate_sch.py index d48126d..ff28414 100644 --- a/testsuite/validate_sch.py +++ b/testsuite/validate_sch.py @@ -1,37 +1,6 @@ """ -********************************************************************************************************* -:copyright (c) BuildingSync®, Copyright (c) 2015-2021, Alliance for Sustainable Energy, LLC, -and other contributors. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted -provided that the following conditions are met: - -(1) Redistributions of source code must retain the above copyright notice, this list of conditions -and the following disclaimer. - -(2) 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. - -(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse -or promote products derived from this software without specific prior written permission from the -respective party. - -(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other -derivative works may not use the "BuildingSync" trademark or any other confusingly similar designation -without specific prior written permission from Alliance for Sustainable Energy, LLC. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER(S), ANY -CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF -THEIR EMPLOYEES, 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. -********************************************************************************************************* +BuildingSync®, Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. +See also https://github.com/BuildingSync/TestSuite/blob/main/LICENSE.txt """ from collections import namedtuple