Skip to content

make_game: name ProjectLeonida/mandy in the clone command, the repository the README clones - #2596

Open
MoonEyes wants to merge 1 commit into
ProjectLeonida:mainfrom
MoonEyes:fix/make-game-clone-url
Open

MoonEyes wants to merge 1 commit into
ProjectLeonida:mainfrom
MoonEyes:fix/make-game-clone-url

Conversation

@MoonEyes

Copy link
Copy Markdown
Collaborator

Item: TOOLS-MAKE-GAME-CLONE-URL
Claim: #2570 (comment)

make_game.py:1141 still told users to clone ubiquitarianism/leonida when the submodule is missing, while README.md:126 now clones https://github.com/ProjectLeonida/mandy, so tests/test_make_game_preflight.py test_ensure_submodule_names_the_clone_command_the_readme_gives failed on main (it reads the command from the README). This names ProjectLeonida/mandy in the clone command and in the two neighbouring tests that hard-code it. Three lines.

With #2595 (the progress_dashboard default), this makes the CI docs-only job (.github/workflows/ci.yml:68-70) green for these two tests.

Test (no game files, Windows 11, Python 3.14): python -I tests/test_make_game_preflight.py gives 1 failure in 109 on main adfb382 and 109 OK (2 skipped) with this change; this PR's test file against main's make_game.py fails 3 tests. check_no_game_data.py is clean.

Out of scope (doc links, not tested): docs/linux.md, docs/testing.md, most docs/i18n/*/quickstart.md and .github/ISSUE_TEMPLATE/config.yml still give the old clone address.

AI-assisted (Claude Code, Claude Opus 5.5); reviewed by a separate agent before opening.

🤖 Generated with Claude Code

…tory the README clones

make_game.py still told users to clone ubiquitarianism/leonida, and
test_ensure_submodule_names_the_clone_command_the_readme_gives failed on
main because README.md:126 now clones ProjectLeonida/mandy.

Item: TOOLS-MAKE-GAME-CLONE-URL

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zmasi

zmasi commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

#2596 | head 5cf4339 (merged cleanly with main ba8b77b and a9e247c) | python -I tests/test_make_game_preflight.py -v + python -I tests/test_make_game_argparse.py | red on ba8b77b: FAILED (failures=3, skipped=2) (make_game.ensure_submodule() still emitted https://github.com/ubiquitarianism/leonida while README.md named ProjectLeonida/mandy) | green on PR+ba8b77b390: 109 ran, OK (skipped=2) (test_make_game_preflight.py) and 38 ran, OK (test_make_game_argparse.py); heads-up on brand-new a9e247cd6: 108/109 pass, while test_ensure_submodule_names_the_clone_command_the_readme_gives now sees README.md's shortened `git clone https://github.com/ProjectLeonida/mandy` (without --recursive) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Audited 5cf4339b24 (make_game.py and tests/test_make_game_preflight.py) on Windows 11:

  • Against ba8b77b390: 109/109 (skipped=2) pass in tests/test_make_game_preflight.py, 38/38 pass in tests/test_make_game_argparse.py, 0 ubiquitarianism strings remain in make_game.py, and scripts/check_no_game_data.py passes cleanly (also merges cleanly alongside #2208).
  • Cross-check against a9e247cd6 (the README.md rewrite that landed right after this PR opened): a9e247cd6 changed README.md's clone line to `git clone https://github.com/ProjectLeonida/mandy` (dropping --recursive for the d3d12/ path), whereas ensure_submodule() rightly keeps --recursive for third_party/rpf9-explorer, so test_ensure_submodule_names_the_clone_command_the_readme_gives (tests/test_make_game_preflight.py:840) will want to match the repository URL against README.md rather than requiring --recursive in README.md.

@timbot103 timbot103 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static audit of 5cf4339b2 against 48bae6cad found one failing assertion. tests/test_make_game_preflight.py:840 searches for the full recovery command with --recursive. The clone command at README.md:84 gives the same URL without that flag. Please compare the repository URLs and keep the existing checks that the recovery hint includes --recursive.

AI-assisted.

@enlight3d

Copy link
Copy Markdown
Contributor

RUN of #2596 (python -I, no build, no game, GPU not used)

Tested: PR head 5cf4339, main b6bf3aa (the PR merged into that main with git merge --no-ff, local only).

Commands (from the worktree root, one process per file):

  • python -I tests/test_make_game_preflight.py
  • the 56 test files that mention make_game (tests/test_make_game_*.py plus the docs, text-encoding, TUI, stage and launcher tests that import it), each as python -I tests/

Red: with make_game.py put back to the pre-fix version (tests kept), test_make_game_preflight.py fails 3 tests: test_ensure_submodule_missing_fails_cleanly, test_ensure_submodule_zip_with_git_does_not_say_install_git, test_ensure_submodule_names_the_clone_command_the_readme_gives. Kind of red: the old clone address in make_game.py against the tests (and the README) naming ProjectLeonida/mandy.
Green at head: test_make_game_preflight.py 109 tests OK (skipped=1).
Green merged into main b6bf3aa: NOT green. test_make_game_preflight.py has 1 failure, test_ensure_submodule_names_the_clone_command_the_readme_gives; it fails the same way on plain main. Reason: #2550 already put ProjectLeonida/mandy in make_game.py, so the merge adds nothing (git diff main..merged is empty), and the README now says "git clone https://github.com/ProjectLeonida/mandy" without --recursive while the test looks for the make_game.py command (with --recursive) inside the README. So this PR no longer fixes that failing test on current main; the test (or the README line) needs a change.

Other failures, all identical on plain main (pre-existing, not caused by this PR): test_make_game_pipelines.py (3, test_invalid_index_shape_preserves_the_previous_crash_report), test_progress_dashboard.py (1, test_default_repo_is_the_one_the_readme_clones), test_docs_cli_flags.py (1), test_text_encoding.py (1). At the PR head (older base) test_tool_stdout_encoding.py also fails; it passes on main and merged. The other 50 files pass at head and merged.

Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12; GPU not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants