diff --git a/lib/tools/aggregation.py b/lib/tools/aggregation.py old mode 100644 new mode 100755 index b11e24932..821bf031e --- a/lib/tools/aggregation.py +++ b/lib/tools/aggregation.py @@ -1,4 +1,12 @@ -#! /bin/env python3 +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# # Disclaimer: this script was written solely using GitHub Copilot. # I wrote "prompt" comments and the whole thing was generated by Copilot. diff --git a/lib/tools/call-stack-analyze.py b/lib/tools/call-stack-analyze.py old mode 100644 new mode 100755 index 00a7e169f..2fc88e5ff --- a/lib/tools/call-stack-analyze.py +++ b/lib/tools/call-stack-analyze.py @@ -1,3 +1,12 @@ +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import os import sys diff --git a/lib/tools/common/aggregation_utils.py b/lib/tools/common/aggregation_utils.py old mode 100644 new mode 100755 index cddff17b9..5dceb6e00 --- a/lib/tools/common/aggregation_utils.py +++ b/lib/tools/common/aggregation_utils.py @@ -1,3 +1,12 @@ +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import fnmatch import logging import os diff --git a/lib/tools/common/armbian_utils.py b/lib/tools/common/armbian_utils.py old mode 100644 new mode 100755 index 19debabd1..7bdce970a --- a/lib/tools/common/armbian_utils.py +++ b/lib/tools/common/armbian_utils.py @@ -1,3 +1,12 @@ +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import logging import os import sys diff --git a/lib/tools/common/md_asset_log.py b/lib/tools/common/md_asset_log.py old mode 100644 new mode 100755 index b22e82562..dd4efefd5 --- a/lib/tools/common/md_asset_log.py +++ b/lib/tools/common/md_asset_log.py @@ -1,3 +1,12 @@ +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import logging from . import armbian_utils as armbian_utils diff --git a/lib/tools/common/patching_utils.py b/lib/tools/common/patching_utils.py old mode 100644 new mode 100755 index 89bab5772..8a9087f3c --- a/lib/tools/common/patching_utils.py +++ b/lib/tools/common/patching_utils.py @@ -1,4 +1,12 @@ -#! /bin/env python3 +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import email.utils import logging import mailbox diff --git a/lib/tools/git-to-patches.py b/lib/tools/git-to-patches.py old mode 100644 new mode 100755 index 45f110c5b..00e028ada --- a/lib/tools/git-to-patches.py +++ b/lib/tools/git-to-patches.py @@ -1,4 +1,12 @@ -#! /bin/env python3 +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import os.path # Let's use GitPython to query and manipulate the git repo diff --git a/lib/tools/index-opensearch.py b/lib/tools/index-opensearch.py index 44908f520..5a757500b 100755 --- a/lib/tools/index-opensearch.py +++ b/lib/tools/index-opensearch.py @@ -1,4 +1,12 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import json import sys diff --git a/lib/tools/info.py b/lib/tools/info.py index 70aa817a9..d98f2c910 100755 --- a/lib/tools/info.py +++ b/lib/tools/info.py @@ -1,4 +1,12 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import concurrent.futures import glob import json diff --git a/lib/tools/json2csv.py b/lib/tools/json2csv.py index 48c3f8cca..5892e86b1 100755 --- a/lib/tools/json2csv.py +++ b/lib/tools/json2csv.py @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# +#!/usr/bin/env python3 import collections.abc import json import sys diff --git a/lib/tools/patching.py b/lib/tools/patching.py index ffdd28a61..4817fa8f3 100755 --- a/lib/tools/patching.py +++ b/lib/tools/patching.py @@ -1,4 +1,12 @@ -#! /bin/env python3 +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com +# +# This file is a part of the Armbian Build Framework +# https://github.com/armbian/build/ +# import logging import os