Merge lp:~jawn-smith/update-manager/package-removal-grouping into lp:update-manager
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 2912 | ||||
Proposed branch: | lp:~jawn-smith/update-manager/package-removal-grouping | ||||
Merge into: | lp:update-manager | ||||
Diff against target: |
338 lines (+203/-47) 5 files modified
UpdateManager/Core/UpdateList.py (+34/-44) debian/changelog (+7/-0) tests/aptroot-grouping-test/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-amd64_Packages (+24/-0) tests/aptroot-grouping-test/var/lib/dpkg/status (+70/-0) tests/test_update_list.py (+68/-3) |
||||
To merge this branch: | bzr merge lp:~jawn-smith/update-manager/package-removal-grouping | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Approve | ||
Review via email: mp+397190@code.launchpad.net |
Commit message
LP: #1912718 disabling ubuntu base grouping for kernel autoremove and duplicate packages
Description of the change
The bug in LP: #1912718 was caused by having the kernel packages grouped under kernel_
In response to the comment: "I don't know what the right answer for bug 1902025 is but certainly matching all kernel packages when we're trying to find meta packages isn't":
The variable names meta_pkgs and meta_grp were misleading. In the original code before the change for bug 1902025 there was a comment for the included packages that said "Return all binary packages made by the linux-meta source package". While working this we decided to include more than just the packages created by linux-meta. We have expanded the "Ubuntu Base" grouping to include packages created by linux-meta-aws as well as packages such as linux-firmware-
Thanks for renaming the variables I think that does make it clearer. I've a few in-line comments.