autopkg-wrapper 2024.5.3__tar.gz → 2024.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/PKG-INFO +8 -8
- autopkg_wrapper-2024.6.1/autopkg_wrapper/__init__.py +1 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/utils/args.py +9 -1
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/pyproject.toml +8 -9
- autopkg_wrapper-2024.5.3/autopkg_wrapper/__init__.py +0 -1
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/LICENSE +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/README.md +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/autopkg_wrapper.py +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/notifier/__init__.py +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/notifier/slack.py +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/utils/__init__.py +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/utils/git_functions.py +0 -0
- {autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/utils/logging.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: autopkg-wrapper
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.6.1
|
|
4
4
|
Summary: A package used to execute some autopkg functions, primarily within the context of a GitHub Actions runner.
|
|
5
5
|
Home-page: https://github.com/smithjw/autopkg-wrapper
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -10,13 +10,13 @@ Requires-Python: >=3.12,<4.0
|
|
|
10
10
|
Classifier: License :: OSI Approved :: BSD License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Requires-Dist: chardet (
|
|
14
|
-
Requires-Dist: idna (
|
|
15
|
-
Requires-Dist: pygithub (
|
|
16
|
-
Requires-Dist: requests (
|
|
17
|
-
Requires-Dist: ruamel-yaml (
|
|
18
|
-
Requires-Dist: toml (
|
|
19
|
-
Requires-Dist: urllib3 (
|
|
13
|
+
Requires-Dist: chardet (>=5)
|
|
14
|
+
Requires-Dist: idna (>=3)
|
|
15
|
+
Requires-Dist: pygithub (>=2)
|
|
16
|
+
Requires-Dist: requests (>=2)
|
|
17
|
+
Requires-Dist: ruamel-yaml (>=0.18)
|
|
18
|
+
Requires-Dist: toml (>=0.10)
|
|
19
|
+
Requires-Dist: urllib3 (>=2)
|
|
20
20
|
Project-URL: Repository, https://github.com/smithjw/autopkg-wrapper
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2024.6.1"
|
|
@@ -24,6 +24,14 @@ def validate_directory(arg):
|
|
|
24
24
|
message = f"Error! This is not valid directory: {arg}"
|
|
25
25
|
raise argparse.ArgumentTypeError(message)
|
|
26
26
|
|
|
27
|
+
def validate_bool(arg):
|
|
28
|
+
if isinstance(arg, bool):
|
|
29
|
+
return arg
|
|
30
|
+
elif isinstance(arg, str) and arg.lower() in ['0','false','no', 'f']:
|
|
31
|
+
return False
|
|
32
|
+
elif isinstance(arg, str) and arg.lower() in ['1','true','yes', 't']:
|
|
33
|
+
return True
|
|
34
|
+
|
|
27
35
|
def setup_args():
|
|
28
36
|
parser = argparse.ArgumentParser(description="Run autopkg recipes")
|
|
29
37
|
recipe_arguments = parser.add_mutually_exclusive_group()
|
|
@@ -50,7 +58,7 @@ def setup_args():
|
|
|
50
58
|
)
|
|
51
59
|
parser.add_argument(
|
|
52
60
|
"--debug",
|
|
53
|
-
default=os.getenv("AW_DEBUG", False),
|
|
61
|
+
default=validate_bool(os.getenv("AW_DEBUG", False)),
|
|
54
62
|
action="store_true",
|
|
55
63
|
help="Enable debug logging when running script",
|
|
56
64
|
)
|
|
@@ -5,22 +5,21 @@
|
|
|
5
5
|
name = "autopkg-wrapper"
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
repository = "https://github.com/smithjw/autopkg-wrapper"
|
|
8
|
-
version = "2024.
|
|
8
|
+
version = "2024.6.1"
|
|
9
9
|
|
|
10
10
|
[tool.poetry.scripts]
|
|
11
11
|
# When built and installed by pip, the command autopkg_wrapper will be availble in to run within that environment
|
|
12
|
-
autopkg-wrapper = "autopkg_wrapper.autopkg_wrapper:main"
|
|
13
12
|
autopkg_wrapper = "autopkg_wrapper.autopkg_wrapper:main"
|
|
14
13
|
|
|
15
14
|
[tool.poetry.dependencies]
|
|
16
|
-
chardet = "5
|
|
17
|
-
idna = "3
|
|
18
|
-
pygithub = "2
|
|
15
|
+
chardet = ">=5"
|
|
16
|
+
idna = ">=3"
|
|
17
|
+
pygithub = ">=2"
|
|
19
18
|
python = "^3.12"
|
|
20
|
-
requests = "2
|
|
21
|
-
ruamel-yaml = "0.18
|
|
22
|
-
toml = "0.10
|
|
23
|
-
urllib3 = "2
|
|
19
|
+
requests = ">=2"
|
|
20
|
+
ruamel-yaml = ">=0.18"
|
|
21
|
+
toml = ">=0.10"
|
|
22
|
+
urllib3 = ">=2"
|
|
24
23
|
|
|
25
24
|
[tool.poetry_bumpversion.file."autopkg_wrapper/__init__.py"]
|
|
26
25
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2024.5.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autopkg_wrapper-2024.5.3 → autopkg_wrapper-2024.6.1}/autopkg_wrapper/utils/git_functions.py
RENAMED
|
File without changes
|
|
File without changes
|