Commit graph

4 commits

Author SHA1 Message Date
sudipnext
0b64a2aedb Refactor export runtime synchronization script
- Removed the deprecated convert binary file from the project.
- Enhanced the runtime synchronization logic to support dynamic version fetching from GitHub releases.
- Improved platform and architecture detection for the converter candidates.
- Added functions for downloading, extracting, and validating the export runtime.
- Implemented error handling for HTTP requests and file operations.
- Updated the main function to handle existing runtime validation and conditional downloading.
2026-03-18 14:34:08 +05:45
sudipnext
6c72fe2e0e Implement dynamic converter path resolution and binary format detection for export functionality 2026-03-16 14:54:19 +05:45
sudipnext
c8faab97d9 Refactor database URL handling and ensure SQLite parent directory creation
- Introduced a helper function `_to_sync_database_url` to standardize the conversion of async database URLs to sync URLs in `env.py` and `migrations.py`.
- Added `_ensure_sqlite_parent_dir` function in `db_utils.py` to create the parent directory for SQLite databases if it doesn't exist, ensuring compatibility with Windows paths.
- Updated the `get_database_url_and_connect_args` function to call `_ensure_sqlite_parent_dir` before processing the database URL.
- Simplified the `sync_export_runtime.js` script by removing the build step and directly using committed runtime artifacts, ensuring a smoother export process.
2026-03-16 07:47:43 +05:45
sudipnext
90a54cb791 Add export runtime synchronization script and update build process 2026-03-16 07:23:40 +05:45