Implement WordPress WXR analysis, review, and import #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Implement the complete bDS2-compatible WordPress migration workflow from saved import definition through review and recoverable execution.
Current state
Required behavior
Implementation notes
Acceptance criteria
Implemented and pushed in commit
429f471.The implementation adds project-scoped saved import definitions and reopening, safe streaming WXR parsing, HTML5-to-Markdown and shortcode conversion, non-mutating async classification, localized review and conflict/taxonomy controls, airplane-aware AI taxonomy mapping, and recoverable taxonomy/posts/media/pages execution through the normal core engines. Execution preserves source status, authors, timestamps, taxonomy, media alt text, and parent links; skips updates/duplicates/missing items; supports ignore/overwrite/import-as-new; and rolls back database plus filesystem artifacts per 500-item batch while retaining earlier batches.
Verification completed: 12 focused WordPress import integration tests, saved-analysis UI reopening and locale completeness tests, metadata diff/rebuild round trips, allium check specs, allium analyse specs, cargo fmt --all -- --check, cargo build --workspace, strict workspace Clippy, cargo test --workspace, and visual inspection of the rebuilt macOS app bundle. The neutral review compared the result with issue #17, bDS2, and specs/import.allium and found no remaining gap.