summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-03fixup! Switch to format strings where suitablechangescos
2024-07-03Switch to format strings where suitablecos
2024-07-03Wrap normal/debug prints in an indexed print functioncos
2024-07-03Add empty db file for 3040000cos
2024-07-03Move query() to other functionscos
2024-07-03Refactor repeated version check into get_db_version()cos
2024-07-03Add integrity checking of db filescos
2024-07-03Add more, and conditional, progress outputcos
This commit changes the default output to print one dot per step in when copying tables. That should make it easier to gain a quick understanding of where a potential failure happens. A `--verbose` flag is also added, which when given should make it easier to reproduce the steps of this script manually.
2024-07-03Always validate that databases match versioncos
2024-07-03Support giving empty.db as argumentcos
2024-07-03Improve error handling slightlycos
Use non-zero return codes for failed execution and output errors to stderr.
2024-07-03Clarify variable namescos
Mainly make variables containing file names indicate they do just that, rather than confusingly masquerading as directory paths.
2024-07-03Improve readability of both source code and outputcos
2024-07-03Detect missing dbpage extensioncos
While sqlite3 is documented to build with the dbpage extension by default, one can not simply rely on it always being available. Notably debian trixie (3.46.0-1) lacks the extension.
2024-07-03Use POSIX shebang to find interpretercos
2024-07-03Slight README improvementscos
Wrap long lines at 80 characters. Use reference-style link. Add the word "known" prior to situations, inviting for feedback on potential other causes.
2024-07-03Clean-up some spilled red paintcos
2023-10-01Initial commitHEADmainByteHamster