[Bug 2039492] Re: [SRU] plasma-distro-release-notifier gets EOL data from git.launchpad.net
Erich Eickmeyer
2039492 at bugs.launchpad.net
Wed Sep 11 16:49:38 UTC 2024
** Description changed:
[Impact]
This isn't really an impact to users, but is certainly an impact to
Launchpad's servers. plasma-distro-release-notifier is an upgrade
notifier for plasma desktops and is seeded in Kubuntu and Ubuntu Studio.
Its primary function is to notify users of a new upgrade available and
when they will no longer receive updates to their current Ubuntu
version. Since this impacts two flavors, for LTS versions, this is 3
years.
However, in its present form, plasma-distro-release-notifier gets its
information from https://git.launchpad.net/plasma-distro-release-
notifier/plain/eol.json?h=eol and checks that exact URL every login.
This may have an impact on Launchpad's git servers.
Simon Quigley has been kind enough to patch plasma-distro-release-
notifier to use Ubuntu's distro-info-data to grab the information from
/usr/share/distro-info/ubuntu.csv while subtracting two years for LTS
releases since Kubuntu and Ubuntu Studio only support LTS releases for
three years. Simon has also sent this patch upstream.
+ Simon's work upstream has stalled-out, and in the meantime I have moved
+ the packaging and EOL data to Github to remove the burden from
+ Launchpad.
+
[Test Case]
* Simply install Ubuntu Studio or Kubuntu, any supported version.
* Upon login, plasma-distro-release-notifier will grab eol.json from
git.launchpad.net via the above URL. This is not desired.
* Simon's patch removes this requirement and uses on-disk distro-info-
data instead.
+
+ * Short-term solution: I have moved the packaging and patching to
+ Github to remove the burden from Launchpad.
[What could go wrong]
This notifier was originally used in KDE Neon, and as such, had to be
patched to work with Ubuntu. KDE Neon still would pull from KDE's
servers to get the json file to calculate the EOL dates This patch does
rewrite a lot of that code, but seems to be solid nonetheless.
Attached is a screenshot of 22.04 in a VM, set to normal upgrades, and
being "tricked" into thinking it's about to go EOL via date rewrites in
/usr/share/distro-info/ubuntu.csv and it seems to work wonderfully.
** Changed in: plasma-distro-release-notifier (Ubuntu Oracular)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-distro-release-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/2039492
Title:
[SRU] plasma-distro-release-notifier gets EOL data from
git.launchpad.net
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plasma-distro-release-notifier/+bug/2039492/+subscriptions
More information about the kubuntu-bugs
mailing list