losuler/zypper-automatic

Adding option to configure email reporting

Opened this issue · 0 comments

For example Debian unattended upgrades has option Unattended-Upgrade::MailReport, whihc can be set to "always", "only-on-error" or "on-change".

This kind of option would be nice when zypper-automatic is used on multiple servers, to make it report only installed updates or errors. Does this sound feasible, would you accept contributions to implement this?

My idea was to add report option in the [email] section (and probably same logic can be applied for telegram) of the config. And that could accept same kind of values as the Debian UU report option. Do you have any opinion on this?