update manager should cache changelog information by url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: update-manager
Currently update-manager will download the same changelogs multiple times if there are multiple packages with the same changelog.
Example:
Today I started wireshark to capture packets.
Started update manager
The first package listed was apt and it downloaded the changelog automatically
wireshark caught this request:
48 8.591803 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
63 8.923160 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
Then I selected the next package: apt-transport-https
wireshark reported:
95 13.335957 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
110 13.665300 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
The next package: apt-utils
144 17.995672 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
159 18.331389 192.168.1.104 91.189.90.132 HTTP GET /changelogs/
This is a waste of bandwidth and server resources.
update-manager could cache each changelog in a dictionary by url key.
Doing this could greatly reduce the number of requests the changelog server receives.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager 1:0.134.8
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Tue May 18 13:15:52 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100312)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
Related branches
- Michael Vogt (community): Approve
-
Diff: 123 lines (+27/-11)3 files modifiedDistUpgrade/DistUpgradeViewGtk3.py (+1/-2)
UpdateManager/Core/MyCache.py (+24/-8)
debian/control (+2/-1)
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in update-manager (Ubuntu): | |
status: | New → Triaged |
Changed in update-manager (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Robert Roth (evfool) |
Changed in update-manager (Ubuntu): | |
status: | In Progress → Triaged |
assignee: | Robert Roth (evfool) → nobody |