James Valleroy f487565b2c
app, component: Add repair method
- Allows apps and component to implement custom repair methods.

- Default implementation asks relevant components to repair, and then if
  needed, requests re-run setup for the app.

- Component.repair will return True by default, indicating that setup should be
  re-run.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Minor docstring styling fixes]
[sunil: Improve tests for repair]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-05-02 21:45:25 -07:00
..
2024-05-02 21:45:25 -07:00
2024-04-22 21:03:15 -04:00
2023-08-23 21:47:39 -04:00
2024-05-02 21:45:25 -07:00
2021-09-20 16:50:37 -04:00
2024-03-16 09:17:35 +02:00
2024-03-16 09:17:35 +02:00