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

Closed
opened 2026-05-05 12:45:58 +02:00 by michael · 1 comment
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
Author
Owner

Done in v2.0.0: list() uses daw.common.fs (is_dir, list_dirs). No require of lfs remains.

Done in v2.0.0: list() uses daw.common.fs (is_dir, list_dirs). No require of lfs remains.
michael 2026-11-14 20:40:26 +01:00
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.