Move Blogger import to compat and add a native-import dispatcher #557
No reviewers
Labels
No labels
antville.org
bug
compatibility
dependency
duplicate
enhancement
help wanted
invalid
java
javascript
major
needs feedback
needs work
no-issue-activity
runtime
security
urgent
usability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
antville/antville!557
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "relocate-blogger-importer"
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?
Phase 0 of the importer rewrite: relocates the legacy Blogger.com Atom/RSS import (the only thing
Importerdid until now) intocompat/Global/Importer.jsasImporter.blogger, and rewritescode/Global/Importer.jsas a thin dispatcher that sniffs the uploaded file by content (ZIP magic bytes) to detect a native Antville export archive.Native restore logic (
Importer.restoreSite) isn't implemented yet — that's the next PR. For now, detecting a ZIP with noImporter.restoreSitedefined yet, or an unrecognized file, surfaces a clearsite.importErrorinstead of crashing silently, mirroring theexportErrorhandling already in place for export. Also fixes the upload cleanup (File.remove) only running on the success path by moving it intofinally.Test plan
site.importErrorin the#importskin instead of failing silentlyView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.