From a51db37fdb5a8a0225498dfea0a868cc645bba85 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Mon, 15 Jun 2026 01:48:32 +0200 Subject: [PATCH] v0.8.2: add metadata-only sidecars --- CHANGELOG.md | 10 ++++ Makefile | 2 +- README.md | 8 +++ RELEASE_NOTES.md | 17 +++--- USERGUIDE.md | 8 +++ cmd/photoscli/main.go | 117 ++++++++++++++++++++++++++++++++++-- cmd/photoscli/main_test.go | 120 +++++++++++++++++++++++++++++++++++++ 7 files changed, 266 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46c05db..23675fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ This changelog is maintained from git history plus the published Gitea release series. Future releases should update this file and publish matching release notes on the release page. +## v0.8.2 + +Metadata-only XMP refresh release. + +- Add `--metadata-only` for manifest-based XMP sidecar generation without re-exporting media files. +- Support metadata-only refresh for both `export` and `backup-all` when used with `--sidecar xmp`. +- Require a manifest for metadata-only mode so existing media paths are resolved safely. +- Keep media files untouched while overwriting/regenerating generated XMP sidecars. +- Support `--reverse-geocode` during metadata-only sidecar refresh. + ## v0.8.1 XMP standards and sidecar verification release. diff --git a/Makefile b/Makefile index bfba1ed..e9bc806 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BINARY := ./bin/photoscli MODULE := gitea.k3s.k0.nu/tools/photocli -VERSION := 0.8.1 +VERSION := 0.8.2 RELEASE_ZIP := ./bin/photoscli-$(VERSION)-macos-arm64.zip RELEASE_NOTES := RELEASE_NOTES.md BRIDGE_DIR := bridge diff --git a/README.md b/README.md index d2b4f18..39fcf3d 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ For a practical step-by-step manual with recommended backup workflows, recovery - Deduplicated failure management with `failures list`, `failures clear`, and `retry-failed --clear-on-success`. - Verification, reporting, and diff commands for backup integrity. - Optional XMP sidecar verification with `verify --sidecar`. +- Metadata-only XMP refresh for manifest-backed exports with `--metadata-only`. - Status command for quick backup summaries. - Opt-in rich XMP sidecar metadata with `--sidecar xmp`. - Optional Apple MapKit reverse geocoding for GPS assets on macOS 26+ with `--reverse-geocode`. @@ -283,6 +284,7 @@ Common flags for `export` and `backup-all`: - `--max-size `: filter by estimated pixel count. - `--format jpeg|heic|png`: preview format hint. Current bridge output is still the existing preview path; non-JPEG bridge output is future work. - `--sidecar none|xmp`: write opt-in XMP metadata sidecars next to exported files. +- `--metadata-only`: with `--sidecar xmp`, refresh XMP sidecars for manifest-backed files without exporting media. - `--reverse-geocode`: with `--sidecar xmp`, add cached Apple MapKit address metadata for GPS assets on macOS 26+. - `--date-template