Repository navigation
Add editable photo metadata and portable XMP sidecars - #161
Merged
Merged
Conversation
IAmJSD
force-pushed
the
feat/metadata-xmp
branch
from
September 20, 2026 13:01
ad124f3 to
a8eb419
Compare
IAmJSD
force-pushed
the
feat/metadata-xmp
branch
from
September 20, 2026 13:05
a8eb419 to
157fd43
Compare
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.
Local gallery metadata was read-only. This adds Photo metadata to the selected photos’ context menu, with single and batch editing of keywords, paragraph captions, copyright, capture times, per-photo time offsets, and GPS. Only checked fields change; partial batches retain failed photos for retry without applying successful offsets twice.
Saves write portable XMP sidecars without changing image bytes. Namespace-aware patches preserve unrelated XML and translated captions, validate dates/coordinates, retain prior packets, reject ambiguous or malformed sidecars, and publish atomically. Gallery search, smart buckets, date/place grouping, maps, and headless search use the overlays. Gallery moves carry sidecars and backups, preflight collisions, and roll back completed transfers on failure. All 150 shipped locales have the new UI strings.
Validation passed in an isolated target directory:
make check-metadata-xmp— 9 gallery XMP tests passed; 4 editor metadata-filter tests and 2 photo-move-filter tests passed (the collision test appears in both filters); native editor all-target compilation passed. Coverage includes round trips, unknown properties, escaping, validation, atomic writes, partial failures, conflicts, symlinks, external edits/deletions over warm EXIF caches, opt-in batch fields, time-mode selection, search/date/GPS refresh, and sidecar moves/collisions. The optional ExifTool test is ignored by this target and was run separately below.make check-metadata-xmp-exiftool— independent ExifTool reader/writer interoperability, including retention of a foreign rating property.make check-metadata-xmp-native lint-metadata-xmp— native editor all-target compilation and gallery/editor Clippy with-D warnings.make check-i18n— Rust catalogs, all shipped locale fonts, aliases, and web loader tests.The editor runtime tests were executed successfully on Linux with an isolated workspace build after refreshing external dependency artifacts. No GUI smoke test was performed. This applies to local filesystem photos. External changes appear on Refresh/reopening the gallery. Clearing date/GPS suppresses embedded values in Schist, while other readers may fall back to the original EXIF. Sidecar naming and compatibility details are documented in
docs/photo-metadata.md. No Adobe SDK/header files were used.