aptivi-adt 1.2.0.2__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.
Files changed (48) hide show
  1. aptivi_adt-1.2.0.2/LICENSE +18 -0
  2. aptivi_adt-1.2.0.2/PKG-INFO +44 -0
  3. aptivi_adt-1.2.0.2/README.md +9 -0
  4. aptivi_adt-1.2.0.2/pyproject.toml +30 -0
  5. aptivi_adt-1.2.0.2/setup.cfg +4 -0
  6. aptivi_adt-1.2.0.2/src/adt/adt.py +117 -0
  7. aptivi_adt-1.2.0.2/src/adt/adt_conf.py +58 -0
  8. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/PKG-INFO +44 -0
  9. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/SOURCES.txt +46 -0
  10. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/dependency_links.txt +1 -0
  11. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/entry_points.txt +2 -0
  12. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/requires.txt +2 -0
  13. aptivi_adt-1.2.0.2/src/adt/aptivi_adt.egg-info/top_level.txt +4 -0
  14. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_dnresxlang.py +383 -0
  15. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_dnresxlang_parts.py +169 -0
  16. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_gitactions.py +54 -0
  17. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_gitprogress.py +69 -0
  18. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_gitreport.py +133 -0
  19. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_manual.py +28 -0
  20. aptivi_adt-1.2.0.2/src/adt/common/fragments/frag_projecttools.py +72 -0
  21. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_branches.py +49 -0
  22. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_build.py +91 -0
  23. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_clean.py +89 -0
  24. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_commit.py +251 -0
  25. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_commits.py +57 -0
  26. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_dnresxlang.py +100 -0
  27. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_fetch.py +39 -0
  28. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_gendocs.py +89 -0
  29. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_hardclean.py +44 -0
  30. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_increment.py +93 -0
  31. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_intreport.py +133 -0
  32. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_liquidize.py +89 -0
  33. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_listprojs.py +89 -0
  34. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_packbin.py +89 -0
  35. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_packdocs.py +89 -0
  36. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_pull.py +39 -0
  37. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_push.py +39 -0
  38. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_pushbin.py +89 -0
  39. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_reset.py +44 -0
  40. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_revert.py +44 -0
  41. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_status.py +61 -0
  42. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_tags.py +42 -0
  43. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_test.py +92 -0
  44. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_updatedeps.py +89 -0
  45. aptivi_adt-1.2.0.2/src/adt/common/hooks/h_vendorize.py +89 -0
  46. aptivi_adt-1.2.0.2/src/adt/scripts/git_standalone_actions.py +206 -0
  47. aptivi_adt-1.2.0.2/src/adt/scripts/proj_actions.py +188 -0
  48. aptivi_adt-1.2.0.2/src/adt/scripts/standalone_actions.py +141 -0
