ominfra 0.0.0.dev204__tar.gz → 0.0.0.dev205__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {ominfra-0.0.0.dev204/ominfra.egg-info → ominfra-0.0.0.dev205}/PKG-INFO +4 -4
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/git.py +2 -2
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/pyremote.py +1 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/scripts/manage.py +21 -19
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205/ominfra.egg-info}/PKG-INFO +4 -4
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra.egg-info/requires.txt +3 -3
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/pyproject.toml +4 -4
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/LICENSE +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/MANIFEST.in +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/README.rst +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/.manifests.json +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/__about__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/__main__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/auth.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/cli.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/dataclasses.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/__main__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/cursor.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/driver.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/main.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/journald2aws/poster.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/logs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/metadata.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/base.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/gen/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/gen/__main__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/gen/cli.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/gen/gen.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/ec2.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/lambda_.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/rds.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/s3.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/services.toml +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/gcp/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/gcp/auth.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/commands/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/commands/runners.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/commands/ssh.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/journald/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/journald/fields.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/journald/genmessages.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/journald/messages.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/journald/tailer.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/__main__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/bootstrap.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/bootstrap_.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/base.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/injection.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/local.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/marshal.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/ping.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/subprocess.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/commands/types.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/config.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/apps.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/commands.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/conf/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/conf/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/conf/manager.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/conf/specs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/config.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/deploy.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/injection.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/interp.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/nginx.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/manager.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/owners.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/paths.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/specs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/paths/types.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/specs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/systemd.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/tags.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/tmp.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/types.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/deploy/venvs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/main.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/marshal.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/_main.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/channel.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/config.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/connection.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/execution.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/payload.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/remote/spawning.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/commands.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/config.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/packages.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/system/platforms.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/bestpython.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/bestpython.sh +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/connection.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/manage/targets/targets.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/scripts/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/scripts/journald2aws.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/scripts/supervisor.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/LICENSE.txt +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/__main__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/configs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/dispatchers.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/dispatchersimpl.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/events.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/exceptions.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/groups.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/groupsimpl.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/http.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/inject.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/io.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/main.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/pipes.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/privileges.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/process.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/processimpl.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/setup.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/setupimpl.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/signals.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/spawning.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/spawningimpl.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/states.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/supervisor.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/types.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/collections.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/diag.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/fds.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/fs.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/os.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/ostypes.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/signals.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/strings.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/supervisor/utils/users.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/systemd.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/tailscale/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/tailscale/api.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/tailscale/cli.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/threadworkers.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/tools/__init__.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/tools/listresources.py +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra.egg-info/SOURCES.txt +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra.egg-info/dependency_links.txt +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra.egg-info/entry_points.txt +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra.egg-info/top_level.txt +0 -0
- {ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev205
|
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.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
-
Requires-Dist: omserv==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev205
|
16
|
+
Requires-Dist: omlish==0.0.0.dev205
|
17
|
+
Requires-Dist: omserv==0.0.0.dev205
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
20
20
|
Requires-Dist: asyncssh~=2.18; extra == "all"
|
@@ -10,7 +10,7 @@ import functools
|
|
10
10
|
import os.path
|
11
11
|
import typing as ta
|
12
12
|
|
13
|
-
from omdev.git.
|
13
|
+
from omdev.git.shallow import GitShallowCloner
|
14
14
|
from omlish.asyncs.asyncio.subprocesses import asyncio_subprocesses
|
15
15
|
from omlish.lite.cached import async_cached_nullary
|
16
16
|
from omlish.lite.check import check
|
@@ -154,7 +154,7 @@ class DeployGitManager(SingleDirDeployPathOwner):
|
|
154
154
|
) as dst_swap:
|
155
155
|
tdn = '.omlish-git-shallow-clone'
|
156
156
|
|
157
|
-
for cmd in
|
157
|
+
for cmd in GitShallowCloner(
|
158
158
|
base_dir=dst_swap.tmp_path,
|
159
159
|
repo_url=self.make_repo_url(spec.repo),
|
160
160
|
repo_dir=tdn,
|
@@ -381,6 +381,7 @@ class PyremoteBootstrapDriver:
|
|
381
381
|
self._payload_z = zlib.compress(self._prepared_payload_src.encode('utf-8'))
|
382
382
|
|
383
383
|
self._options_json = json.dumps(dc.asdict(options), indent=None, separators=(',', ':')).encode('utf-8') # noqa
|
384
|
+
|
384
385
|
#
|
385
386
|
|
386
387
|
@classmethod
|
@@ -968,6 +968,7 @@ class PyremoteBootstrapDriver:
|
|
968
968
|
self._payload_z = zlib.compress(self._prepared_payload_src.encode('utf-8'))
|
969
969
|
|
970
970
|
self._options_json = json.dumps(dc.asdict(options), indent=None, separators=(',', ':')).encode('utf-8') # noqa
|
971
|
+
|
971
972
|
#
|
972
973
|
|
973
974
|
@classmethod
|
@@ -8349,11 +8350,11 @@ class AbstractAsyncSubprocesses(BaseSubprocesses):
|
|
8349
8350
|
|
8350
8351
|
|
8351
8352
|
########################################
|
8352
|
-
# ../../../omdev/git/
|
8353
|
+
# ../../../omdev/git/shallow.py
|
8353
8354
|
|
8354
8355
|
|
8355
8356
|
@dc.dataclass(frozen=True)
|
8356
|
-
class
|
8357
|
+
class GitShallowCloner:
|
8357
8358
|
base_dir: str
|
8358
8359
|
repo_url: str
|
8359
8360
|
repo_dir: str
|
@@ -8382,14 +8383,14 @@ class GitSubtreeCloner:
|
|
8382
8383
|
'-c', 'advice.detachedHead=false',
|
8383
8384
|
]
|
8384
8385
|
|
8385
|
-
yield
|
8386
|
+
yield GitShallowCloner.Command(
|
8386
8387
|
cmd=(
|
8387
8388
|
'git',
|
8388
8389
|
*git_opts,
|
8389
8390
|
'clone',
|
8390
8391
|
'-n',
|
8391
8392
|
'--depth=1',
|
8392
|
-
'--filter=tree:0',
|
8393
|
+
*(['--filter=tree:0'] if self.repo_subtrees is not None else []),
|
8393
8394
|
*(['-b', self.branch] if self.branch else []),
|
8394
8395
|
'--single-branch',
|
8395
8396
|
self.repo_url,
|
@@ -8399,19 +8400,20 @@ class GitSubtreeCloner:
|
|
8399
8400
|
)
|
8400
8401
|
|
8401
8402
|
rd = os.path.join(self.base_dir, self.repo_dir)
|
8402
|
-
|
8403
|
-
|
8404
|
-
|
8405
|
-
|
8406
|
-
|
8407
|
-
|
8408
|
-
|
8409
|
-
|
8410
|
-
|
8411
|
-
|
8412
|
-
|
8403
|
+
if self.repo_subtrees is not None:
|
8404
|
+
yield GitShallowCloner.Command(
|
8405
|
+
cmd=(
|
8406
|
+
'git',
|
8407
|
+
*git_opts,
|
8408
|
+
'sparse-checkout',
|
8409
|
+
'set',
|
8410
|
+
'--no-cone',
|
8411
|
+
*self.repo_subtrees,
|
8412
|
+
),
|
8413
|
+
cwd=rd,
|
8414
|
+
)
|
8413
8415
|
|
8414
|
-
yield
|
8416
|
+
yield GitShallowCloner.Command(
|
8415
8417
|
cmd=(
|
8416
8418
|
'git',
|
8417
8419
|
*git_opts,
|
@@ -8422,7 +8424,7 @@ class GitSubtreeCloner:
|
|
8422
8424
|
)
|
8423
8425
|
|
8424
8426
|
|
8425
|
-
def
|
8427
|
+
def git_shallow_clone(
|
8426
8428
|
*,
|
8427
8429
|
base_dir: str,
|
8428
8430
|
repo_url: str,
|
@@ -8431,7 +8433,7 @@ def git_clone_subtree(
|
|
8431
8433
|
rev: ta.Optional[str] = None,
|
8432
8434
|
repo_subtrees: ta.Optional[ta.Sequence[str]] = None,
|
8433
8435
|
) -> None:
|
8434
|
-
for cmd in
|
8436
|
+
for cmd in GitShallowCloner(
|
8435
8437
|
base_dir=base_dir,
|
8436
8438
|
repo_url=repo_url,
|
8437
8439
|
repo_dir=repo_dir,
|
@@ -11455,7 +11457,7 @@ class DeployGitManager(SingleDirDeployPathOwner):
|
|
11455
11457
|
) as dst_swap:
|
11456
11458
|
tdn = '.omlish-git-shallow-clone'
|
11457
11459
|
|
11458
|
-
for cmd in
|
11460
|
+
for cmd in GitShallowCloner(
|
11459
11461
|
base_dir=dst_swap.tmp_path,
|
11460
11462
|
repo_url=self.make_repo_url(spec.repo),
|
11461
11463
|
repo_dir=tdn,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev205
|
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.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
-
Requires-Dist: omserv==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev205
|
16
|
+
Requires-Dist: omlish==0.0.0.dev205
|
17
|
+
Requires-Dist: omserv==0.0.0.dev205
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
20
20
|
Requires-Dist: asyncssh~=2.18; extra == "all"
|
@@ -12,7 +12,7 @@ authors = [
|
|
12
12
|
urls = {source = 'https://github.com/wrmsr/omlish'}
|
13
13
|
license = {text = 'BSD-3-Clause'}
|
14
14
|
requires-python = '>=3.12'
|
15
|
-
version = '0.0.0.
|
15
|
+
version = '0.0.0.dev205'
|
16
16
|
classifiers = [
|
17
17
|
'License :: OSI Approved :: BSD License',
|
18
18
|
'Development Status :: 2 - Pre-Alpha',
|
@@ -22,9 +22,9 @@ classifiers = [
|
|
22
22
|
]
|
23
23
|
description = 'ominfra'
|
24
24
|
dependencies = [
|
25
|
-
'omdev == 0.0.0.
|
26
|
-
'omlish == 0.0.0.
|
27
|
-
'omserv == 0.0.0.
|
25
|
+
'omdev == 0.0.0.dev205',
|
26
|
+
'omlish == 0.0.0.dev205',
|
27
|
+
'omserv == 0.0.0.dev205',
|
28
28
|
]
|
29
29
|
|
30
30
|
[project.optional-dependencies]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ominfra-0.0.0.dev204 → ominfra-0.0.0.dev205}/ominfra/clouds/aws/models/services/services.toml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|