fix: replace direct lfs usage in install.lua with daw.lua.common.fs #3

Open
opened 2026-05-05 12:45:58 +02:00 by michael · 0 comments
Owner

Goal

Replace direct lfs usage in install.lua with daw.lua.common.fs.

Background

M.list in src/daw/module_manager/install.lua calls lfs directly
instead of going through daw.lua.common.fs. This violates the DAW
architecture principle that all OS-level calls go through daw-lua-common.

See: DAW/daw-lua-common (fs.lua) -- fs.list_dirs, fs.is_dir cover the needed functionality.

Acceptance Criteria

  • M.list uses daw.lua.common.fs instead of direct lfs
  • No direct require("lfs") in install.lua
  • Existing tests still pass
## Goal Replace direct `lfs` usage in `install.lua` with `daw.lua.common.fs`. ## Background `M.list` in `src/daw/module_manager/install.lua` calls `lfs` directly instead of going through `daw.lua.common.fs`. This violates the DAW architecture principle that all OS-level calls go through `daw-lua-common`. See: DAW/daw-lua-common (fs.lua) -- `fs.list_dirs`, `fs.is_dir` cover the needed functionality. ## Acceptance Criteria - [ ] `M.list` uses `daw.lua.common.fs` instead of direct `lfs` - [ ] No direct `require("lfs")` in `install.lua` - [ ] Existing tests still pass
Sign in to join this conversation.
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
DAW/daw-module-manager#3
No description provided.