ae-shell 0.3.18__tar.gz → 0.3.19__tar.gz
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.
- {ae_shell-0.3.18 → ae_shell-0.3.19}/LICENSE.md +1 -1
- {ae_shell-0.3.18/ae_shell.egg-info → ae_shell-0.3.19}/PKG-INFO +4 -4
- {ae_shell-0.3.18 → ae_shell-0.3.19}/README.md +3 -3
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae/shell.py +3 -3
- {ae_shell-0.3.18 → ae_shell-0.3.19/ae_shell.egg-info}/PKG-INFO +4 -4
- {ae_shell-0.3.18 → ae_shell-0.3.19}/pyproject.toml +1 -1
- {ae_shell-0.3.18 → ae_shell-0.3.19}/setup.py +2 -2
- {ae_shell-0.3.18 → ae_shell-0.3.19}/tests/test_shell.py +2 -2
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae_shell.egg-info/SOURCES.txt +0 -0
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae_shell.egg-info/dependency_links.txt +0 -0
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae_shell.egg-info/requires.txt +0 -0
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae_shell.egg-info/top_level.txt +0 -0
- {ae_shell-0.3.18 → ae_shell-0.3.19}/ae_shell.egg-info/zip-safe +0 -0
- {ae_shell-0.3.18 → ae_shell-0.3.19}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ae_shell
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.19
|
|
4
4
|
Summary: ae namespace module portion shell: shell execution and environment helpers
|
|
5
5
|
Home-page: https://gitlab.com/ae-group/ae_shell
|
|
6
6
|
Author: AndiEcker
|
|
@@ -64,13 +64,13 @@ Dynamic: summary
|
|
|
64
64
|
|
|
65
65
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
|
|
66
66
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
|
|
67
|
-
# shell 0.3.
|
|
67
|
+
# shell 0.3.19
|
|
68
68
|
|
|
69
69
|
[](
|
|
70
70
|
https://gitlab.com/ae-group/ae_shell)
|
|
71
71
|
[](
|
|
73
|
+
https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
|
|
74
74
|
[](
|
|
75
75
|
https://pypi.org/project/ae-shell/#history)
|
|
76
76
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
|
|
2
2
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
|
|
3
|
-
# shell 0.3.
|
|
3
|
+
# shell 0.3.19
|
|
4
4
|
|
|
5
5
|
[](
|
|
6
6
|
https://gitlab.com/ae-group/ae_shell)
|
|
7
7
|
[](
|
|
9
|
+
https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
|
|
10
10
|
[](
|
|
11
11
|
https://pypi.org/project/ae-shell/#history)
|
|
12
12
|
|
|
@@ -26,13 +26,13 @@ from collections.abc import Callable, Iterator, MutableMapping
|
|
|
26
26
|
from contextlib import contextmanager
|
|
27
27
|
from typing import Any, Sequence, cast, overload
|
|
28
28
|
|
|
29
|
-
from ae.base import UNSET, UnsetType, dummy_function, env_str, norm_name
|
|
29
|
+
from ae.base import UNSET, URI_SVC_SEP, UnsetType, dummy_function, env_str, norm_name # type: ignore
|
|
30
30
|
from ae.system import load_env_var_defaults, os_env_venv # type: ignore
|
|
31
31
|
from ae.core import main_app_instance, AppBase # type: ignore
|
|
32
32
|
from ae.console import MAIN_SECTION_NAME, ConsoleApp # type: ignore
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
__version__ = '0.3.
|
|
35
|
+
__version__ = '0.3.19'
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
STDERR_BEG_MARKER = 'vvv STDERR vvv' #: :paramref:`ae.shell.run_cmd.output_lines` begin `stderr` lines marker
|
|
@@ -139,7 +139,7 @@ def mask_token(text: str | Sequence[str]) -> str | list[str]:
|
|
|
139
139
|
else:
|
|
140
140
|
lines = list(text) # copy to not change text list content
|
|
141
141
|
|
|
142
|
-
url_beg =
|
|
142
|
+
url_beg = f"https{URI_SVC_SEP}" # PDV_REPO_HOST_PROTOCOL
|
|
143
143
|
url_beg_len = len(url_beg)
|
|
144
144
|
for tok_beg, tok_end in ((':', '@codeberg.org'), ('glpat-', '@gitlab.com'), ('ghp_', '@github.com')):
|
|
145
145
|
for idx, line in enumerate(lines):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ae_shell
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.19
|
|
4
4
|
Summary: ae namespace module portion shell: shell execution and environment helpers
|
|
5
5
|
Home-page: https://gitlab.com/ae-group/ae_shell
|
|
6
6
|
Author: AndiEcker
|
|
@@ -64,13 +64,13 @@ Dynamic: summary
|
|
|
64
64
|
|
|
65
65
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
|
|
66
66
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
|
|
67
|
-
# shell 0.3.
|
|
67
|
+
# shell 0.3.19
|
|
68
68
|
|
|
69
69
|
[](
|
|
70
70
|
https://gitlab.com/ae-group/ae_shell)
|
|
71
71
|
[](
|
|
73
|
+
https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
|
|
74
74
|
[](
|
|
75
75
|
https://pypi.org/project/ae-shell/#history)
|
|
76
76
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.
|
|
1
|
+
# THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.104
|
|
2
2
|
""" setup of ae namespace module portion shell: shell execution and environment helpers. """
|
|
3
3
|
import pathlib
|
|
4
4
|
import sys
|
|
@@ -77,7 +77,7 @@ setup_kwargs: dict[str, Any] = {
|
|
|
77
77
|
},
|
|
78
78
|
'python_requires': '>=3.12',
|
|
79
79
|
'url': 'https://gitlab.com/ae-group/ae_shell',
|
|
80
|
-
'version': '0.3.
|
|
80
|
+
'version': '0.3.19',
|
|
81
81
|
'zip_safe': True,
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -5,7 +5,7 @@ import sys
|
|
|
5
5
|
import subprocess
|
|
6
6
|
from unittest.mock import PropertyMock, patch
|
|
7
7
|
|
|
8
|
-
from ae.base import UNSET, camel_to_snake, norm_name, os_path_join, write_file
|
|
8
|
+
from ae.base import UNSET, URI_SVC_SEP, camel_to_snake, norm_name, os_path_join, write_file
|
|
9
9
|
from ae.system import load_env_var_defaults, os_env_venv
|
|
10
10
|
from ae.core import DEBUG_LEVEL_DISABLED, DEBUG_LEVEL_ENABLED, DEBUG_LEVEL_VERBOSE
|
|
11
11
|
from ae.console import MAIN_SECTION_NAME, ConsoleApp
|
|
@@ -221,7 +221,7 @@ class TestHelpers:
|
|
|
221
221
|
assert os.environ == os_env
|
|
222
222
|
|
|
223
223
|
def test_mask_token(self):
|
|
224
|
-
url_prefix_str = "https
|
|
224
|
+
url_prefix_str = f"https{URI_SVC_SEP}" # PDV_REPO_HOST_PROTOCOL
|
|
225
225
|
|
|
226
226
|
token = "codeberg token does not have a prefix and only contains hex-digits followed by @ and codeberg.org"
|
|
227
227
|
text = f"a text block containing a codeberg URL with a token: {url_prefix_str}UsaNäm:{token}@codeberg.org"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|