-
Notifications
You must be signed in to change notification settings - Fork 3
Make frontend-owned output and storage policy explicit #241
Copy link
Copy link
Open
Labels
libtortillasChanges in the libtortillas crateChanges in the libtortillas cratemed prioMedium PriorityMedium PriorityrefactorNeither fixes a bug nor adds a featureNeither fixes a bug nor adds a featurerustPull requests that update rust codePull requests that update rust codetui-foundationWork needed before building the Tortillas TUIWork needed before building the Tortillas TUI
Description
Metadata
Metadata
Assignees
Labels
libtortillasChanges in the libtortillas crateChanges in the libtortillas cratemed prioMedium PriorityMedium PriorityrefactorNeither fixes a bug nor adds a featureNeither fixes a bug nor adds a featurerustPull requests that update rust codePull requests that update rust codetui-foundationWork needed before building the Tortillas TUIWork needed before building the Tortillas TUI
Problem
Engine::newdefaults the output path tostd::env::current_dir(), which is application policy inside the library. A TUI should explicitly own where downloads go, how defaults are chosen, and how storage configuration is presented to users.Relevant code:
crates/libtortillas/src/engine/mod.rs:171crates/libtortillas/src/torrent/storage.rsDependency
Blocked by #222 because storage/output policy should be part of the frontend facade contract.
Acceptance criteria