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.
- {ominfra-0.0.0.dev124/ominfra.egg-info → ominfra-0.0.0.dev126}/PKG-INFO +3 -3
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/_main.py +2 -6
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/base.py +7 -8
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/supervisor.py +325 -178
- ominfra-0.0.0.dev126/ominfra/supervisor/LICENSE.txt +28 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/context.py +5 -5
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/dispatchers.py +17 -29
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/groups.py +14 -19
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/inject.py +16 -26
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/main.py +30 -2
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/process.py +33 -17
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/supervisor.py +14 -18
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/types.py +78 -6
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126/ominfra.egg-info}/PKG-INFO +3 -3
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/requires.txt +2 -2
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/pyproject.toml +3 -3
- ominfra-0.0.0.dev124/ominfra/supervisor/LICENSE.txt +0 -28
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/LICENSE +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/MANIFEST.in +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/README.rst +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/.manifests.json +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/__about__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/__main__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/auth.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/cli.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/dataclasses.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/__main__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/cursor.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/driver.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/main.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/journald2aws/poster.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/logs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/aws/metadata.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/gcp/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/clouds/gcp/auth.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/cmds.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/configs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/_executor.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/configs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/base.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/dirs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/nginx.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/repo.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/supervisor.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/systemd.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/user.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/concerns/venv.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/executor/main.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/configs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/deploy.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/main.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/nginx.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/repo.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/runtime.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/site.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/supervisor.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/poly/venv.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/deploy/remote.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/fields.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/genmessages.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/messages.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/journald/tailer.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/manage/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/manage/manage.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/_runcommands.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/bootstrap.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/pyremote/runcommands.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/scripts/journald2aws.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/ssh.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/__main__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/configs.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/datatypes.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/events.py +3 -3
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/exceptions.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/poller.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/signals.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/states.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/supervisor/utils.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/api.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tailscale/cli.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/threadworkers.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tools/__init__.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra/tools/listresources.py +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/SOURCES.txt +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/dependency_links.txt +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/entry_points.txt +0 -0
- {ominfra-0.0.0.dev124 → ominfra-0.0.0.dev126}/ominfra.egg-info/top_level.txt +0 -0
- {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.
|
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.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
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__()
|