katalon-cli 0.1.7__tar.gz → 0.1.8__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.
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/PKG-INFO +2 -1
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/README.md +1 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/pyproject.toml +1 -1
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/pyproject.toml.orig +1 -1
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/main.py +17 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/__init__.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/__init__.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/backup.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/checks.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/compose_gen.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/docker.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/paths.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/release.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/core/state.py +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/py.typed +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/templates/compose.yaml.j2 +0 -0
- {katalon_cli-0.1.7 → katalon_cli-0.1.8}/src/katalon_cli/templates/nginx.conf.j2 +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: katalon-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Installer & Updater CLI für Katalon Production-Instanzen
|
|
5
5
|
Author: Karl Krägelin
|
|
6
6
|
Author-email: Karl Krägelin <karlkraegelin@gmail.com>
|
|
@@ -30,6 +30,7 @@ uv tool install katalon-cli
|
|
|
30
30
|
```bash
|
|
31
31
|
katalon install # interaktiver Setup-Wizard (Rich-Prompts + Progress)
|
|
32
32
|
katalon start / stop / status
|
|
33
|
+
katalon check-updates # prüft nur, ob ein neues Release verfügbar ist
|
|
33
34
|
katalon update # interaktives Update, Backup zuerst immer
|
|
34
35
|
katalon rollback # letztes Backup einspielen
|
|
35
36
|
katalon doctor # Docker, Diskspace, Ports prüfen
|
|
@@ -16,6 +16,7 @@ uv tool install katalon-cli
|
|
|
16
16
|
```bash
|
|
17
17
|
katalon install # interaktiver Setup-Wizard (Rich-Prompts + Progress)
|
|
18
18
|
katalon start / stop / status
|
|
19
|
+
katalon check-updates # prüft nur, ob ein neues Release verfügbar ist
|
|
19
20
|
katalon update # interaktives Update, Backup zuerst immer
|
|
20
21
|
katalon rollback # letztes Backup einspielen
|
|
21
22
|
katalon doctor # Docker, Diskspace, Ports prüfen
|
|
@@ -481,6 +481,23 @@ def doctor(dir: Path = typer.Option(DEFAULT_DIR, "--dir")):
|
|
|
481
481
|
)
|
|
482
482
|
docker.compose(dir, "ps")
|
|
483
483
|
|
|
484
|
+
@app.command()
|
|
485
|
+
def check_updates(dir: Path = typer.Option(DEFAULT_DIR, "--dir")):
|
|
486
|
+
"""Prüft, ob eine neue Katalon-Version verfügbar ist."""
|
|
487
|
+
instance_dir_or_raise(dir)
|
|
488
|
+
state = InstallationState.load(dir)
|
|
489
|
+
try:
|
|
490
|
+
meta = release.get_latest_release()
|
|
491
|
+
except Exception as exc:
|
|
492
|
+
console.print(f"[red]✖ Release-Metadaten konnten nicht geladen werden: {exc}[/]")
|
|
493
|
+
raise typer.Exit(1) from exc
|
|
494
|
+
|
|
495
|
+
if meta.version == state.version:
|
|
496
|
+
console.print(f"[green]✔[/] Bereits auf aktueller Version {meta.version}.")
|
|
497
|
+
return
|
|
498
|
+
console.print(f"Update verfügbar: [bold]{state.version}[/] → [bold]{meta.version}[/]")
|
|
499
|
+
|
|
500
|
+
|
|
484
501
|
@app.command()
|
|
485
502
|
def update(
|
|
486
503
|
dir: Path = typer.Option(DEFAULT_DIR, "--dir"),
|
|
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
|