mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:20:51 +01:00
[PR #490] [MERGED] report_paths: respect case-sensitive Windows directories (OLD-9412) #540
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#540
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/490
Author: @sodove
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:fix/ntfs-report-path-case📝 Commits (2)
1597218report_paths: use file identity before folding existing names448dae0report_paths: respect Windows directory case for missing paths📊 Changes
2 files changed (+68 additions, -4 deletions)
View changed files
📝
tests/test_report_paths.py(+26 -1)📝
tools/report_paths.py(+42 -3)📄 Description
Claimed in the coordination issue as: OLD-9412 (claim)
What and why
On Windows the shared report-path guard currently folds case even in an NTFS directory that preserves it. A tool can refuse distinct input and output names before either report is written.
This carries over both commits by IsidroEmirPelli from the former PR #9412, retaining their authorship. Existing files are compared by identity. For missing Windows paths the case-only name comparison follows the actual parent directory, or the nearest existing ancestor. Hard links and the usual case-insensitive NTFS aliases still collide.
Tested
8f481cfto 10/10 with the patch. It covers two existing files, one or both missing, missing parent components, a hard link, and case-insensitive controls.GPUs tested: n/a, CPU-only.
AI-assisted: yes, carryover and verification.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.