Repository navigation
Nombres con acentos: NFC/NFD (D17, #4) + decisiones D16–D19 - #11
Merged
Merged
Conversation
macOS/APFS and SMB keep names in whatever Unicode form they were written (often NFD), while Resolve, a user list or the DIT's MHL may carry NFC. A clip listed in the other form was reported as "not in the source MHL" and scan() returned two items for one file (D17, H10). Preparation now resolves every path to the real name of the folder listing (FS.real_name / FS.real_dir, one NFC map per folder, built only when needed; ASCII paths list nothing extra), dedupes by that real path and matches sequence patterns on NFC forms. The worker retries a missing path against the DIT's ASC MHL paths (media_hashes of the card history) and legacy .mhl keys by NFC form; the new generation keeps the on-disk destination path. Tests cover both directions, scan dedupe, sequences and legacy, and finish with ascmhl-debug verify. Closes #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Arreglo del issue #4 (D17): nombre real del disco, deduplicación NFC/NFD y búsqueda de las dos formas al comparar con el MHL del DIT (H10). 111 tests. #4 queda abierto solo para la medida en el NAS. Registra también D16 (selector «Qué copiar»), D18 (legacy) y D19 (salvaguarda), que se implementan en el PR siguiente. Refs #4 #6 #9