omdev 0.0.0.dev420__py3-none-any.whl → 0.0.0.dev422__py3-none-any.whl
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.
- omdev/cache/compute/storage.py +3 -1
- omdev/ci/cache.py +3 -2
- omdev/ci/docker/buildcaching.py +3 -1
- omdev/ci/docker/cache.py +2 -1
- omdev/ci/docker/cacheserved/manifests.py +2 -2
- omdev/ci/docker/imagepulling.py +2 -1
- omdev/ci/docker/repositories.py +2 -1
- omdev/ci/github/api/clients.py +4 -3
- omdev/clipboard/clipboard.py +1 -1
- omdev/cmake.py +2 -1
- omdev/dataserver/handlers.py +3 -2
- omdev/dataserver/targets.py +2 -2
- omdev/interp/providers/base.py +3 -2
- omdev/interp/pyenv/install.py +2 -1
- omdev/manifests/_dumping.py +427 -127
- omdev/oci/data.py +2 -2
- omdev/oci/datarefs.py +2 -2
- omdev/oci/media.py +2 -2
- omdev/oci/repositories.py +3 -2
- omdev/pyproject/pkg.py +2 -1
- omdev/scripts/ci.py +3969 -3667
- omdev/scripts/interp.py +1000 -896
- omdev/scripts/pyproject.py +2384 -2085
- omdev/tools/git/messages.py +2 -2
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/RECORD +30 -30
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/licenses/LICENSE +0 -0
- {omdev-0.0.0.dev420.dist-info → omdev-0.0.0.dev422.dist-info}/top_level.txt +0 -0
omdev/oci/data.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007 UP045
|
2
2
|
# @omlish-lite
|
3
|
-
import abc
|
4
3
|
import dataclasses as dc
|
5
4
|
import enum
|
6
5
|
import typing as ta
|
7
6
|
|
7
|
+
from omlish.lite.abstract import Abstract
|
8
8
|
from omlish.lite.check import check
|
9
9
|
from omlish.lite.marshal import OBJ_MARSHALER_FIELD_KEY
|
10
10
|
from omlish.lite.marshal import OBJ_MARSHALER_OMIT_IF_NONE
|
@@ -17,7 +17,7 @@ from .datarefs import OciDataRef
|
|
17
17
|
|
18
18
|
|
19
19
|
@dc.dataclass()
|
20
|
-
class OciDataclass(
|
20
|
+
class OciDataclass(Abstract):
|
21
21
|
pass
|
22
22
|
|
23
23
|
|
omdev/oci/datarefs.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007 UP045
|
2
2
|
# @omlish-lite
|
3
|
-
import abc
|
4
3
|
import dataclasses as dc
|
5
4
|
import functools
|
6
5
|
import hashlib
|
@@ -10,6 +9,7 @@ import shutil
|
|
10
9
|
import tarfile
|
11
10
|
import typing as ta
|
12
11
|
|
12
|
+
from omlish.lite.abstract import Abstract
|
13
13
|
from omlish.lite.cached import cached_nullary
|
14
14
|
from omlish.lite.check import check
|
15
15
|
|
@@ -18,7 +18,7 @@ from omlish.lite.check import check
|
|
18
18
|
|
19
19
|
|
20
20
|
@dc.dataclass(frozen=True)
|
21
|
-
class OciDataRef(
|
21
|
+
class OciDataRef(Abstract):
|
22
22
|
pass
|
23
23
|
|
24
24
|
|
omdev/oci/media.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007 UP045
|
2
2
|
# @omlish-lite
|
3
|
-
import abc
|
4
3
|
import dataclasses as dc
|
5
4
|
import typing as ta
|
6
5
|
|
6
|
+
from omlish.lite.abstract import Abstract
|
7
7
|
from omlish.lite.check import check
|
8
8
|
from omlish.lite.marshal import OBJ_MARSHALER_FIELD_KEY
|
9
9
|
from omlish.lite.marshal import OBJ_MARSHALER_OMIT_IF_NONE
|
@@ -23,7 +23,7 @@ OCI_MEDIA_FIELDS: ta.Collection[str] = frozenset([
|
|
23
23
|
|
24
24
|
|
25
25
|
@dc.dataclass()
|
26
|
-
class OciMediaDataclass(
|
26
|
+
class OciMediaDataclass(Abstract):
|
27
27
|
SCHEMA_VERSION: ta.ClassVar[int]
|
28
28
|
|
29
29
|
@property
|
omdev/oci/repositories.py
CHANGED
@@ -5,6 +5,7 @@ import os.path
|
|
5
5
|
import tarfile
|
6
6
|
import typing as ta
|
7
7
|
|
8
|
+
from omlish.lite.abstract import Abstract
|
8
9
|
from omlish.lite.check import check
|
9
10
|
from omlish.os.paths import is_path_in_dir
|
10
11
|
|
@@ -17,7 +18,7 @@ from .datarefs import TarFileOciDataRef
|
|
17
18
|
##
|
18
19
|
|
19
20
|
|
20
|
-
class OciRepository(
|
21
|
+
class OciRepository(Abstract):
|
21
22
|
@abc.abstractmethod
|
22
23
|
def contains_blob(self, digest: str) -> bool:
|
23
24
|
raise NotImplementedError
|
@@ -57,7 +58,7 @@ class OciRepository(abc.ABC):
|
|
57
58
|
raise TypeError(obj)
|
58
59
|
|
59
60
|
|
60
|
-
class FileOciRepository(OciRepository,
|
61
|
+
class FileOciRepository(OciRepository, Abstract):
|
61
62
|
@abc.abstractmethod
|
62
63
|
def read_file(self, path: str) -> bytes:
|
63
64
|
raise NotImplementedError
|
omdev/pyproject/pkg.py
CHANGED
@@ -36,6 +36,7 @@ import types
|
|
36
36
|
import typing as ta
|
37
37
|
|
38
38
|
from omlish.formats.toml.writer import TomlWriter
|
39
|
+
from omlish.lite.abstract import Abstract
|
39
40
|
from omlish.lite.cached import cached_nullary
|
40
41
|
from omlish.lite.logs import log
|
41
42
|
from omlish.subprocesses.sync import subprocesses
|
@@ -48,7 +49,7 @@ from ..packaging.revisions import GitRevisionAdder
|
|
48
49
|
##
|
49
50
|
|
50
51
|
|
51
|
-
class BasePyprojectPackageGenerator(
|
52
|
+
class BasePyprojectPackageGenerator(Abstract):
|
52
53
|
def __init__(
|
53
54
|
self,
|
54
55
|
dir_name: str,
|