ominfra 0.0.0.dev192__tar.gz → 0.0.0.dev194__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. {ominfra-0.0.0.dev192/ominfra.egg-info → ominfra-0.0.0.dev194}/PKG-INFO +4 -4
  2. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/main.py +5 -2
  3. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/conf/manager.py +4 -4
  4. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/conf/specs.py +2 -2
  5. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/main.py +3 -3
  6. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/scripts/journald2aws.py +448 -122
  7. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/scripts/manage.py +2019 -1700
  8. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/scripts/supervisor.py +2113 -1742
  9. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/configs.py +4 -3
  10. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/main.py +2 -2
  11. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194/ominfra.egg-info}/PKG-INFO +4 -4
  12. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra.egg-info/SOURCES.txt +0 -1
  13. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra.egg-info/requires.txt +3 -3
  14. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/pyproject.toml +4 -4
  15. ominfra-0.0.0.dev192/ominfra/configs.py +0 -129
  16. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/LICENSE +0 -0
  17. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/MANIFEST.in +0 -0
  18. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/README.rst +0 -0
  19. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/.manifests.json +0 -0
  20. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/__about__.py +0 -0
  21. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/__init__.py +0 -0
  22. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/__init__.py +0 -0
  23. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/__init__.py +0 -0
  24. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/__main__.py +0 -0
  25. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/auth.py +0 -0
  26. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/cli.py +0 -0
  27. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/dataclasses.py +0 -0
  28. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/__init__.py +0 -0
  29. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/__main__.py +0 -0
  30. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/cursor.py +0 -0
  31. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/driver.py +0 -0
  32. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/journald2aws/poster.py +0 -0
  33. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/logs.py +0 -0
  34. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/aws/metadata.py +0 -0
  35. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/gcp/__init__.py +0 -0
  36. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/clouds/gcp/auth.py +0 -0
  37. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/cmds.py +0 -0
  38. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/journald/__init__.py +0 -0
  39. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/journald/fields.py +0 -0
  40. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/journald/genmessages.py +0 -0
  41. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/journald/messages.py +0 -0
  42. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/journald/tailer.py +0 -0
  43. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/__init__.py +0 -0
  44. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/__main__.py +0 -0
  45. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/bootstrap.py +0 -0
  46. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/bootstrap_.py +0 -0
  47. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/__init__.py +0 -0
  48. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/base.py +0 -0
  49. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/inject.py +0 -0
  50. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/local.py +0 -0
  51. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/marshal.py +0 -0
  52. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/ping.py +0 -0
  53. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/subprocess.py +0 -0
  54. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/commands/types.py +0 -0
  55. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/config.py +0 -0
  56. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/__init__.py +0 -0
  57. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/apps.py +0 -0
  58. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/commands.py +0 -0
  59. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/conf/__init__.py +0 -0
  60. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/conf/inject.py +0 -0
  61. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/config.py +0 -0
  62. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/deploy.py +0 -0
  63. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/git.py +0 -0
  64. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/inject.py +0 -0
  65. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/inject_.py +0 -0
  66. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/interp.py +0 -0
  67. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/nginx.py +0 -0
  68. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/__init__.py +0 -0
  69. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/inject.py +0 -0
  70. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/manager.py +0 -0
  71. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/owners.py +0 -0
  72. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/paths.py +0 -0
  73. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/specs.py +0 -0
  74. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/paths/types.py +0 -0
  75. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/specs.py +0 -0
  76. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/systemd.py +0 -0
  77. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/tags.py +0 -0
  78. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/tmp.py +0 -0
  79. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/types.py +0 -0
  80. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/deploy/venvs.py +0 -0
  81. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/inject.py +0 -0
  82. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/marshal.py +0 -0
  83. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/__init__.py +0 -0
  84. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/_main.py +0 -0
  85. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/channel.py +0 -0
  86. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/config.py +0 -0
  87. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/connection.py +0 -0
  88. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/execution.py +0 -0
  89. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/inject.py +0 -0
  90. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/payload.py +0 -0
  91. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/remote/spawning.py +0 -0
  92. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/__init__.py +0 -0
  93. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/commands.py +0 -0
  94. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/config.py +0 -0
  95. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/inject.py +0 -0
  96. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/packages.py +0 -0
  97. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/system/platforms.py +0 -0
  98. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/__init__.py +0 -0
  99. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/bestpython.py +0 -0
  100. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/bestpython.sh +0 -0
  101. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/connection.py +0 -0
  102. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/inject.py +0 -0
  103. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/manage/targets/targets.py +0 -0
  104. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/pyremote.py +0 -0
  105. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/scripts/__init__.py +0 -0
  106. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/ssh.py +0 -0
  107. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/LICENSE.txt +0 -0
  108. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/__init__.py +0 -0
  109. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/__main__.py +0 -0
  110. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/dispatchers.py +0 -0
  111. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/dispatchersimpl.py +0 -0
  112. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/events.py +0 -0
  113. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/exceptions.py +0 -0
  114. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/groups.py +0 -0
  115. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/groupsimpl.py +0 -0
  116. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/http.py +0 -0
  117. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/inject.py +0 -0
  118. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/io.py +0 -0
  119. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/pipes.py +0 -0
  120. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/privileges.py +0 -0
  121. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/process.py +0 -0
  122. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/processimpl.py +0 -0
  123. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/setup.py +0 -0
  124. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/setupimpl.py +0 -0
  125. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/signals.py +0 -0
  126. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/spawning.py +0 -0
  127. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/spawningimpl.py +0 -0
  128. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/states.py +0 -0
  129. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/supervisor.py +0 -0
  130. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/types.py +0 -0
  131. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/__init__.py +0 -0
  132. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/collections.py +0 -0
  133. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/diag.py +0 -0
  134. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/fds.py +0 -0
  135. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/fs.py +0 -0
  136. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/os.py +0 -0
  137. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/ostypes.py +0 -0
  138. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/signals.py +0 -0
  139. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/strings.py +0 -0
  140. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/supervisor/utils/users.py +0 -0
  141. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/systemd.py +0 -0
  142. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/tailscale/__init__.py +0 -0
  143. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/tailscale/api.py +0 -0
  144. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/tailscale/cli.py +0 -0
  145. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/threadworkers.py +0 -0
  146. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/tools/__init__.py +0 -0
  147. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra/tools/listresources.py +0 -0
  148. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra.egg-info/dependency_links.txt +0 -0
  149. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra.egg-info/entry_points.txt +0 -0
  150. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/ominfra.egg-info/top_level.txt +0 -0
  151. {ominfra-0.0.0.dev192 → ominfra-0.0.0.dev194}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ominfra
