dirigent-cli 0.17.3__tar.gz → 0.18.0__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.
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/PKG-INFO +9 -9
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/pyproject.toml +9 -9
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/pyproject.toml.orig +9 -9
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/commands.py +1 -1
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/init_form.py +1 -1
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/main.py +6 -5
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/project.py +1 -1
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/LICENSE +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/README.md +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/__init__.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/aliases.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/context.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/formatters.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/graph.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/health.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/local.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/messages.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/output.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/params.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/profiles.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/py.typed +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/reaper.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/scaffold.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/schemas.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/seeding.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/sources.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/starters.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/stream.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/summaries.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/README.md.tmpl +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/__init__.py.tmpl +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/operator.py.tmpl +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/pyproject.toml.tmpl +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/test_plugin.py.tmpl +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/timing.py +0 -0
- {dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/triggers.py +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dirigent-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
4
4
|
Summary: The dirigent command line interface (dirigent / dg).
|
|
5
5
|
License-Expression: LicenseRef-Proprietary
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: Programming Language :: Python :: 3.13
|
|
9
|
-
Requires-Dist: dirigent-block-execute==0.
|
|
10
|
-
Requires-Dist: dirigent-blocks==0.
|
|
11
|
-
Requires-Dist: dirigent-client==0.
|
|
12
|
-
Requires-Dist: dirigent-common==0.
|
|
13
|
-
Requires-Dist: dirigent-core==0.
|
|
14
|
-
Requires-Dist: dirigent-examples==0.
|
|
15
|
-
Requires-Dist: dirigent-plugin==0.
|
|
16
|
-
Requires-Dist: dirigent-server==0.
|
|
9
|
+
Requires-Dist: dirigent-block-execute==0.18.0
|
|
10
|
+
Requires-Dist: dirigent-blocks==0.18.0
|
|
11
|
+
Requires-Dist: dirigent-client==0.18.0
|
|
12
|
+
Requires-Dist: dirigent-common==0.18.0
|
|
13
|
+
Requires-Dist: dirigent-core==0.18.0
|
|
14
|
+
Requires-Dist: dirigent-examples==0.18.0
|
|
15
|
+
Requires-Dist: dirigent-plugin==0.18.0
|
|
16
|
+
Requires-Dist: dirigent-server==0.18.0
|
|
17
17
|
Requires-Dist: httpx2>=2.12.0
|
|
18
18
|
Requires-Dist: python-dotenv>=1.1.0
|
|
19
19
|
Requires-Dist: pyyaml>=6.0.3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dirigent-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.18.0"
|
|
4
4
|
description = "The dirigent command line interface (dirigent / dg)."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -11,14 +11,14 @@ classifiers = [
|
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"dirigent-block-execute==0.
|
|
15
|
-
"dirigent-blocks==0.
|
|
16
|
-
"dirigent-client==0.
|
|
17
|
-
"dirigent-common==0.
|
|
18
|
-
"dirigent-core==0.
|
|
19
|
-
"dirigent-examples==0.
|
|
20
|
-
"dirigent-plugin==0.
|
|
21
|
-
"dirigent-server==0.
|
|
14
|
+
"dirigent-block-execute==0.18.0",
|
|
15
|
+
"dirigent-blocks==0.18.0",
|
|
16
|
+
"dirigent-client==0.18.0",
|
|
17
|
+
"dirigent-common==0.18.0",
|
|
18
|
+
"dirigent-core==0.18.0",
|
|
19
|
+
"dirigent-examples==0.18.0",
|
|
20
|
+
"dirigent-plugin==0.18.0",
|
|
21
|
+
"dirigent-server==0.18.0",
|
|
22
22
|
"httpx2>=2.12.0",
|
|
23
23
|
"python-dotenv>=1.1.0",
|
|
24
24
|
"pyyaml>=6.0.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dirigent-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.18.0"
|
|
4
4
|
description = "The dirigent command line interface (dirigent / dg)."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -11,14 +11,14 @@ classifiers = [
|
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"dirigent-block-execute==0.
|
|
15
|
-
"dirigent-blocks==0.
|
|
16
|
-
"dirigent-client==0.
|
|
17
|
-
"dirigent-common==0.
|
|
18
|
-
"dirigent-core==0.
|
|
19
|
-
"dirigent-examples==0.
|
|
20
|
-
"dirigent-plugin==0.
|
|
21
|
-
"dirigent-server==0.
|
|
14
|
+
"dirigent-block-execute==0.18.0",
|
|
15
|
+
"dirigent-blocks==0.18.0",
|
|
16
|
+
"dirigent-client==0.18.0",
|
|
17
|
+
"dirigent-common==0.18.0",
|
|
18
|
+
"dirigent-core==0.18.0",
|
|
19
|
+
"dirigent-examples==0.18.0",
|
|
20
|
+
"dirigent-plugin==0.18.0",
|
|
21
|
+
"dirigent-server==0.18.0",
|
|
22
22
|
"httpx2>=2.12.0",
|
|
23
23
|
"python-dotenv>=1.1.0",
|
|
24
24
|
"pyyaml>=6.0.3",
|
|
@@ -1838,7 +1838,7 @@ def runs_list(
|
|
|
1838
1838
|
list[str] | None,
|
|
1839
1839
|
typer.Option("--tag", help="Only runs whose pipeline wears this tag; repeat it to name more."),
|
|
1840
1840
|
] = None,
|
|
1841
|
-
limit: Annotated[int, typer.Option(help="How many runs at most;
|
|
1841
|
+
limit: Annotated[int, typer.Option(help=f"How many runs at most; {RUNS_PAGE} when omitted.")] = RUNS_PAGE,
|
|
1842
1842
|
) -> None:
|
|
1843
1843
|
"""List runs, newest first, or the ones whose pipeline wears every tag named."""
|
|
1844
1844
|
if status is not None and status not in set(RunStatus):
|
|
@@ -244,7 +244,7 @@ class InitForm(App[InitChoices | None]):
|
|
|
244
244
|
elif choices.instance:
|
|
245
245
|
files += [".env", ".dirigent/state/"]
|
|
246
246
|
if choices.workflow:
|
|
247
|
-
files.append(".github/workflows/dirigent.
|
|
247
|
+
files.append(".github/workflows/dirigent.yaml")
|
|
248
248
|
self.query_one("#files", Label).update("Will write: " + ", ".join(files))
|
|
249
249
|
|
|
250
250
|
def on_button_pressed(self, event: Button.Pressed) -> None:
|
|
@@ -51,7 +51,7 @@ from dirigent_client.enums import UserRole
|
|
|
51
51
|
from dirigent_common import Issue
|
|
52
52
|
from dirigent_core import migrations
|
|
53
53
|
from dirigent_core.config import STATE_DIR, Settings, get_settings, redacted_url, reset_settings_cache
|
|
54
|
-
from dirigent_core.logging import
|
|
54
|
+
from dirigent_core.logging import configure_logging, silence_stdout
|
|
55
55
|
from dirigent_core.protocol import FORMATS, Format, Record, make
|
|
56
56
|
from dirigent_core.telemetry import configure_telemetry
|
|
57
57
|
|
|
@@ -194,14 +194,15 @@ def main_callback(
|
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
def resolve_output(named: str | None, *, json_output: bool) -> Format:
|
|
197
|
-
"""Resolve the output: the flag, then the
|
|
197
|
+
"""Resolve the output: the flag, then the ``log_format`` setting, then the terminal.
|
|
198
198
|
|
|
199
|
-
``--json`` is the same request as ``--output json
|
|
200
|
-
|
|
199
|
+
``--json`` is the same request as ``--output json``. ``log_format`` is where a container,
|
|
200
|
+
a project's ``.env`` or its ``dirigent.yaml`` says it once, read through the same layers
|
|
201
|
+
every other setting is. Unasked, a terminal gets the rendering and anything else gets
|
|
201
202
|
NDJSON: a pipe, a container's log, an agent's shell and CI are never terminals, so a
|
|
202
203
|
script reads records without asking, and a person reads lines without asking.
|
|
203
204
|
"""
|
|
204
|
-
chosen = named or ("json" if json_output else None) or
|
|
205
|
+
chosen = named or ("json" if json_output else None) or get_settings().log_format
|
|
205
206
|
if chosen is None:
|
|
206
207
|
return "console" if sys.stdout.isatty() else "json"
|
|
207
208
|
resolved = chosen.lower()
|
|
@@ -919,7 +919,7 @@ def scaffold(directory: Path, choices: InitChoices, *, version: str = "0.0.0") -
|
|
|
919
919
|
_record(directory / "README.md", readme, written, skipped)
|
|
920
920
|
_merge_ignore(directory / ".gitignore", ROOT_IGNORE_TEMPLATE, written, skipped)
|
|
921
921
|
if choices.workflow:
|
|
922
|
-
written.append(_write(directory / ".github" / "workflows" / "dirigent.
|
|
922
|
+
written.append(_write(directory / ".github" / "workflows" / "dirigent.yaml", WORKFLOW_TEMPLATE))
|
|
923
923
|
if choices.stack:
|
|
924
924
|
written.append(_write(directory / "compose.yaml", compose_document(choices, version)))
|
|
925
925
|
written.append(_write(directory / "Dockerfile", dockerfile_document(choices, version)))
|
|
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
|
{dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/__init__.py.tmpl
RENAMED
|
File without changes
|
{dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/operator.py.tmpl
RENAMED
|
File without changes
|
{dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/pyproject.toml.tmpl
RENAMED
|
File without changes
|
{dirigent_cli-0.17.3 → dirigent_cli-0.18.0}/src/dirigent_cli/templates/pack/test_plugin.py.tmpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|