update-notifier:jammy

Last commit made on 2024-03-07
Get this branch:
git clone -b jammy https://git.launchpad.net/update-notifier
Members of Ubuntu Core Development Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
jammy
Repository:
lp:update-notifier

Recent commits

d359361... by Renan Rodrigo

update changelog entry for version 3.192.54.8

Signed-off-by: Renan Rodrigo <email address hidden>

b03a0de... by Renan Rodrigo

update-motd: use a marker file to hide esm updates information

Instead of a flag passed to the script, check for the existence of a
marker file coming from the Pro Client. This implements the same control
level for both tools.

LP: #2015420

Signed-off-by: Renan Rodrigo <email address hidden>

9244ecf... by Renan Rodrigo

update changelog entry for version 3.192.54.7

Signed-off-by: Renan Rodrigo <email address hidden>

3e04d42... by Renan Rodrigo

apt_check: add option to hide esm messages from human-readable output

Users want to be able to see the regular updates + security updates on
MOTDs, but without mentions to ESM.

LP: #2015420

Signed-off-by: Renan Rodrigo <email address hidden>

244d6c1... by Nick Rosbrook

Revert "Release update-notifier 3.192.54.7"

This reverts the following commits:

 * update changelog
 * po: restore reboot notification translations
 * po: update translations
 * reboot: wait 3 hours since last /var/lib/dpkg/info update
 * reboot: also check for a running unattended-upgrades
 * debian/update-notifier.install: ship reboot-dialog.ui
 * reboot: restore reboot required notification

This upload was rejected from the jammy unapproved queue[1].

[1] https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1998947/comments/13

2a2eaea... by Nick Rosbrook

Release update-notifier 3.192.54.7

d7531e0... by Nick Rosbrook

update changelog

b66cece... by Nick Rosbrook

po: restore reboot notification translations

Commit 12c4155458 ("reboot: restore reboot required notification") does
not restore the translations for the reboot notification, because the
reverted commit is not the one that removed them.

Restore the translations using ee490e5f3b because it is the last commit
that made real changes to the reboot notification translations. In
particular, restore the translations using the following:

 $ for f in $(ls -1 po/*.po); do git show ee490e5f3b:$f | awk -v RS='' -v ORS='\n\n' '/reboot\.c/' >> $f; done
 $ for f in $(ls -1 po/*.po); do git show ee490e5f3b:$f | awk -v RS='' -v ORS='\n\n' '/reboot-dialog\.ui/' >> $f; done

Then, update translations to fixup the formatting.

d00c2b8... by Nick Rosbrook

po: update translations

7b0621e... by Nick Rosbrook

reboot: wait 3 hours since last /var/lib/dpkg/info update

Do not show the reboot notification until 3 hours have passed since the
last update to /var/lib/dpkg/info/. Accomplish this by adding
dpkg_info_time_since_update() and dpkg_info_updated() helper
functions. Monitor /var/lib/dpkg/info in monitor_cb to determine when
the directory or a file within it are updated.