First Proper version #4

Closed
Jinju wants to merge 0 commits from dev into main
Owner

feat: add full indexing and search capabilities with progress bars and themed UI

  • Implemented concurrent indexing and searching across Brew, Nix, and Porg providers
  • Added multi-progress bars displaying provider progress and total results/packages found
  • Enhanced CLI with Weiss-themed gradient styling and spinner tick chars for visual flair
  • Improved detect, list, sys-info, and config commands with consistent tinted labels and icons
feat: add full indexing and search capabilities with progress bars and themed UI - Implemented concurrent indexing and searching across Brew, Nix, and Porg providers - Added multi-progress bars displaying provider progress and total results/packages found - Enhanced CLI with Weiss-themed gradient styling and spinner tick chars for visual flair - Improved detect, list, sys-info, and config commands with consistent tinted labels and icons
Jinju self-assigned this 2025-10-09 22:21:49 -04:00
- Implement lazy static global loading of /etc/weiss.toml using OnceLock
- Provide strict and fallback access (init_settings, settings)
- Add encapsulated accessors for username, theme, window_size
- Derive Default for fallback use
Introduce distinct database paths in Settings for Weiss, Porg, Brew, and Nix backends.
Refactor codebase to access all database/log paths from the central Settings struct using clear getter methods.
Main process and CLI now initialize and pass backend-specific DB paths when starting each EventLog.
detect.rs
: All providers read environments/settings from the unified config (including Porg log dir).
cli.rs
: All commands use provider-specific DB/event logs via paths from the loaded settings.
pm/sql.rs: Support creating event logs for arbitrary database paths; centralize logic by reading all paths from settings.
Ensure settings can be expanded with ${var} interpolation for flexible config.
Print new config info for all database paths when running weiss config.
Improves reliability, reduces hardcoded paths, and prepares for multi-backend support with clear isolation.
Reviewed-on: #2
Reviewed-on: #3
- Implemented concurrent indexing and searching across Brew, Nix, and Porg providers
- Added multi-progress bars displaying provider progress and total results/packages found
- Enhanced CLI with Weiss-themed gradient styling and spinner tick chars for visual flair
- Improved detect, list, sys-info, and config commands with consistent tinted labels and icons
Jinju closed this pull request 2025-10-09 22:22:35 -04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Netrunner-Lab/Weiss-PM#4
No description provided.