YunoHost-Apps / archivist_ynh

GNU General Public License v3.0
12 stars 4 forks source link

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

Open lapineige opened 1 year ago

lapineige commented 1 year ago

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 ?

maniackcrudelis commented 1 year ago

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.

lapineige commented 1 year ago

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 :)