Add BluditGithubImport class for GitHub article import functionality

- Implemented methods for slug validation, path validation, scalar parsing, and document processing.
- Added link and image handling with safety checks for content.
- Introduced blob verification for GitHub responses and asset type validation.
- Created unit tests for the import functionality, covering various edge cases and ensuring robust error handling.
- Included tests for metadata preservation, asset handling, and concurrent edits.
This commit is contained in:
interlope committed 2026-11-01 18:33:07 +01:00
1 parent feefb08a85
commit 3dfd367814
6 files changed
+848 -80

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
{
"plugin-data": {
"name": "GitHub Export",
"description": "Export Bludit articles to a GitHub repository as Markdown files with YAML frontmatter."
}
"plugin-data": {
"name": "GitHub Sync",
"description": "Export Bludit articles to GitHub and preview/import selected articles, metadata, images and attachments back into Bludit."
}
}