diff --git a/config/config-package.py b/config/config-package.py index 739f3e9..cc1dff3 100755 --- a/config/config-package.py +++ b/config/config-package.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2019 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## #!/usr/bin/env python3 from functools import cached_property from shared.call import abort diff --git a/config/drop-legacy-python.py b/config/drop-legacy-python.py index aec2cc6..1d3ae3a 100644 --- a/config/drop-legacy-python.py +++ b/config/drop-legacy-python.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2022 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## #!/usr/bin/env', 'python3 from shared.call import call from shared.call import wait_for_accept diff --git a/config/meta-cfg-to-toml.py b/config/meta-cfg-to-toml.py index 1955b32..a8d7254 100644 --- a/config/meta-cfg-to-toml.py +++ b/config/meta-cfg-to-toml.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2020 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## #!/usr/bin/env python3 from configparser import ConfigParser from shared.call import call diff --git a/config/multi-call.py b/config/multi-call.py index 0253135..b4f8566 100644 --- a/config/multi-call.py +++ b/config/multi-call.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2020 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## #!/usr/bin/env python3 from shared.call import call from shared.packages import list_packages diff --git a/config/re-enable-actions.py b/config/re-enable-actions.py index be09079..a350d2d 100644 --- a/config/re-enable-actions.py +++ b/config/re-enable-actions.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2021 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## #!/bin/env python3 from shared.call import call from shared.packages import list_packages diff --git a/config/shared/call.py b/config/shared/call.py index 0b18ae7..fd16b5c 100644 --- a/config/shared/call.py +++ b/config/shared/call.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2020 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## import subprocess import sys diff --git a/config/shared/git.py b/config/shared/git.py index 2cd648f..88f8c1d 100644 --- a/config/shared/git.py +++ b/config/shared/git.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2022 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## from .call import call from .path import change_dir import pathlib diff --git a/config/shared/packages.py b/config/shared/packages.py index 83b1dcf..5dee802 100644 --- a/config/shared/packages.py +++ b/config/shared/packages.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2021 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## import pathlib diff --git a/config/shared/path.py b/config/shared/path.py index 42a81c3..a1f83c7 100644 --- a/config/shared/path.py +++ b/config/shared/path.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2020 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## import argparse import contextlib import os diff --git a/config/shared/toml_encoder.py b/config/shared/toml_encoder.py index a75b72c..e84625f 100644 --- a/config/shared/toml_encoder.py +++ b/config/shared/toml_encoder.py @@ -1,3 +1,15 @@ +############################################################################## +# +# Copyright (c) 2020 Zope Foundation and Contributors. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## import toml