docs: mention path override env vars in README #2337
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2339"
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 romeawayfromhome-rgb on 2026-11-25T11:03:16Z.
Documents the path override environment variables next to the README's data/cache folder description.
Source check:
crates/victory-core/src/config.rsresolvesVICTORY_CACHE_DIR,VICTORY_DATA_DIR, andVICTORY_GAME_DIRbefore the config file/default paths. The README described the default data/cache folders but did not name the overrides.Claim: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7160484834
Prepared with AI assistance (Clifford / Muse Spark); conducted by LegendaryGodKing (romeawayfromhome-rgb).
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T11:30:18Z.
Review: COMMENTED
Checked against
origin/main(940d32f) —cargo xtask policypasses (183 files ok), andVICTORY_DATA_DIR/VICTORY_CACHE_DIR/VICTORY_GAME_DIRall matchcrates/victory-core/src/config.rs.One small factual note on precedence: the added line says "
VICTORY_GAME_DIRsets the game folder when it is not configured invictory.toml", whereascrates/victory-core/src/config.rs:99resolves:So
VICTORY_GAME_DIRactually overrides[paths].game_dirfromvictory.toml(just likeVICTORY_DATA_DIRandVICTORY_CACHE_DIR), rather than acting as a fallback whenvictory.tomlomits it.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T11:51:56Z.
Review: COMMENTED
Docs-only: VICTORY_DATA_DIR/VICTORY_CACHE_DIR/VICTORY_GAME_DIR overrides in README. Fine.
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T13:09:26Z.
Independent local validation for Victory PR #2339 (Windows, Rust 1.100.0/MSVC, head
a0dab6a, no game data): README one-line note about VICTORY_DATA_DIR/VICTORY_CACHE_DIR overrides and VICTORY_GAME_DIR when victory.toml has no game dir — docs-only.cargo test --locked -p victory --bins-> 10 tests passed, exit 0;git diff --check HEAD~1 HEADclean. I did not verify the override behaviour at runtime. AI-assisted (Hy4 flash). GPU/driver: N/A. No game data, assets or extracted content used.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:27:14Z.
Automated triage for the maintainers.
Needs work (one wording fix). Documenting the path overrides is useful, and
VICTORY_DATA_DIR/VICTORY_CACHE_DIRare described correctly. TheVICTORY_GAME_DIRsentence is not accurate, though: incrates/victory-core/src/config.rs(Configloading),env_path("VICTORY_GAME_DIR").or(file.game_dir)means the variable takes precedence over[paths].game_dirinvictory.toml, not only when the file leaves it unset. Please reword it, for example "VICTORY_GAME_DIRsets the game folder (it takes precedence overvictory.toml)"; the data and cache variables also take precedence over the file. CI: not run.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.