YunoHost-Apps/archivist_ynh

Integration in Yunohost auto-diagnosis ? Warn if new app has no backup

Opened this issue · 2 comments

Hello,

I am wondering if an app can register something for the auto-diagnosis screen (@YunoHost-Apps/apps-group ?).
If so, could it be that this app would add a check in that diagnosis that would scan installed apps, and warn if automated backup is not set up for one of them.
This way, if you install a new app after archivist first config, you don't have to think about adding it to automated backups : the diagnosis will warn you have this app having no backup setup.

What do you think about such a feature ?

I've implemented something to catch new apps in another app, fallback, a long time ago.

As far as I can tell, it's still working nowadays.

It could probably be used to do something similar for this app.

I am not sure it should register them for automated backup by default, but that could be an option and it's probably better than not doing it.
Thank you for that reference, I will take a look :)