progress_dashboard: default repository follows the README (git.leonida.now) #3398

Merged
leonida/mandy
OreoFR merged 1 commit from oreofr/dashboard-default-repo into main 2026-12-03 23:57:21 +00:00 AGit

Pull request successfully merged and closed

Member

What broke: #3392 moved the README clone commands to https://git.leonida.now/leonida/mandy.git. Since then tests/test_progress_dashboard.py::Github::test_default_repo_is_the_one_the_readme_clones fails on main: it looked for git clone --recursive https://github.com/ProjectLeonida/mandy, built from DEFAULT_REPO = "ProjectLeonida/mandy", a repository that is gone.

What changed (tools/progress_dashboard.py, its test, docs/progress_dashboard.md):

  • DEFAULT_REPO is the README's full clone URL, https://git.leonida.now/leonida/mandy.git; the test (kept, same intent) checks that README contains exactly git clone --recursive <DEFAULT_REPO>.
  • --github reads GitHub through gh. With a --repo that is not on GitHub (the default now), it prints one line and records the github source as missing instead of querying a dead repository. --repo owner/name or a github.com URL works as before. No Forgejo API port.
  • New test: a non-GitHub repository is never passed to collect_github, and the note says why.
  • docs/progress_dashboard.md: two lines on the default and the GitHub-only mode.

Tests (Windows 11, no game, no GPU needed). Red on leonida-now/main (1 failure, the README test); green after:

  • test_progress_dashboard 68 OK, test_make_game_preflight 112 OK (2 skipped), test_docs_links 18 OK, test_docs_cli_flags 4 OK, test_text_write_line_endings 3 OK
  • check_no_game_data.py on the three changed files: clean
  • Manual: --github with the default prints the notice and still writes the page.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

**What broke:** #3392 moved the README clone commands to `https://git.leonida.now/leonida/mandy.git`. Since then `tests/test_progress_dashboard.py::Github::test_default_repo_is_the_one_the_readme_clones` fails on main: it looked for `git clone --recursive https://github.com/ProjectLeonida/mandy`, built from `DEFAULT_REPO = "ProjectLeonida/mandy"`, a repository that is gone. **What changed** (`tools/progress_dashboard.py`, its test, `docs/progress_dashboard.md`): - `DEFAULT_REPO` is the README's full clone URL, `https://git.leonida.now/leonida/mandy.git`; the test (kept, same intent) checks that README contains exactly `git clone --recursive <DEFAULT_REPO>`. - `--github` reads GitHub through `gh`. With a `--repo` that is not on GitHub (the default now), it prints one line and records the `github` source as missing instead of querying a dead repository. `--repo owner/name` or a github.com URL works as before. No Forgejo API port. - New test: a non-GitHub repository is never passed to `collect_github`, and the note says why. - `docs/progress_dashboard.md`: two lines on the default and the GitHub-only mode. **Tests** (Windows 11, no game, no GPU needed). Red on `leonida-now/main` (1 failure, the README test); green after: - `test_progress_dashboard` 68 OK, `test_make_game_preflight` 112 OK (2 skipped), `test_docs_links` 18 OK, `test_docs_cli_flags` 4 OK, `test_text_write_line_endings` 3 OK - `check_no_game_data.py` on the three changed files: clean - Manual: `--github` with the default prints the notice and still writes the page. AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
#3392 moved the README's clone commands to https://git.leonida.now/leonida/mandy.git, so
test_default_repo_is_the_one_the_readme_clones failed on main: it looked for the old github.com
line built from DEFAULT_REPO = "ProjectLeonida/mandy", a repository that is gone.

DEFAULT_REPO is now the README's full clone URL and the test checks that exact line. That host is
not GitHub, so --github with a non-GitHub --repo prints one line and records the github source as
missing instead of querying it through gh; --repo owner/name (or a github.com URL) still works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OreoFR merged commit 5286146626 into main 2026-12-03 23:57:21 +00:00
Author
Member

Merging. Head 94df18473 (on main 312d88d1d), main 312d88d1d → 528614662.

Fixes the test #3392 broke: test_default_repo_is_the_one_the_readme_clones fails on main (67 tests, 1 failure) and passes with this head (68 OK). Also on Windows 11: test_make_game_preflight 112 OK, test_docs_links 18 OK, test_docs_cli_flags 4 OK, test_text_write_line_endings 3 OK, check_no_game_data clean on the 3 files.
Reviewed the diff: default repository = the README's clone URL; --github with a non-GitHub repository prints one notice and marks the source missing instead of querying the blocked repository.
Tools/tests/docs only: game not launched. No Forgejo CI yet. Approved by OreoFR (maintainer) in session.

AI-assisted (Claude Code).

Merging. Head 94df18473 (on main 312d88d1d), main 312d88d1d → 528614662. Fixes the test #3392 broke: `test_default_repo_is_the_one_the_readme_clones` fails on main (67 tests, 1 failure) and passes with this head (68 OK). Also on Windows 11: `test_make_game_preflight` 112 OK, `test_docs_links` 18 OK, `test_docs_cli_flags` 4 OK, `test_text_write_line_endings` 3 OK, `check_no_game_data` clean on the 3 files. Reviewed the diff: default repository = the README's clone URL; `--github` with a non-GitHub repository prints one notice and marks the source missing instead of querying the blocked repository. Tools/tests/docs only: game not launched. No Forgejo CI yet. Approved by OreoFR (maintainer) in session. AI-assisted (Claude Code).
Sign in to join this conversation.
No description provided.