mvo5 / unattended-upgrades

Automatic installation of security upgrades on apt based systems
GNU General Public License v2.0
286 stars 77 forks source link

Option to show package changelogs in emails #271

Open siccovansas opened 4 years ago

siccovansas commented 4 years ago

It would be great if there would be an option to add the changelogs of the updated packages in the email that is sent after the updates are applied. Is that possible?

I guess this issue kind of relates to #104 as they both are a customization of the emails that unattended-upgrades sends.

It would also be great if unattended-upgrades has options to exclude parts of the current email. For me the ideal email would exclude the Package installation log and Unattended-upgrades log parts and would thus look like this:

Unattended upgrade returned: True

Packages that were upgraded:
<list_of_packages>

Package changelog:
<package 1 changelog>

<package 2 changelog>

<package x changelog>
rbalint commented 4 years ago

It can be done with the help of apt-listchanges, which already has some support in unattended-upgrades.