Opened 2 years ago

Closed 8 months 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

Description

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 by miqlas, 2 years ago

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

comment:2 by axeld, 2 years ago

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 by miqlas, 2 years ago

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 by miqlas, 9 months ago

@humdinger made a Tracker AddOn: https://github.com/humdingerb/OpenOriginPackage

comment:5 by humdinger, 8 months ago

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.