[Bug 2068809] Re: changelogs not listed for PPA packages
Timo Aaltonen
2068809 at bugs.launchpad.net
Fri Sep 13 15:29:26 UTC 2024
Hello Tormod, or anyone else affected,
Accepted update-manager into noble-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:24.04.8 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: update-manager (Ubuntu Noble)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2068809
Title:
changelogs not listed for PPA packages
Status in update-manager package in Ubuntu:
Fix Released
Status in update-manager source package in Noble:
Fix Committed
Bug description:
* Impact
When clicking on a package from a PPA in update-manager, the "Changes
for XXX versions:" section will say:
"This update does not come from a source that supports changelogs."
Which seems a side effect of https://blog.launchpad.net/ppa/new-
domain-names-for-ppas , the code filter on ppa.launchpad.net in the
url where those are using ppa.launchpadcontent.net now
* Test case
- enable a ppa including an update for a package you have installed
- start update-manager and select that package
- check the long description at the bottom
it should display the changelog entry for the update
* Regression potential
The change is in the _extract_ppa_changelog_uri() function so a
potential issue would impact updates coming from a ppa. Verify that
those are correctly listed and include a valid description
-----------------------------------------------
The reason is that in _extract_ppa_changelog_uri() in
/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py it checks
only for ppa.launchpad.net but nowadays the URI will contain
ppa.launchpadcontent.net instead.
With the below patch it will correctly display the changelogs:
--- /usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py.orig 2024-04-16 11:56:33.000000000 +0200
+++ /usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py 2024-06-08 20:33:51.462435498 +0200
@@ -338,7 +338,7 @@ class MyCache(DistUpgrade.DistUpgradeCac
cdt = self[name].candidate
for uri in cdt.uris:
- if urlsplit(uri).hostname != "ppa.launchpad.net":
+ if urlsplit(uri).hostname not in ("ppa.launchpad.net", "ppa.launchpadcontent.net"):
continue
match = re.search("http.*/(.*)/(.*)/ubuntu/.*", uri)
if match is not None:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2068809/+subscriptions
More information about the foundations-bugs
mailing list