mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add (c) also to python scripts (#4926)
This commit is contained in:
10
lib/tools/aggregation.py
Normal file → Executable file
10
lib/tools/aggregation.py
Normal file → Executable 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
9
lib/tools/call-stack-analyze.py
Normal file → Executable 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
9
lib/tools/common/aggregation_utils.py
Normal file → Executable 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
9
lib/tools/common/armbian_utils.py
Normal file → Executable 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
9
lib/tools/common/md_asset_log.py
Normal file → Executable 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
10
lib/tools/common/patching_utils.py
Normal file → Executable 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
10
lib/tools/git-to-patches.py
Normal file → Executable 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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user