socx-cli 0.13.4__tar.gz → 0.13.5__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.
- {socx_cli-0.13.4 → socx_cli-0.13.5}/PKG-INFO +1 -1
- {socx_cli-0.13.4 → socx_cli-0.13.5}/pyproject.toml +1 -1
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/paths.py +6 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/io/log.py +1 -4
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/logging.yaml +2 -3
- {socx_cli-0.13.4 → socx_cli-0.13.5}/.gitignore +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/LICENSE +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/README.md +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/__main__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/_cli.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/_jinja.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/callbacks.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/cfg.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/cli.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/params.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/cli/types.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/_config.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/_settings.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/converters.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/encoders.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/formatters.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/serializers.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/config/validators.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/_paths.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/encoder.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/enums.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/funcs.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/metadata.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/git/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/git/git.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/git/manifest.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/plugin.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/schema/types.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/core/serializer.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/git/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/git/_git.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/git/_manifest.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/git/_ssh.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/io/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/io/console.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/io/decorators.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/mixins/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/mixins/proxy.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/mixins/uid.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/singleton/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/singleton/singleton.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/visitor/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/visitor/protocol.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/patterns/visitor/traversal.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/progress.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/regression.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/status.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/test.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/validator.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/regression/visitor.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/cli.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/console.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/git.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/plugins.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/regression.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/rich_click.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/settings/settings.yaml +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/static/sql/socx.sql +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/utils/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx/utils/decorators.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/config/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/config/_config.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/config/edit.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/arguments.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/callbacks.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/cli.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/manifest.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/renderables.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/summary.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/git/utils.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/plugin/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/plugin/example.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/plugin/schema.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/_run.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/callbacks.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/cli.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/run.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/regression/tui.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/version/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_plugins/version/__main__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/__main__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/app.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/bindings/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/bindings/vim/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/bindings/vim/mode.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/bindings/vim/vim.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/containers.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/details.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/dialog.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/mixins/__init__.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/mixins/composable.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/preview.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/table.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/tree.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/regression/widget.py +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/static/tcss/regression/app.tcss +0 -0
- {socx_cli-0.13.4 → socx_cli-0.13.5}/socx_tui/static/tcss/regression/preview.tcss +0 -0
|
@@ -29,7 +29,7 @@ socx = 'socx.__main__:main'
|
|
|
29
29
|
[project]
|
|
30
30
|
name = "socx-cli"
|
|
31
31
|
readme = "README.md"
|
|
32
|
-
version = "0.13.
|
|
32
|
+
version = "0.13.5"
|
|
33
33
|
license = "Apache-2.0"
|
|
34
34
|
authors = [{ name = "Sagi Kimhi", email = "sagi.kim5@gmail.com" }]
|
|
35
35
|
maintainers = [{ name = "Sagi Kimhi", email = "sagi.kim5@gmail.com" }]
|
|
@@ -19,8 +19,10 @@ __all__ = (
|
|
|
19
19
|
"USER_RUNTIME_DIR",
|
|
20
20
|
"USER_LOG_FILENAME",
|
|
21
21
|
"USER_CONFIG_FILENAME",
|
|
22
|
+
"USER_ROTATING_LOG_FILENAME",
|
|
22
23
|
"USER_LOG_FILE",
|
|
23
24
|
"USER_CONFIG_FILE",
|
|
25
|
+
"USER_ROTATING_LOG_FILE",
|
|
24
26
|
# Local Paths
|
|
25
27
|
"LOCAL_CONFIG_FILENAME",
|
|
26
28
|
"LOCAL_CONFIG_FILE",
|
|
@@ -46,8 +48,12 @@ from socx.core._paths import USER_CONFIG_DIR as USER_CONFIG_DIR
|
|
|
46
48
|
from socx.core._paths import USER_RUNTIME_DIR as USER_RUNTIME_DIR
|
|
47
49
|
from socx.core._paths import USER_LOG_FILENAME as USER_LOG_FILENAME
|
|
48
50
|
from socx.core._paths import USER_CONFIG_FILENAME as USER_CONFIG_FILENAME
|
|
51
|
+
from socx.core._paths import (
|
|
52
|
+
USER_ROTATING_LOG_FILENAME as USER_ROTATING_LOG_FILENAME,
|
|
53
|
+
)
|
|
49
54
|
from socx.core._paths import USER_LOG_FILE as USER_LOG_FILE
|
|
50
55
|
from socx.core._paths import USER_CONFIG_FILE as USER_CONFIG_FILE
|
|
56
|
+
from socx.core._paths import USER_ROTATING_LOG_FILE as USER_ROTATING_LOG_FILE
|
|
51
57
|
|
|
52
58
|
# Local Paths
|
|
53
59
|
from socx.core._paths import LOCAL_CONFIG_FILE as LOCAL_CONFIG_FILE
|
|
@@ -177,7 +177,6 @@ def _get_rotating_file_handler(
|
|
|
177
177
|
|
|
178
178
|
mode = mode or "w"
|
|
179
179
|
handler = logging.handlers.RotatingFileHandler(
|
|
180
|
-
# no particular reason for size or backup count - arbitrarily chosen
|
|
181
180
|
path,
|
|
182
181
|
mode=mode,
|
|
183
182
|
maxBytes=MBs(10),
|
|
@@ -246,9 +245,7 @@ def get_logger(name: str, filename: str | None = None) -> logging.Logger:
|
|
|
246
245
|
"""Return a child logger configured with optional file output."""
|
|
247
246
|
rv = logger.getChild(name)
|
|
248
247
|
if filename is not None:
|
|
249
|
-
|
|
250
|
-
handler.setFormatter(DEFAULT_CHILD_FORMATTER)
|
|
251
|
-
rv.addHandler(handler)
|
|
248
|
+
rv.addHandler(_get_file_handler(filename))
|
|
252
249
|
return rv
|
|
253
250
|
|
|
254
251
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
logging:
|
|
2
2
|
handlers:
|
|
3
3
|
file:
|
|
4
|
-
path: "@
|
|
4
|
+
path: "@jinja {{this.paths.user_log_file}}"
|
|
5
5
|
level: DEBUG
|
|
6
6
|
console:
|
|
7
7
|
level: INFO
|
|
@@ -12,8 +12,7 @@ logging:
|
|
|
12
12
|
False
|
|
13
13
|
{%- endif -%}"
|
|
14
14
|
rotating_file:
|
|
15
|
-
|
|
16
|
-
path: "@get this.paths.user_rotating_log_file"
|
|
15
|
+
path: "@jinja {{this.paths.user_rotating_log_file}}"
|
|
17
16
|
|
|
18
17
|
formatters:
|
|
19
18
|
default:
|
|
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
|