Packages (Linux): detects rum overlay packages - #2597
Merged
Merged
Conversation
CarterLi
reviewed
Sep 20, 2026
| FF_ARG(hpkgAll, "hpkg-all"), | ||
| FF_ARG(nixAll, "nix-all"), | ||
| FF_ARG(counts.all, "all"), | ||
| FF_ARG(counts.rum, "rum"), |
Member
There was a problem hiding this comment.
Should be in alphabet order, before all -all entries.
Contributor
Author
There was a problem hiding this comment.
Moved rum immediately after rpm in both the format argument list and the help entries in 6a57e65. Rebuilt and reran all 16 CTest tests plus the eight isolated RPM/rum fixture checks; all passed.
CarterLi
reviewed
Sep 20, 2026
| { "Total number of all hpkg packages", "hpkg-all" }, | ||
| { "Total number of all nix packages", "nix-all" }, | ||
| { "Number of all packages", "all" }, | ||
| { "Number of rum overlay packages", "rum" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Count packages in RakuOS rum's overlay RPM database using the existing cached SQLite lookup. Keep the count separate from the existing
rpmfield.Related issue
Closes #2511
Changes
/var/lib/rakuos/rum-rpmdb/rpmdb.sqlite, exposerumin default output, JSON, custom formats, and the disabled list.rpmin alphabetical order, and update the schema and changelog.Validation
Built with GCC on Linux and passed all 16 CTest tests. Eight checks using an isolated target root and SQLite fixtures cover independent base/overlay counts, cache reuse and invalidation, disabled detection, named formats, default output, and missing/empty databases. The base commit reports only the three fixture RPM packages; the patched build reports three RPM plus five rum packages, totaling eight.
The normal host build also reports its existing pacman package count correctly. RakuOS itself was not booted for testing. Optional Vulkan and librpm support were disabled in the local build; SQLite support was enabled. The all-modules smoke run exceeded a 40-second limit, so only the Packages smoke and CTest results are claimed here.
Screenshots
No GUI changes. Fixture output:
3 (rpm), 5 (rum).Checklist
AI assistance: Codex helped implement and test this change and draft this description.