3
- Version: 0.0.0.dev192
3
+ Version: 0.0.0.dev194
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,9 +12,9 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Operating System :: POSIX
13
13
  Requires-Python: >=3.12
14
14
  License-File: LICENSE
15
- Requires-Dist: omdev==0.0.0.dev192
16
- Requires-Dist: omlish==0.0.0.dev192
17
- Requires-Dist: omserv==0.0.0.dev192
15
+ Requires-Dist: omdev==0.0.0.dev194
16
+ Requires-Dist: omlish==0.0.0.dev194
17
+ Requires-Dist: omserv==0.0.0.dev194
18
18
  Provides-Extra: all
19
19
  Requires-Dist: paramiko~=3.5; extra == "all"
20
20
  Requires-Dist: asyncssh~=2.18; extra == "all"
@@ -5,9 +5,9 @@ import dataclasses as dc
5
5
  import os.path
6
6
  import sys
7
7
 
8
+ from omlish.lite.configs import load_config_file_obj
8
9
  from omlish.logs.standard import configure_standard_logging
9
10
 
10
- from ....configs import read_config_file
11
11
  from .driver import JournalctlToAwsDriver
12
12
 
13
13
 
@@ -36,7 +36,10 @@ def _main() -> None:
36
36
 
37
37
  config: JournalctlToAwsDriver.Config
38
38
  if args.config_file:
