mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1453] world_drawable_verify: one archive under another case is the same source (WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE) #1484
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#1484
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/1453
Author: @Dashhhhhhhh
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/world-drawable-verify-case-archive📝 Commits (1)
8dd9eb7world_drawable_verify: treat another case of one archive as the same source.📊 Changes
3 files changed (+27 additions, -2 deletions)
View changed files
📝
tests/test_world_drawable_verify.py(+12 -1)📝
tests/test_world_drawable_verify_archive_aliases.py(+11 -0)📝
tools/world_drawable_verify.py(+4 -1)📄 Description
Claimed in the coordination issue as: WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE
What and why
tools/world_drawable_verify.pyarchive_pathcompared source archives withos.path.normcase(os.path.abspath()). On macOS that keeps the case you typed, andos.path.samefilecannot see a file that has not been created. Two reports ofGame/missing.rpfandgame/missing.rpfwere rejected as different archives.The key now uses
report_paths.path_key. A hard link or symlink to an existing archive is still accepted, and a distinct file with the same bytes is still rejected.Tested
python -I tests/test_world_drawable_verify_archive_aliases.py(7 tests) andpython -I tests/test_world_drawable_verify.py(10 tests) on macOS APFS. The new test accepts two spellings of one archive that has not been created. 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.