-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
CoreCore runtime, plan/execute engine, and Lua VMCore runtime, plan/execute engine, and Lua VM
Milestone
Description
Two related improvements to make rootbeer less noisy and more predictable:
Idempotent writes
rb.file() should skip the write when the destination already exists with identical content. This avoids unnecessary disk writes, keeps file timestamps stable, and makes dry-run/diff output cleaner.
Managed-file cleanup
When a file or symlink is removed from the user's config, rootbeer currently has no way to know it should be cleaned up. After implementing state tracking (see rb status), rootbeer should:
- Detect paths that were managed in the previous run but are absent from the current plan
- Prompt or warn the user about orphaned managed files
- Optionally remove them with a flag like
rb apply --clean
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CoreCore runtime, plan/execute engine, and Lua VMCore runtime, plan/execute engine, and Lua VM