Pushing downstream and removing branch #2

Merged
Jinju merged 6 commits from exp into dev 2025-10-07 21:22:42 -04:00
Owner
No description provided.
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.
Jinju deleted branch exp 2025-10-07 21:22:42 -04:00
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#2
No description provided.