Opened 5 years ago

Last modified 2 years ago

#10529 assigned enhancement

[Tracker] add Package field to Info window

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by diver)

It would be nice to be able to identify from which package a particular file came from. For instance you're in /bin and you wan't to understand which package a certain binary belongs to. Currently there's no (easy) way to do that and Info window seems to be a logical place to get this information from. Make it clickable so it gets selected in Tracker window.

Change History (6)

comment:1 Changed 5 years ago by diver

Description: modified (diff)

comment:2 Changed 5 years ago by pulkomandy

There's a non-easy way:

~> catattr SYS:PACKAGE_FILE /bin/notify 
/bin/notify : string : haiku-r1~alpha4_pm_hrev46847-1-x86_gcc2.hpkg

comment:3 Changed 5 years ago by bonefish

And an easy way:

~> findpaths -p /bin/notify B_FIND_PATH_PACKAGE_PATH
/boot/system/packages/haiku-r1~alpha4_pm_hrev46831-1-x86.hpkg

The Tracker feature can be easily implemented using the BPathFinder API which is also used by findpaths.

comment:4 Changed 5 years ago by diver

How about having an additional Tracker column disabled by default? This way it would be possible to sort files by package.

comment:5 Changed 4 years ago by waddlesplash

Milestone: R1Unscheduled

Moving Tracker enhancement tickets out of R1 milestone -- Tracker's source code comes from BeOS R5, so it already has all the features it did on R5.

comment:6 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.