Opened 20 months ago

Closed 7 days ago

#13545 closed enhancement (no change required)

Implement a Tracker Add-on to manage the installed packages

Reported by: miqlas Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Servers/package_daemon Version: R1/Development
Keywords: package, uninstall Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


HaikuPorter automatically stores the package name to every file in the package as an index:

listattr -l /boot/system/apps/ScummVM
File: /boot/system/apps/ScummVM
         Type       Size  Name                                Contents
         Text        16  "SYS:PACKAGE"                       scummvm-1.9.0-2
         Text        28  "SYS:PACKAGE_FILE"                  scummvm-1.9.0-2-x86_64.hpkg

It means, one can develop a tracker addon to easily remove the unneeded packages.

The process would look like:

  • user click on the file
  • goes into RMB menu
  • Add-ons submenu
  • Manage Package

It would open a window, where one can read the summary of the package, and there would be a button, to remove the package.

Change History (5)

comment:1 Changed 20 months ago by miqlas

The Add-On shouldn't remove any haiku* packages.

comment:2 Changed 20 months ago by axeld

You mean, the packagefs makes the package file reachable through attributes it adds to each file it serves, right? Just opening HaikuDepot with that package would be good enough IMO.

comment:3 Changed 20 months ago by miqlas

Yeah, that's what i meant. Okay, then let's open HD, what should it Show for the User? I would show the package Name and description like at installing stuff, to make sure it is the correct package what we going to remove, maybe the package contents and maybe, just maybe the depending packages (reverse dependency Resolution is taxing...) What else? If nothing else should be displayed, then thepackage-install window could be enougj with an "uninstall" Button instead of "install" (Code reuse, ftw).

comment:4 Changed 2 weeks ago by miqlas

@humdinger made a Tracker AddOn:

comment:5 Changed 7 days ago by humdinger

Resolution: no change required
Status: newclosed

It's now in HaikuDepot. Let's close this ticket.
There's still #10529 which would make this Tracker add-on obsolete. If anyone is up to it, I'd be happy to retire OpenOriginPackage!

Note: See TracTickets for help on using tickets.