@@ -0,0 +1,18 @@
1
+ Copyright 2025-2026 Aptivi
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
4
+ and associated documentation files (the “Software”), to deal in the Software without
5
+ restriction, including without limitation the rights to use, copy, modify, merge, publish,
6
+ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
7
+ Software is furnished to do so, subject to the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be included in all copies or
10
+ substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
16
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
17
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
18
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: aptivi-adt
3
+ Version: 1.2.0.2
4
+ Summary: Aptivi Development Kit
5
+ Author-email: Aptivi <eoflaoevicecity@gmail.com>
6
+ License: Copyright 2025-2026 Aptivi
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9
+ and associated documentation files (the “Software”), to deal in the Software without
10
+ restriction, including without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
12
+ Software is furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all copies or
15
+ substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+
25
+ Project-URL: Homepage, https://github.com/aptivi/tools
26
+ Project-URL: Issues, https://github.com/aptivi/tools/issues
27
+ Classifier: Programming Language :: Python :: 3
28
+ Classifier: Operating System :: OS Independent
29
+ Requires-Python: >=3.9
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+ Requires-Dist: paramiko
33
+ Requires-Dist: GitPython
34
+ Dynamic: license-file
35
+
36
+ # Aptivi Development Toolkit (ADT)
37
+
38
+ ADT is the next-generation development toolkit that is an evolution from the
39
+ [traditional shell scripts](https://aptivi.gitbook.io/aptivi/build-and-pack-system)
40
+ that were used for building applications and projects. Completely re-written from scratch with vendor
41
+ scripts support with Python scripts to increase efficiency and reliability of the build scripts.
42
+
43
+ To install this toolkit and to use it in your project, please consult the GitBook documentation
44
+ [here](https://aptivi.gitbook.io/aptivi/aptivi-development-toolkit).
@@ -0,0 +1,9 @@
1
+ # Aptivi Development Toolkit (ADT)
2
+
3
+ ADT is the next-generation development toolkit that is an evolution from the
4
+ [traditional shell scripts](https://aptivi.gitbook.io/aptivi/build-and-pack-system)
5
+ that were used for building applications and projects. Completely re-written from scratch with vendor
6
+ scripts support with Python scripts to increase efficiency and reliability of the build scripts.
7
+
8
+ To install this toolkit and to use it in your project, please consult the GitBook documentation
9
+ [here](https://aptivi.gitbook.io/aptivi/aptivi-development-toolkit).
@@ -0,0 +1,30 @@
1
+ [project]
2
+ name = "aptivi-adt"
3
+ version = "1.2.0.2"
4
+ authors = [
5
+ { name="Aptivi", email="eoflaoevicecity@gmail.com" },
6
+ ]
7
+ description = "Aptivi Development Kit"
8
+ readme = "README.md"
9
+ requires-python = ">=3.9"
10
+ dependencies = [
11
+ "paramiko",
12
+ "GitPython",
13
+ ]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Operating System :: OS Independent",
17
+ ]
18
+ license = {file = "LICENSE"}
19
+
20
+ [project.urls]
21
+ Homepage = "https://github.com/aptivi/tools"
22
+ Issues = "https://github.com/aptivi/tools/issues"
23
+
24
+ [project.scripts]
25
+ adt = "adt:main"
26
+
27
+ [tool.setuptools]
28
+ py-modules = ["adt", "adt_conf"]
29
+ packages = ["scripts", "common", "common.hooks", "common.fragments"]
30
+ package-dir = {"" = "src/adt"}
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,117 @@
1
+ #!/usr/bin/env python3
2
+
3
+ #
4
+ # Copyright 2025-2026 Aptivi
5
+ #
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
+ # and associated documentation files (the “Software”), to deal in the Software without
8
+ # restriction, including without limitation the rights to use, copy, modify, merge, publish,
9
+ # distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
10
+ # Software is furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all copies or
13
+ # substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21
+ # OTHER DEALINGS IN THE SOFTWARE.
22
+ #
23
+
24
+ # Importing the scripts
25
+ from scripts.proj_actions import *
26
+ from scripts.standalone_actions import *
27
+ from scripts.git_standalone_actions import *
28
+
29
+ # Configuration module
30
+ import adt_conf
31
+
32
+ # Project root
33
+ from common.fragments.frag_projecttools import frag_pt_getprojectroot
34
+
35
+ # Other necessary imports
36
+ import argparse
37
+ import os
38
+ import sys
39
+
40
+ # Function mapping
41
+ function_map = {
42
+ # Project-specific
43
+ 'build': s_build,
44
+ 'clean': s_clean,
45
+ 'test': s_test,
46
+ 'increment': s_increment,
47
+ 'vendorize': s_vendorize,
48
+ 'gendocs': s_gendocs,
49
+ 'packdocs': s_packdocs,
50
+ 'packbin': s_packbin,
51
+ 'pushbin': s_pushbin,
52
+ 'liquidize': s_liquidize,
53
+ 'updatedeps': s_updatedeps,
54
+ 'listprojs': s_listprojs,
55
+
56
+ # Standalone
57
+ 'intreport': s_intreport,
58
+ 'dnresxlang': s_dnresxlang,
59
+
60
+ # Git standalone
61
+ 'tags': s_tags,
62
+ 'branches': s_branches,
63
+ 'commits': s_commits,
64
+ 'status': s_status,
65
+ 'revert': s_revert,
66
+ 'commit': s_commit,
67
+ 'push': s_push,
68
+ 'fetch': s_fetch,
69
+ 'pull': s_pull,
70
+ 'reset': s_reset,
71
+ 'hardclean': s_hardclean,
72
+ }
73
+
74
+ # Main
75
+ version = '1.2.0.2'
76
+ def main():
77
+ # Processing the arguments
78
+ parser = argparse.ArgumentParser(
79
+ prog='adt.py',
80
+ add_help=False)
81
+ parser.add_argument('action')
82
+ parser.add_argument('--nobanner', action='store_true')
83
+ parser.add_argument('--self', action='store_true')
84
+ parser.add_argument('-v', '--verbose', action='store_true')
85
+ parser.add_argument('--path')
86
+ parser.add_argument('--version', action='version', version=f'{version}')
87
+
88
+ # Buffer issue fix
89
+ sys.stdout.reconfigure(line_buffering=True)
90
+
91
+ # Configuration
92
+ parser_args = parser.parse_known_args()
93
+ adt_conf.action = parser_args[0].action
94
+ adt_conf.nobanner = parser_args[0].nobanner
95
+ adt_conf.on_self = False if parser_args[0].path else parser_args[0].self
96
+ adt_conf.verbose = parser_args[0].verbose
97
+ adt_conf.project_path = frag_pt_getprojectroot(adt_conf.on_self,
98
+ parser_args[0].path)
99
+ adt_conf.project_name = os.path.basename(adt_conf.project_path)
100
+ actargs = parser_args[1]
101
+
102
+ # Show banner if required
103
+ if not adt_conf.nobanner:
104
+ print('\n\n')
105
+ print(f' == Aptivi Development Toolkit (ADT) v{version} ==')
106
+ print('\n\n')
107
+ if adt_conf.verbose:
108
+ print(f'Action: {adt_conf.action} {actargs}')
109
+ print(f'Project: {adt_conf.project_name} [{adt_conf.project_path}]\n')
110
+
111
+ # Match action
112
+ if adt_conf.action in function_map:
113
+ function_map[adt_conf.action](actargs)
114
+ else:
115
+ s_custom_action(actargs)
116
+
117
+ main()
@@ -0,0 +1,58 @@
1
+ #!/usr/bin/env python3
2
+
3
+ #
4
+ # Copyright 2025-2026 Aptivi
5
+ #
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
+ # and associated documentation files (the “Software”), to deal in the Software without
8
+ # restriction, including without limitation the rights to use, copy, modify, merge, publish,
9
+ # distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
10
+ # Software is furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all copies or
13
+ # substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21
+ # OTHER DEALINGS IN THE SOFTWARE.
22
+ #
23
+
24
+ # [configurable] adt_conf.on_self:
25
+ # Causes ADT to search for .git in ADT repo instead of project repo.
26
+ on_self = False
27
+
28
+ # [automatic] adt_conf.project_path:
29
+ # Lets ADT operate on a specified project path that is automatically
30
+ # filled by the tool as soon as the script starts.
31
+ project_path = ""
32
+
33
+ # [automatic] adt_conf.project_name:
34
+ # Name of the project that is automatically determined by basename().
35
+ project_name = ""
36
+
37
+ # [configurable] adt_conf.action:
38
+ # Specifies the action. Filled when parsing script arguments to determine
39
+ # which action to run.
40
+ action = ""
41
+
42
+ # [configurable] adt_conf.nobanner:
43
+ # If enabled, ADT won't show a banner with version information and some
44
+ # passed arguments.
45
+ nobanner = False
46
+
47
+ # [automatic] adt_conf.vendor_path:
48
+ # Specifies the vendor path, if it is found.
49
+ vendor_path = ""
50
+
51
+ # [configurable] adt_conf.verbose:
52
+ # If enabled, ADT will show extra messages as the operation goes on.
53
+ verbose = False
54
+
55
+
56
+ # Safeguard for those trying to run this script
57
+ if __name__ == "__main__":
58
+ print("Hmmm... it's a state machine for ADT. Did you mean to run adt.py?")
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: aptivi-adt
3
+ Version: 1.2.0.2
4
+ Summary: Aptivi Development Kit
5
+ Author-email: Aptivi <eoflaoevicecity@gmail.com>
6
+ License: Copyright 2025-2026 Aptivi
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9
+ and associated documentation files (the “Software”), to deal in the Software without
10
+ restriction, including without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
12
+ Software is furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all copies or
15
+ substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+
25
+ Project-URL: Homepage, https://github.com/aptivi/tools
26
+ Project-URL: Issues, https://github.com/aptivi/tools/issues
27
+ Classifier: Programming Language :: Python :: 3
28
+ Classifier: Operating System :: OS Independent
29
+ Requires-Python: >=3.9
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+ Requires-Dist: paramiko
33
+ Requires-Dist: GitPython
34
+ Dynamic: license-file
35
+
36
+ # Aptivi Development Toolkit (ADT)
37
+
38
+ ADT is the next-generation development toolkit that is an evolution from the
39
+ [traditional shell scripts](https://aptivi.gitbook.io/aptivi/build-and-pack-system)
40
+ that were used for building applications and projects. Completely re-written from scratch with vendor
41
+ scripts support with Python scripts to increase efficiency and reliability of the build scripts.
42
+
43
+ To install this toolkit and to use it in your project, please consult the GitBook documentation
44
+ [here](https://aptivi.gitbook.io/aptivi/aptivi-development-toolkit).
@@ -0,0 +1,46 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/adt/adt.py
5
+ src/adt/adt_conf.py
6
+ src/adt/aptivi_adt.egg-info/PKG-INFO
7
+ src/adt/aptivi_adt.egg-info/SOURCES.txt
8
+ src/adt/aptivi_adt.egg-info/dependency_links.txt
9
+ src/adt/aptivi_adt.egg-info/entry_points.txt
10
+ src/adt/aptivi_adt.egg-info/requires.txt
11
+ src/adt/aptivi_adt.egg-info/top_level.txt
12
+ src/adt/common/fragments/frag_dnresxlang.py
13
+ src/adt/common/fragments/frag_dnresxlang_parts.py
14
+ src/adt/common/fragments/frag_gitactions.py
15
+ src/adt/common/fragments/frag_gitprogress.py
16
+ src/adt/common/fragments/frag_gitreport.py
17
+ src/adt/common/fragments/frag_manual.py
18
+ src/adt/common/fragments/frag_projecttools.py
19
+ src/adt/common/hooks/h_branches.py
20
+ src/adt/common/hooks/h_build.py
21
+ src/adt/common/hooks/h_clean.py
22
+ src/adt/common/hooks/h_commit.py
23
+ src/adt/common/hooks/h_commits.py
24
+ src/adt/common/hooks/h_dnresxlang.py
25
+ src/adt/common/hooks/h_fetch.py
26
+ src/adt/common/hooks/h_gendocs.py
27
+ src/adt/common/hooks/h_hardclean.py
28
+ src/adt/common/hooks/h_increment.py
29
+ src/adt/common/hooks/h_intreport.py
30
+ src/adt/common/hooks/h_liquidize.py
31
+ src/adt/common/hooks/h_listprojs.py
32
+ src/adt/common/hooks/h_packbin.py
33
+ src/adt/common/hooks/h_packdocs.py
34
+ src/adt/common/hooks/h_pull.py
35
+ src/adt/common/hooks/h_push.py
36
+ src/adt/common/hooks/h_pushbin.py
37
+ src/adt/common/hooks/h_reset.py
38
+ src/adt/common/hooks/h_revert.py
39
+ src/adt/common/hooks/h_status.py
40
+ src/adt/common/hooks/h_tags.py
41
+ src/adt/common/hooks/h_test.py
42
+ src/adt/common/hooks/h_updatedeps.py
43
+ src/adt/common/hooks/h_vendorize.py
44
+ src/adt/scripts/git_standalone_actions.py
45
+ src/adt/scripts/proj_actions.py
46
+ src/adt/scripts/standalone_actions.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ adt = adt:main
@@ -0,0 +1,2 @@
1
+ paramiko
2
+ GitPython
@@ -0,0 +1,4 @@
1
+ adt
2
+ adt_conf
3
+ common
4
+ scripts