ominfra 0.0.0.dev124__tar.gz → 0.0.0.dev126__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. {ominfra-0.0.0.dev124/ominfra.egg-info → ominfra-0.0.0.dev126}/PKG-INFO +3 -3
  2. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/_main.py +2 -6
  3. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/base.py +7 -8
  4. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/supervisor.py +325 -178
  5. ominfra-0.0.0.dev126/ominfra/supervisor/LICENSE.txt +28 -0
  6. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/context.py +5 -5
  7. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/dispatchers.py +17 -29
  8. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/groups.py +14 -19
  9. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/inject.py +16 -26
  10. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/main.py +30 -2
  11. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/process.py +33 -17
  12. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/supervisor.py +14 -18
  13. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/types.py +78 -6
  14. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126/ominfra.egg-info}/PKG-INFO +3 -3
  15. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/requires.txt +2 -2
  16. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/pyproject.toml +3 -3
  17. ominfra-0.0.0.dev124/ominfra/supervisor/LICENSE.txt +0 -28
  18. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/LICENSE +0 -0
  19. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/MANIFEST.in +0 -0
  20. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/README.rst +0 -0
  21. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/.manifests.json +0 -0
  22. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/__about__.py +0 -0
  23. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/__init__.py +0 -0
  24. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/__init__.py +0 -0
  25. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/__init__.py +0 -0
  26. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/__main__.py +0 -0
  27. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/auth.py +0 -0
  28. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/cli.py +0 -0
  29. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/dataclasses.py +0 -0
  30. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/__init__.py +0 -0
  31. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/__main__.py +0 -0
  32. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/cursor.py +0 -0
  33. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/driver.py +0 -0
  34. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/main.py +0 -0
  35. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/poster.py +0 -0
  36. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/logs.py +0 -0
  37. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/metadata.py +0 -0
  38. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/gcp/__init__.py +0 -0
  39. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/gcp/auth.py +0 -0
  40. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/cmds.py +0 -0
  41. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/configs.py +0 -0
  42. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/__init__.py +0 -0
  43. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/_executor.py +0 -0
  44. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/configs.py +0 -0
  45. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/__init__.py +0 -0
  46. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/base.py +0 -0
  47. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/__init__.py +0 -0
  48. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/dirs.py +0 -0
  49. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/nginx.py +0 -0
  50. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/repo.py +0 -0
  51. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/supervisor.py +0 -0
  52. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/systemd.py +0 -0
  53. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/user.py +0 -0
  54. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/venv.py +0 -0
  55. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/main.py +0 -0
  56. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/__init__.py +0 -0
  57. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/configs.py +0 -0
  58. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/deploy.py +0 -0
  59. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/main.py +0 -0
  60. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/nginx.py +0 -0
  61. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/repo.py +0 -0
  62. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/runtime.py +0 -0
  63. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/site.py +0 -0
  64. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/supervisor.py +0 -0
  65. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/venv.py +0 -0
  66. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/remote.py +0 -0
  67. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/__init__.py +0 -0
  68. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/fields.py +0 -0
  69. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/genmessages.py +0 -0
  70. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/messages.py +0 -0
  71. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/tailer.py +0 -0
  72. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/manage/__init__.py +0 -0
  73. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/manage/manage.py +0 -0
  74. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/__init__.py +0 -0
  75. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/_runcommands.py +0 -0
  76. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/bootstrap.py +0 -0
  77. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/runcommands.py +0 -0
  78. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/__init__.py +0 -0
  79. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/journald2aws.py +0 -0
  80. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/ssh.py +0 -0
  81. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/__init__.py +0 -0
  82. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/__main__.py +0 -0
  83. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/configs.py +0 -0
  84. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/datatypes.py +0 -0
  85. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/events.py +3 -3
  86. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/exceptions.py +0 -0
  87. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/poller.py +0 -0
  88. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/signals.py +0 -0
  89. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/states.py +0 -0
  90. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/utils.py +0 -0
  91. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/__init__.py +0 -0
  92. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/api.py +0 -0
  93. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/cli.py +0 -0
  94. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/threadworkers.py +0 -0
  95. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tools/__init__.py +0 -0
  96. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tools/listresources.py +0 -0
  97. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/SOURCES.txt +0 -0
  98. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/dependency_links.txt +0 -0
  99. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/entry_points.txt +0 -0
  100. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/top_level.txt +0 -0
  101. {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ominfra
3
- Version: 0.0.0.dev124
3
+ Version: 0.0.0.dev126
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,8 +12,8 @@ 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.dev124
16
- Requires-Dist: omlish==0.0.0.dev124
15
+ Requires-Dist: omdev==0.0.0.dev126
16
+ Requires-Dist: omlish==0.0.0.dev126
17
17
  Provides-Extra: all
18
18
  Requires-Dist: paramiko~=3.5; extra == "all"
19
19
  Requires-Dist: asyncssh~=2.18; extra == "all"
@@ -39,7 +39,9 @@ T = ta.TypeVar('T')
39
39
  # ../base.py
40
40
  ConcernT = ta.TypeVar('ConcernT')
41
41
  ConfigT = ta.TypeVar('ConfigT')
42
+ SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
42
43
  SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
44
+ DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
43
45
  DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
44
46
 
45
47
 
@@ -239,9 +241,6 @@ class ConcernsContainer(abc.ABC, ta.Generic[ConcernT, ConfigT]):
239
241
  ##
240
242
 
241
243
 
242
- SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
243
-
244
-
245
244
  class SiteConcern(abc.ABC, ta.Generic[SiteConcernConfigT]):
246
245
  def __init__(self, config: SiteConcernConfigT, site: 'Site') -> None:
247
246
  super().__init__()
@@ -269,9 +268,6 @@ class Site(ConcernsContainer[SiteConcern, SiteConfig]):
269
268
  ##
270
269
 
271
270
 
272
- DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
273
-
274
-
275
271
  class DeployConcern(abc.ABC, ta.Generic[DeployConcernConfigT]):
276
272
  def __init__(self, config: DeployConcernConfigT, deploy: 'Deploy') -> None:
277
273
  super().__init__()
@@ -10,9 +10,16 @@ from .configs import SiteConfig
10
10
 
11
11
 
12
12
  T = ta.TypeVar('T')
13
+
13
14
  ConcernT = ta.TypeVar('ConcernT')
14
15
  ConfigT = ta.TypeVar('ConfigT')
15
16
 
17
+ SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
18
+ SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
19
+
20
+ DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
21
+ DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
22
+
16
23
 
17
24
  ##
18
25
 
@@ -112,10 +119,6 @@ class ConcernsContainer(abc.ABC, ta.Generic[ConcernT, ConfigT]):
112
119
  ##
113
120
 
114
121
 
115
- SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
116
- SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
117
-
118
-
119
122
  class SiteConcern(abc.ABC, ta.Generic[SiteConcernConfigT]):
120
123
  def __init__(self, config: SiteConcernConfigT, site: 'Site') -> None:
121
124
  super().__init__()
@@ -143,10 +146,6 @@ class Site(ConcernsContainer[SiteConcern, SiteConfig]):
143
146
  ##
144
147
 
145
148
 
146
- DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
147
- DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
148
-
149
-
150
149
  class DeployConcern(abc.ABC, ta.Generic[DeployConcernConfigT]):
151
150
  def __init__(self, config: DeployConcernConfigT, deploy: 'Deploy') -> None:
152
151
  super().__init__()