Opened 8 years ago

Closed 6 years ago

Last modified 5 years 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:
Component: Servers/package_daemon Version: R1/Development
Keywords: package, uninstall Cc:
Blocked By: Blocking:
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 (6)

comment:1 by miqlas, 8 years ago

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

comment:2 by axeld, 8 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, 8 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, 6 years ago

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

comment:5 by humdinger, 6 years 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!

comment:6 by nielx, 5 years ago

Milestone: Unscheduled

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.