Add (c) also to python scripts (#4926)

This commit is contained in:
Igor Pečovnik
2023-03-09 20:52:06 +01:00
committed by GitHub
parent 1223b22ffd
commit d59fa58875
11 changed files with 97 additions and 4 deletions

10
lib/tools/aggregation.py Normal file → Executable file
View File

@@ -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. # Disclaimer: this script was written solely using GitHub Copilot.
# I wrote "prompt" comments and the whole thing was generated by Copilot. # I wrote "prompt" comments and the whole thing was generated by Copilot.

9
lib/tools/call-stack-analyze.py Normal file → Executable file
View File

@@ -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 os
import sys import sys

9
lib/tools/common/aggregation_utils.py Normal file → Executable file
View File

@@ -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 fnmatch
import logging import logging
import os import os

9
lib/tools/common/armbian_utils.py Normal file → Executable file
View File

@@ -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 logging
import os import os
import sys import sys

9
lib/tools/common/md_asset_log.py Normal file → Executable file
View File

@@ -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 logging
from . import armbian_utils as armbian_utils from . import armbian_utils as armbian_utils

10
lib/tools/common/patching_utils.py Normal file → Executable file
View File

@@ -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 email.utils
import logging import logging
import mailbox import mailbox

10
lib/tools/git-to-patches.py Normal file → Executable file
View File

@@ -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 import os.path
# Let's use GitPython to query and manipulate the git repo # Let's use GitPython to query and manipulate the git repo

View File

@@ -1,4 +1,12 @@
#!/usr/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 json import json
import sys import sys

View File

@@ -1,4 +1,12 @@
#!/usr/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 concurrent.futures import concurrent.futures
import glob import glob
import json import json

View File

@@ -1,4 +1,13 @@
#!/usr/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/
#
#!/usr/bin/env python3
import collections.abc import collections.abc
import json import json
import sys import sys

View File

@@ -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 logging
import os import os