Store verify results for later query
I am thinking it would be nice for swupd verify to gain the ability to store its results for query at a later time.
One use case would be for swupd update to trigger a swupd verify in the background after the update has completed. The results of the verify -- assuming a clean system prior to the update -- could be used to suggest actions to the user via notification. For example: System integrity issue detected, affecting files X, Y, and Z. A swupd verify --fix is recommended.
Hmm.. Or, another idea : As people affected by such system integrity will (should ?) turn to a "swupd update", maybe you could make "swupd update" first check the last verify result, and refuse to operate before the user issues the required --fix cmd ? I think I have seen this behaviour with debian-based distros, where apt detect such DB inconsistency, and requires an "apt install -f" or something ? This message is printed on "apt update" I think So should CLR do ?