Commit Graph

19 Commits

Author SHA1 Message Date
Ein Anderssono 9cd702628d v0.8.1: improve XMP sidecars
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
v0.8.1
2026-06-15 01:36:04 +02:00
Ein Anderssono fffb30023b v0.8.0: enrich XMP metadata
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
v0.8.0
2026-06-15 01:21:49 +02:00
Ein Anderssono 4fe4c15adf v0.7.0: add XMP sidecars
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
v0.7.0
2026-06-15 00:57:13 +02:00
Ein Anderssono 36832060d0 docs: clarify Apple Silicon release target
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
2026-06-15 00:41:49 +02:00
Ein Anderssono 05188e5451 v0.6.0: strengthen backup integrity
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
v0.6.0
2026-06-15 00:34:32 +02:00
Ein Anderssono 0a905758cc docs: add user guide and release zip packaging
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled
2026-06-15 00:06:27 +02:00
Ein Anderssono 2e73d01b40 v0.5.0: manifests, filters, logging, docs
pipeline / build (push) Has been cancelled
pipeline / test (push) Has been cancelled
v0.5.0
2026-06-15 00:00:06 +02:00
Ein Anderssono 3d3c4a4742 v0.4.0: scroll log, worker slots, disk skip, color gradient, parallel export v0.4.0 2026-06-12 14:03:18 +02:00
Ein Anderssono e888f7cad1 v0.2.5: Unicode progress bar with cloud download speed
- Unicode block progress bar (█▓░)
- Cloud downloads show ☁ with average speed (MB/s, KB/s, B/s)
- Truncated filenames with ellipsis for long names
- Error indicator (✗) in progress bar
- Simplified to serial export for clean cancel behavior
- Added IsCancelled() to Bridge interface
v0.2.5 v0.2.6 v0.3.0 v0.3.1 v0.3.2 v0.3.3 v0.3.4 v0.3.5
2026-06-11 21:59:42 +02:00
Ein Anderssono 479c284dfc v0.2.4: stop export loop on Ctrl+C instead of flooding failures
- Add IsCancelled() to Bridge interface
- Check bridge.IsCancelled() before each export in serial/parallel/backupTree
- Parallel workers mark remaining slots as 'cancelled' instead of exporting
- Add photos_request_is_cancelled to ObjC and C stub
v0.2.4
2026-06-11 21:44:55 +02:00
Ein Anderssono 009c71e6bb v0.2.3: fix export write failures and Ctrl+C cancellation
- Add ensure_directory calls in both export functions (preview + original)
- Include NSError.localizedDescription in write failed messages
- Make semaphore_wait_with_timeout poll photos_cancelled every ~1s
- Add status messages: auth, loading tree, per-album progress
- Fix parallel export: slot-based progress shows results in order
v0.2.3
2026-06-11 21:37:11 +02:00
Ein Anderssono b2d4c6188d fix: make Ctrl+C cancel ObjC semaphore waits within ~1s
semaphore_wait_with_timeout now polls photos_cancelled every second
instead of blocking for the full timeout duration
2026-06-11 21:24:03 +02:00
Ein Anderssono 27ff1b5c83 v0.2.1: add status messages, fix parallel export progress
- mustAuth: print 'requesting photo library access...' / 'access granted'
- cmdBackupAll: print 'loading photo library tree...' / 'found N albums'
- cmdExport: print 'loading assets...' / 'exporting N assets (mode)...'
- backupTree: print 'album: Name (N assets)' per album
- exportAssetsParallel: slot-based progress shows each asset as it completes
  instead of waiting for all to finish
- Fix data race: use jobs channel instead of shared range iteration
v0.2.1
2026-06-11 21:18:34 +02:00
Ein Anderssono 85eaa3ea37 v0.2.0: semaphore timeouts, error logging, dead code removal, parallel exports
Critical:
- Replace DISPATCH_TIME_FOREVER with 120s/30s timeouts in ObjC
- Log failed asset IDs and error messages in cmdExport/backupTree
- Show failed count in export summaries

Cleanup:
- Remove legacy Bridge methods (ExportAlbumPreviews, ExportAlbumOriginals, BackupAll)
- Remove legacy ObjC functions and C stub equivalents
- Remove photos.go delegates (package-level pass-throughs)
- Remove InterpretExportResult (only used by legacy methods)
- Clean up mockBridge fields (rename Fn2 -> Fn)
- Fix rc race condition in main_main.go (atomic.Int32)
- Remove unused variables (_ = grandTotal, _ = sig)

Design:
- Fix resolveAlbumID: ListAlbums first (cheap), then direct ID
- Unify Cloud type: Asset.Cloud string (was bool)
- Extract shared export logic into exportAssets/exportOne
- Add worker pool for parallel exports (3 workers when assets >= 4)
- Fix backupTree progress bar counter and directory prefix

Robustness:
- Add nil checks for stringWithUTF8String: in ObjC
- Log directory creation errors in ensure_directory (ObjC)

Quality:
- Add go vet and -race flag to Makefile test target
- Add ADR for performSelector cloudIdentifier decision
- Add sync comments between Go/ObjC sanitizePathComponent
- Add package-level doc comment
- Add tests: partial failure, skipped album, album-not-found message
v0.2.0
2026-06-11 21:12:47 +02:00
Ein Anderssono b460c68641 add pipeline and tea release targets 2026-06-11 20:37:30 +02:00
Ein Anderssono 6002fda1f6 add version flag and Gitea release targets v0.1.0 2026-06-11 20:32:08 +02:00
Ein Anderssono ca3a3e4a2a rename applephotos to photoscli, update module path to gitea.k3s.k0.nu/tools/photocli 2026-06-11 20:29:06 +02:00
Ein Anderssono e48e20ad18 add .gitignore, remove build artifacts from tracking 2026-06-11 20:25:13 +02:00
Ein Anderssono 6ec16f3966 initial commit: applephotos CLI with progress, cloud status, per-asset export 2026-06-11 20:25:07 +02:00