[haiku-bugs] [Haiku] #11786: HaikuDepot: Refreshing after install/uninstall needs to be much more light-weight

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Sun, 25 Jan 2015 09:27:40 -0000

#11786: HaikuDepot: Refreshing after install/uninstall needs to be much more 
light-
weight
-------------------------------------+------------------------------
 Reporter:  stippi                   |        Owner:  stippi
     Type:  enhancement              |       Status:  new
 Priority:  normal                   |    Milestone:  R1
Component:  Applications/HaikuDepot  |      Version:  R1/Development
 Keywords:                           |   Blocked By:
 Blocking:                           |  Has a Patch:  0
 Platform:  All                      |
-------------------------------------+------------------------------
 Currently, there is no difference between the user manually refreshing the
 package list, and adopting the package list after installing/uninstalling
 a package. The later should be much more light-weight, it will scale very
 badly. What should probably happen, is that the Package Manager in the
 system is queried, and ''only'' the package status is updated for each
 package. Right now, it throws away ''everything'' and rebuilds the entire
 list, then re-reads the haiku-depot-web information. Even from the file
 cache, this is much too slow. One effect is that packages lose all their
 translations in the list, and then regain them sometime after.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11786>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: