mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:25:52 +01:00
[PR #1430] bink_index: ask report_paths for the report-path guard (BINK-INDEX-SHARED-REPORT-PATH) #1460
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1460
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1430
Author: @Dashhhhhhhh
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/bink-index-report-path📝 Commits (1)
fb43ae7bink_index: treat case-only report paths as one file.📊 Changes
2 files changed (+22 additions, -10 deletions)
View changed files
📝
tests/test_bink_index.py(+21 -0)📝
tools/bink_index.py(+1 -10)📄 Description
Claimed in the coordination issue as: BINK-INDEX-SHARED-REPORT-PATH
What and why
tools/bink_index.pycompared report paths withos.path.normcase. That folds case on Windows and leaves it alone on macOS, andos.path.samefileonly answers when both paths already exist. A carve folder namedMoviesand--out movies/index.jsonare one file on APFS, and the manifest does not exist yet, so the check let--outwrite<target>/index.json.The tool now uses
tools/report_paths.py.bink_names.pycalls the same function, so it gets the same answer.Tested
python -I tests/test_bink_index.py(35 tests) andpython -I tests/test_bink_names.py(36 tests), on macOS APFS. The new test refusesmovies/index.jsonfor a folder created asMovies. No game files.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.docs/design.md(not a translator change).Made with Cursor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.