~lamoura/update-notifier:treat-security-updates-as-separate-bucket

Last commit made on 2021-04-26
Get this branch:
git clone -b treat-security-updates-as-separate-bucket https://git.launchpad.net/~lamoura/update-notifier
Only Lucas Albuquerque Medeiros de Moura can upload to this branch. If you are Lucas Albuquerque Medeiros de Moura please log in for upload directions.

Branch merges

Branch information

Name:
treat-security-updates-as-separate-bucket
Repository:
lp:~lamoura/update-notifier

Recent commits

75c314c... by Lucas Albuquerque Medeiros de Moura

update changelog

a788e7c... by Lucas Albuquerque Medeiros de Moura

apt_check: use applied instead of installed. correct singular msg

ba04e28... by Lucas Albuquerque Medeiros de Moura

Separate security updates from esm updates

Currently, we display packaging count for both ESM
and security updates. However, if the package upgrade
comes from ESM, we still count it as a security update.
This can provide confusing messages to users, since
we don't say in that message that security updates contain
both source of packages. To better handle that, we are
now only treating as security updates only security upgrades
that are not related to ESM packages. To further make that
distinction, we are updating the message to show
standard security updates instead of just security updates

6ab0dce... by Brian Murray

releasing package update-notifier version 3.192.41

3504906... by Brian Murray

switch to using the shorter url for ESM information

ea8e5b9... by Brian Murray

* data/apt_check.py:
  - Add support to handle packages from ESM Apps in addition to ESM Infra
    and only display alerts if the distro is ESM. (LP: #1924766)
  - Do not display a count of ESM packages if the system does not have ESM
    enabled. (LP: #1883315)
* debian/control: Add a dependency on python3-distro-info.

c7184dc... by Lucas Albuquerque Medeiros de Moura

Update apt-check script for ESM Apps handling

Currently, the apt-check script is configured to only handle
package count for ESM Infra. We are now updating the logic
to also handle ESM Apps packages as well.

Furthermore, we are also updating the messaging that is created in
apt-check. We are advertising ESM Apps if the service is disabled
and only messaging about ESM Infra if the distro is already on ESM mode

0856b93... by Dan Bungert

Check command before we offer it

Don't prompt to update for a command if that command doesn't exist.

dda28a8... by Iain Lane

Update & finalise changelog

b6f2778... by Iain Lane

data/list-oem-metapackage: Handle bad apt indexes

apt.Cache() can fail if the apt lists can't be parsed for whatever
reason. Handle that and exit 0 so that update-notifier continues.

A consequence of being in this state is that we can't find any oem
metapackages if any are applicable. If the indexes become good again
then we'll find them next time.

LP: #1913726