mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-17 11:10:23 +00:00
- 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>