Commit graph

10 commits

Author SHA1 Message Date
Pavel Isaev
bcc32b881b Show the OS image size and MIT licence in software centers (D-113)
Refresh reads the signed target commit metadata and GetStatus/GetUpdateDetails expose download_size and installed_size before any image bytes move. Discover shows the transfer size and installed size; GNOME Software sets the download size. Both declare MIT and treat absent metadata as unknown.
2026-11-14 17:18:12 +03:00
Archipelago
abd4bc636a Test intermediate update percentages, not the terminal value
The plugin still terminates a successful update at 100% by design, so asserting
the final GsApp percentage could only ever observe the terminal transition.
Record notify::progress and assert that the fixture's 25%/60% snapshots reached
both the OS row and its related package row, then check the 100% terminal state.
2026-11-14 13:27:03 +03:00
Archipelago
790a4dd2b0 Report real update progress and ship the distributor icon (D-112)
Progress.percent becomes a monotonic completion estimate: phase checkpoints
keep their bands and fetching OSTree commands refine the value inside the band
from libostree's terminal output. libostree draws progress only on a TTY, so
Worker::command_progress runs the command under `script -qec`, strips ANSI and
carriage-return redrawing, and parses receiving/writing/completion records.
OperationEvents::progress clamps to 99, never rewinds and skips no-op fsyncs.
Applied to layer pull, image pull in prepare/execute, both pull-local imports
and retain_clean_base.

Discover keeps a monotonic floor across PrepareUpdate→Stage, preserves the last
observation when GetStatus fails, and stops reporting the transient
`reconciling` window as an update error. GNOME Software polls snapshots from its
worker thread, marshals percentages to the caller's GMainContext, mirrors them
onto related package rows and applies the same reconciliation policy.

The package installs archipelago.svg and archipelago-symbolic.svg into hicolor
so both clients can show the distributor identity.
2026-11-14 13:14:42 +03:00
Pavel Isaev
0909fb39db Shut down GNOME plugin fixture before disposing it 2026-11-08 02:21:56 +03:00
Pavel Isaev
b91cabaef7 Implement durable host transactions and native OS D-Bus clients 2026-11-07 19:29:51 +03:00
Pavel Isaev
2848c1fdc9 Record published GUI CLI release and recover archived-input cleanup 2026-11-07 09:59:16 +03:00
Pavel Isaev
56c2e9ba86 Complete GNOME plugin shutdown in pipeline regression fixture 2026-11-06 23:32:46 +03:00
Pavel Isaev
90e69c25b5 Fix desktop update lifecycle and retain readable transaction progress 2026-11-06 23:00:27 +03:00
Pavel Isaev
c36a6e00c0 Reject older image updates and reconcile interrupted operations 2026-11-06 18:26:25 +03:00
Pavel Isaev
51bc6ff237 Record native desktop delivery, update integration and validation work in progress 2026-11-06 00:09:27 +03:00