| 1 | These are the todo items for the Haiku '''Package Manager''' |
| 2 | |
| 3 | === packagefs === |
| 4 | * 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). |
| 5 | * '''Assigned:''' nobody |
| 6 | * '''Ticket:''' |
| 7 | * '''Difficulty:''' moderate |
| 8 | * Support packages being copied to the `packages` directory. Currently only moving works. |
| 9 | * '''Assigned:''' nobody |
| 10 | * '''Ticket:''' |
| 11 | * '''Difficulty:''' moderate |
| 12 | * Provide information about active packages to the tools that need it (e.g. the package solver). |
| 13 | * '''Assigned:''' nobody |
| 14 | * '''Ticket:''' |
| 15 | * '''Difficulty:''' moderate |
| 16 | * If necessary, add a caching mechanism to speed up mounting it. |
| 17 | * '''Assigned:''' nobody |
| 18 | * '''Ticket:''' |
| 19 | * '''Difficulty:''' moderate |
| 20 | |
| 21 | === Build system === |
| 22 | * Before creating packages (e.g. the user guide), all files must be identified, since packagefs is read-only. |
| 23 | * '''Assigned:''' nobody |
| 24 | * '''Ticket:''' |
| 25 | * '''Difficulty:''' moderate |
| 26 | |
| 27 | === Package building === |
| 28 | * Work on tools to build Haiku packages in a clean chroot environment. |
| 29 | * Status: There's a package management [http://ports.haiku-files.org/browser//haikuporter/branches/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). |
| 30 | * '''Assigned:''' nobody |
| 31 | * '''Ticket:''' |
| 32 | * '''Difficulty:''' moderate |
| 33 | * Define packaging guidelines and create a tool to check packages those. |
| 34 | * '''Assigned:''' nobody |
| 35 | * '''Ticket:''' |
| 36 | * '''Difficulty:''' moderate |
| 37 | * Adjust build "recipes" for HaikuPorts packages as needed and build the packages. |
| 38 | * Status: There's a package management [http://ports.haiku-files.org/browser//haikuports/branches/package-management branch of haikuports] with recipes for several packages already updated for building HPKGs. |
| 39 | * '''Assigned:''' nobody |
| 40 | * '''Ticket:''' |
| 41 | * '''Difficulty:''' moderate |
| 42 | |
| 43 | === Package kit/manager === |
| 44 | * Implement the package solver (as Oliver proposed based on libsolv). |
| 45 | * Status: There's a [https://github.com/weinhold/libsolv 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. |
| 46 | * '''Assigned:''' nobody |
| 47 | * '''Ticket:''' |
| 48 | * '''Difficulty:''' moderate |
| 49 | * 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. |
| 50 | * '''Assigned:''' nobody |
| 51 | * '''Ticket:''' |
| 52 | * '''Difficulty:''' moderate |
| 53 | * Implement a GUI package manager. |
| 54 | * '''Assigned:''' nobody |
| 55 | * '''Ticket:''' |
| 56 | * '''Difficulty:''' hard |
| 57 | |
| 58 | === Miscellaneous === |
| 59 | * 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. |
| 60 | * '''Assigned:''' nobody |
| 61 | * '''Ticket:''' #8494 |
| 62 | * '''Difficulty:''' moderate |