swupd-client icon indicating copy to clipboard operation
swupd-client copied to clipboard

Store verify results for later query

Open phmccarty opened this issue 6 years ago • 1 comments

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.

phmccarty avatar Apr 12 '19 19:04 phmccarty

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 ?

nsauzede avatar Apr 12 '19 20:04 nsauzede