diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 19:12:05 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 19:12:05 +0200 |
| commit | 6fdb31d538269136415ce71cbf58de6017f95463 (patch) | |
| tree | a37e51bdaf4783bce22cf121061d71e69ea2a862 /config.example.toml | |
| parent | fb64c88bb8672ee9bdb8172eec0252966d67404a (diff) | |
| download | sb-builder-6fdb31d538269136415ce71cbf58de6017f95463.tar.gz sb-builder-6fdb31d538269136415ce71cbf58de6017f95463.zip | |
Add the PyQt6 GUI: Dashboard, Jobs, VM control, notifications
All VM access goes through remote.py (ssh with a shared ControlMaster,
local virsh). The main window polls jobs, backs off while ssh is down,
checks the libvirt domain and offers Start or Resume, and sends
freedesktop notifications when a job ends or the VM comes up. The Jobs
tab streams a job's log with job-follow and resumes at the last offset
after a drop. Config is TOML, validated against built-in defaults.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'config.example.toml')
| -rw-r--r-- | config.example.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config.example.toml b/config.example.toml new file mode 100644 index 0000000..22afaec --- /dev/null +++ b/config.example.toml @@ -0,0 +1,19 @@ +# sb-builder GUI config: ~/.config/sb-builder/config.toml +# Every key is optional; these are the defaults. + +[remote] +target = "buildsystem" # any ssh destination: host alias, user@host +ssh_options = [] # extra ssh args, e.g. ["-p", "2222"] + +[refresh] +dashboard = 30 # seconds, while the Dashboard tab is visible +jobs = 5 # seconds; doubles up to 30 while the VM is down + +[notify] +enabled = true +events = ["finished", "failed", "killed", "lost", "vm-up"] + +[vm] +libvirt_uri = "qemu:///system" +domain = "buildsystem" # libvirt domain of the VM; "" disables VM control +autostart = false # true: start the VM without asking when it is off |
