wiki:Obsolete/MovedToTree/PackageManagement/TODO

Version 17 (modified by bonefish, 13 years ago) ( diff )

Move page back from TODO/package_manager

These are the todo items for the Haiku Package Manager

packagefs

  • Prepare for use in a chroot environment. Currently it resolves the package directory path in the kernel I/O context. This is only a problem for packagefs mounted after chroot (low priority).
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Support packages being copied to the packages directory. Currently only moving works.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Provide information about active packages to the tools that need it (e.g. the package solver).
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • If necessary, add a caching mechanism to speed up mounting it.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate

Build system

  • Before creating packages (e.g. the user guide), all files must be identified, since packagefs is read-only.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate

Package building

  • Work on tools to build Haiku packages in a clean chroot environment.
    • Status: There's a package management branch of haikuporter which builds HPKGs. It doesn't do chroot building yet (requires pkgman to solve dependencies and install packages) and probably should use another recipe format (e.g. RPM .spec files).
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Define packaging guidelines and create a tool to check packages those.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Adjust build "recipes" for HaikuPorts packages as needed and build the packages.
    • Status: There's a package management branch of haikuports with recipes for several packages already updated for building HPKGs.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate

Package kit/manager

  • Implement the package solver (as Oliver proposed based on libsolv).
    • Status: There's a WIP port of libsolv. It's more or less complete, but mostly untested (a reasonable amount of packages are needed to test it). The Haiku solver API is missing yet.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Extend the package kit and the (CLI) package manager to support adding, removing, and updating packages. That probably also involves work on a server-side (i.e. repository) part.
    • Assigned: nobody
    • Ticket:
    • Difficulty: moderate
  • Implement a GUI package manager.
    • Assigned: nobody
    • Ticket:
    • Difficulty: hard

Miscellaneous

  • Modify Expander to use a directory instead of the expander.rules file. This way a package (like xz-utils or p7zip) can contribute a single file with the rules for its tools.
    • Assigned: nobody
    • Ticket: #8494
    • Difficulty: moderate
Note: See TracWiki for help on using the wiki.