docs: clone with --recurse-submodules so the root workspace builds #589
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/589"
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 LooperSalty/AnyXboxX. Originally posted by KainanP on 2026-11-28T16:52:08Z.
Fixes #490, fixes #493.
Both reports stop at the same place:
failed to read third_party\tombox\crates\compat\xma\Cargo.toml(os error 3).anyxboxx-audio(xma) andanyxboxx-rdna2(tombox-xshader) take path dependencies into thethird_party/tomboxsubmodule. A plaingit cloneleaves that folder empty, so anycargo buildat the root fails: the launcher from source andanyxboxxboth. The guides still said to clone with a plaingit clone ...and that "there is nothing else to download". The launcher-only build of VIctory (third_party/victory, its own workspace) isn't affected, which is why prebuilt-launcher users don't see this.Change (docs and one test, no code):
README.md/docs/i18n/README.fr.md,docs/launcher.md/docs/fr/lanceur.mdanddocs/running-gta6.md/docs/fr/lancer-gta6.md: clone withgit clone --recurse-submodules ...and givegit submodule update --initfor an existing clone.launcher.mdquotes the error, so people who search for it find the fix. English and French are changed together. No README table row or test count line changes.tests/test_clone_instructions.py:--recurse-submodules, and each guide must givegit submodule update --init. On main, 6 of these 7 tests fail (one per guide).VILauncher (#490, #493) is a third-party installer. It probably needs the same
--recurse-submodules(or agit submodule update --initafter itsgit fetch/reset). This PR can't change that, but its maintainers can now point to the README.Tests:
pytest tests/test_clone_instructions.py: 7 passed (6 failed on main). Full pytest (ANYXBOXX_REQUIRE_RUNTIME=1 python -m pytest -n auto): 1990 passed (RTX 4060 Laptop, run on main66b92fbewith this PR and the two companion PRs from the same triage applied together).AI use: written and tested by Claude Code (Claude Opus 5.5) for KainanP. The test was run red before the fix and green after.
🤖 Generated with 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.