DE-IBH / apt-dater

terminal-based remote package update manager
GNU General Public License v2.0
101 stars 24 forks source link

differentiate security updates #148

Open tpo opened 6 years ago

tpo commented 6 years ago

This patch makes the UI display security updates with a 'U' instead of a 'u'.

The patch is the counterpart to this apt-dater-host commit ...

https://github.com/sourcepole/apt-dater-host/commit/8ac83e003c5aaff17d6fcaf5f0e4166b5d061640

... which make apt-dater-host report security updates with a flag 'U' instead of a 'u'.

Same as with 8ac83e0, this patch should be understood as a proof of concept that works.

What is missing from this patch is:

a bump of the protocol version
updates to the protocol documentation
updates to report generation
updates to the on screen help

I'd very much appreciate the inclusion of this /feature/. It does not need to be implemented the way I did it. In particular, maybe using a 'U' for signaling a security update could be debated and also the "OR" logic which is used for the signaling of the HOST_STATUS_PKGSECUPDATE flag.

I'd ask to please comment on this patch. (Merging it is of course also very fine ;-)

This implements the feature requested here: https://github.com/DE-IBH/apt-dater/issues/24