~seb128/update-notifier:focal

Last commit made on 2021-12-08
Get this branch:
git clone -b focal https://git.launchpad.net/~seb128/update-notifier
Only Sebastien Bacher can upload to this branch. If you are Sebastien Bacher please log in for upload directions.

Branch merges

Branch information

Name:
focal
Repository:
lp:~seb128/update-notifier

Recent commits

9ff9b3c... by Brian Murray

Adjust update-notifier-crash.service so that the report process is not killed before it has a chance to act (LP: #1821412)

533cdd4... by Dave Jones

Sleep for up to an hour in the background in order to spread the load of checking for release updates on the Ubuntu infrastructure (LP: #1836475)

1a3b002... by Lucas Albuquerque Medeiros de Moura

* debian/control: add lsb-release to the update-notifier-common depends as
  it is used by apt-cdrom-check. (LP: #1927996)
* data/apt_check.py
  - Only show esm-apps alerts on lts and non-esm distros (LP: #1926990)
  - Update esm-infra alert for distros on ESM mode
  - Show message with number of upgradable packages even if that
    number is zero (LP: #1926819)
  - Get distro name and version directly from /etc/os-release
  - Fallback to lsb_release command if there are any problems using
    /etc/os-release as source of information
  - Show esm-apps status header when running on LTS distro that
    has not yet entered Extended Security Maintenance

c6abfe7... by Lucas Albuquerque Medeiros de Moura

* 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)
  - Make distinction between standard security updates and ESM updates
    when performing package counts. (LP: #1926208)
  - use 'applied' instead of 'installed', redact 0 of these updates are
    security updates, and correct singular messages
* data/backend_helper.py:
  - fix pyflakes test
* debian/control: Add a dependency on python3-distro-info.

fb3d662... by Iain Lane

* data/list-oem-metapackages:
  + 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)

039caa4... by Iain Lane

control: Move ubuntu-drivers-common dep to update-notifier. It's only needed when launching update-manager, which happens from /usr/bin/update-notifier which is in the update-notifier package. Having it in update-notifier-common causes ubuntu-drivers-common and all its deps to be pulled in on all flavours, even ones without update-manager. (LP: #1912496)

2e6a5cc... by Iain Lane

List OEM metapackages before invoking update-manager. Before invoking update-manager, run a helper script to figure out if there are any oem-*-meta packages which apply to this system. These are enablement packages maintained by Canonical which install any tweaks required by a particular piece of hardware. The script takes care to exit quickly if it's been run before or if the system is already enabled. It uses ubuntu-drivers' python interface, so we need to add a dependency to make sure that is available.There will be a companion change in update-manager to consume this list. (LP: #1908050)

0a6da11... by Chad Smith

3.192.30.2 skipped due to erroneous upload.

9f3d79e... by Chad Smith

* Replace cronjobs with systemd timers. (LP: #1836475)
* d/control:
  - Removed (now) redundant anacron dep
  - Bumped Standards-Version
  - Removed redundant autotools-dev dep and X-Python3-Version spec
* d/update-notifier-common.maintscript:
  - Added rm_conffile for former cronjobs
  - Migrated rm_conffile cpu-checker bits from postinst/postrm/preinst
* d/update-notifier-common.triggers:
  - Switched to interest-noawait as trigger is "non-crucial" (shouldn't
    block configuration of triggering packages)
* data/apt_check.py: Update UA Infra: ESM product name and doc url
  (LP: #1901627)
  - data/apt_check.py: Update name and URL
  - tests/test_motd.py: adapt unittests to match new behavior
  - po/*.po: translation files with intltool-update -r

be5ccc5... by Chad Smith

* data/apt_check.py: Update ESM security pockets names (LP: #1881632)
  - the UbuntuESM pocket was renamed from <distro>-security to
    <distro>-infra-security
  - new origin UbuntuESMApps, with a corresponding pocket of
    <distro>-apps-security