39
- config = read_config_file(os.path.expanduser(args.config_file), JournalctlToAwsDriver.Config)
39
+ config = load_config_file_obj(
40
+ os.path.expanduser(args.config_file),
41
+ JournalctlToAwsDriver.Config,
42
+ )
40
43
  else:
41
44
  config = JournalctlToAwsDriver.Config()
42
45
 
@@ -26,10 +26,10 @@ from omlish.lite.json import json_dumps_pretty
26
26
  from omlish.lite.strings import strip_with_newline
27
27
  from omlish.os.paths import is_path_in_dir
28
28
  from omlish.os.paths import relative_symlink
29
- from omserv.nginx.configs import NginxConfigItems
30
- from omserv.nginx.configs import render_nginx_config_str
29
+ from omlish.configs.nginx import NginxConfigItems
30
+ from omlish.configs.nginx import render_nginx_config_str
31
31
 
32
- from ....configs import render_ini_config
32
+ from omlish.formats.ini.sections import render_ini_sections
33
33
  from ..paths.paths import DeployPath
34
34
  from ..tags import DEPLOY_TAG_SEPARATOR
35
35
  from ..tags import DeployApp
@@ -100,7 +100,7 @@ class DeployConfManager:
100
100
 
101
101
  elif isinstance(ac, IniDeployAppConfContent):
102
102
  ini_sections = pcc(ac.sections)
103
- return strip_with_newline(render_ini_config(ini_sections))
103
+ return strip_with_newline(render_ini_sections(ini_sections))
104
104
 
105
105
  elif isinstance(ac, NginxDeployAppConfContent):
106
106
  nginx_items = NginxConfigItems.of(pcc(ac.items))
@@ -6,7 +6,7 @@ import typing as ta
6
6
  from omlish.lite.check import check
7
7
  from omlish.lite.marshal import register_single_field_type_obj_marshaler
8
8
 
9
- from ....configs import IniConfigSectionSettingsMap
9
+ from omlish.formats.ini.sections import IniSectionSettingsMap
10
10
  from ..paths.specs import check_valid_deploy_spec_path
11
11
 
12
12
 
@@ -41,7 +41,7 @@ class JsonDeployAppConfContent(DeployAppConfContent):
41
41
  @register_single_field_type_obj_marshaler('sections')
42
42
  @dc.dataclass(frozen=True)
43
43
  class IniDeployAppConfContent(DeployAppConfContent):
44
- sections: IniConfigSectionSettingsMap
44
+ sections: IniSectionSettingsMap
45
45
 
46
46
 
47
47
  #
@@ -17,12 +17,12 @@ from omlish.argparse.cli import argparse_arg
17
17
  from omlish.argparse.cli import argparse_cmd
18
18
  from omlish.lite.cached import cached_nullary
19
19
  from omlish.lite.check import check
20
+ from omlish.lite.configs import load_config_file_obj
20
21
  from omlish.lite.logs import log # noqa
21
22
  from omlish.lite.marshal import ObjMarshalerManager
22
23
  from omlish.lite.marshal import ObjMarshalOptions
23
24
  from omlish.lite.pycharm import PycharmRemoteDebug
24
25
 
25
- from ..configs import read_config_file
26
26
  from .bootstrap import MainBootstrap
27
27
  from .bootstrap_ import main_bootstrap
28
28
  from .commands.base import Command
@@ -51,7 +51,7 @@ class MainCli(ArgparseCli):
51
51
  if cf is None:
52
52
  return ManageConfig()
53
53
  else:
54
- return read_config_file(cf, ManageConfig)
54
+ return load_config_file_obj(cf, ManageConfig)
55
55
 
56
56
  #
57
57
 
@@ -122,7 +122,7 @@ class MainCli(ArgparseCli):
122
122
  cmds.append(cmd)
123
123
 
124
124
  for cf in self.args.command_file or []:
125
- cmd = read_config_file(cf, Command, msh=msh)
125
+ cmd = load_config_file_obj(cf, Command, msh=msh)
126
126
  cmds.append(cmd)
127
127
 
128
128
  #