From 4a821226fb1a7c29db75cc184a9fc4e3f1141e12 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 28 Jul 2026 04:41:41 +0000 Subject: [PATCH] [IMP] script todo: print all log paths when opening the install monitor After "Opening the interactive monitor..." the install now lists every VM's log file path, so they can be read or shared even when leaving the dashboard before the installs finish. Co-Authored-By: Claude Opus 4.8 (1M context) --- script/todo/todo.py | 6 ++++++ script/todo/todo_i18n.py | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/script/todo/todo.py b/script/todo/todo.py index 7c43606..fe8a6be 100755 --- a/script/todo/todo.py +++ b/script/todo/todo.py @@ -1725,6 +1725,12 @@ class TODO: return manifest = launch_installs(vms, branch, remote) print(f"\n🖥 {t('Opening the interactive monitor...')}") + # Affiche tous les chemins de log (pour les consulter/partager même si + # on quitte le dashboard avant la fin). + print(f" {t('Log files:')}") + with open(manifest, encoding="utf-8") as _fh: + for entry in json.load(_fh)["vms"]: + print(f" {entry['log']}") try: run_monitor(manifest) except ImportError: diff --git a/script/todo/todo_i18n.py b/script/todo/todo_i18n.py index 1b6edb9..7ac0a1f 100644 --- a/script/todo/todo_i18n.py +++ b/script/todo/todo_i18n.py @@ -1447,6 +1447,10 @@ TRANSLATIONS = { "fr": "Lire les logs :", "en": "Read the logs:", }, + "Log files:": { + "fr": "Fichiers de log :", + "en": "Log files:", + }, "Install textual for the dashboard (pip).": { "fr": "Installez textual pour le dashboard (pip).", "en": "Install textual for the dashboard (pip).",