add kiss packages count by VicRadioHead · Pull Request #2072 · fastfetch-cli/fastfetch
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for counting KISS Linux packages in the fastfetch package detection module. KISS Linux is a Linux distribution that uses a simple package manager, and while the mainline project is no longer actively maintained, it continues to be supported by the community at kisscommunity.org.
Key Changes
- Added KISS package manager detection using the
/var/db/kiss/installeddirectory - Integrated KISS package counting across all relevant code paths (printing, formatting, JSON output, and configuration)
- Added flag bit for enabling/disabling KISS package detection
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/detection/packages/packages.h | Added kiss field to FFPackagesResult struct for storing package count |
| src/modules/packages/option.h | Added FF_PACKAGES_FLAG_KISS_BIT flag using bit 31 for KISS package detection control |
| src/detection/packages/packages_linux.c | Implemented KISS package counting by checking /var/db/kiss/installed directory |
| src/modules/packages/packages.c | Integrated KISS in print output, format arguments, JSON config/result generation, and module info |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.