[haiku-bugs] Re: [Haiku] #10988: Use query for "Local" depot

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 Jun 2014 11:19:53 -0000

#10988: Use query for "Local" depot
---------------------------------------+----------------------------
   Reporter:  humdinger                |      Owner:  stippi
       Type:  enhancement              |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/HaikuDepot  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by anevilyak):

 They're actually not identical, though it's not apparent outside of the
 right circumstances: Local will show you *all* locally installed packages
 regardless of source, while the other will filter against the selected
 repository. In other words, if you manually install a package from say, a
 USB stick or one that you handrolled yourself, or whatnot, that would be
 visible in 'Local', but not elsewhere.

 In any case, relying on a query would be problematic as it would only find
 packages on queryable volumes, ergo it wouldn't find them on a USB stick,
 or an NFS volume, or a non-indexed BFS like many of us have for
 development performance reasons. As such I'd be a bit hesitant to use one
 to display a supposedly all-encompassing list of local but not installed
 packages. Furthermore it'd potentially be a bit on the slow side for
 various reasons, as compared to the more or less instant response of the
 other current list types.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10988#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: