Repository navigation
V1.0.0 alpha.4 - #50
Conversation
* Add `swoopmist export --snapshot` for the release-data snapshot Writes SDKVersion, XcodeVersion and SimulatorRuntime as SwoopKit's ReleaseDataSnapshot, byte for byte what Stewed's StewedTools `release-data-snapshot` wrote, so Stewed can drop StewedTools (brightdigit/Stewed#194). - Queries only those three types with queryAllRecords (paged), maps every record with from(recordInfo:), and fails on an empty type or an unmapped record. - Sorted by record name, whole-second fetchedAt, SwoopKit's JSONEncoder.iso8601PrettySorted plus a trailing newline. - Read-only. Development unless --allow-production is passed, which is a flag only, with no environment variable. - A fixture JSON written by StewedTools' own code over fixed records proves byte identity. Needs SwoopKit 1.0.0-beta.2 (brightdigit/SwoopKit#3) for ReleaseDataSnapshot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK * Resolve SwoopKit 1.0.0-beta.2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The sync and export summaries only counted restore images, Xcode and Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never showed up. Add both, plus the SDKVersion records the sync deletes. Also drop the stale "limited to 200 records per type" notes: MistKit 1.0.0-beta.6's queryAllRecords follows continuation markers (#17). Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Summary by CodeRabbit
export --snapshot <file.json>to create a read-only release-data snapshot containing SDK, Xcode, and simulator runtime records. Exports are limited to Development by default;--allow-productionpermits Production access.