CLI: victory config shows the data folder and checks it is outside the repo #277
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/277"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T01:59:50Z.
Configresolves a data folder (saves, settings,crashes.log;VICTORY_DATA_DIRor[paths].data_dir) the same way as the cache folder. The README points users to it, butvictory configneither printed it nor ran the outside-the-repository check on it. A data folder pointing into the source tree went unreported, even though it is the folder that receives title-written files.show_confignow prints adata_dirline and includes the data folder in theensure_outside_repoloop, alongside the game, test-title and cache paths. No other behaviour changes.Testing
Linux, with #235 applied so
apps/victorybuilds there:Before this change, the same command printed no
data_dirline and no violation. With both folders outside the repo, it prints both lines and no violation.cargo fmt --check -p victory: cleancargo clippy -p victory --all-targets: no new warningscargo test -p victory: passesImported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T02:32:27Z.
Superseded by #241, which now carries this commit (
victory configshows and checks the data folder).Pull request closed