Commit Graph

1757 Commits (master)
 

Author SHA1 Message Date
Jesse Johnson a14870ce48 Expand source directories when checking for existence (#682). 2 months ago
Dan Helfman ee5c25f3bd Add additional tests for PostgreSQL hook fixes (#678). 2 months ago
Dan Helfman da0f5a34f2 Fix multiple bugs in PostgreSQL hook (#678).
Reviewed-on: borgmatic-collective/borgmatic#677
2 months ago
Dan Helfman 065be1d9d4 More inclusive language. 2 months ago
Dan Helfman f2f6fb537a !!! 2 months ago
Dan Helfman 7ff994a964 🤦 2 months ago
Dan Helfman 08edecacae WTF?! 2 months ago
Dan Helfman 1e03046d9a *Seriously?* 2 months ago
Dan Helfman c9bf52ee45 Sigh again. 2 months ago
Dan Helfman f947525fca ? 2 months ago
Dan Helfman 7f7b89d79c Trying a different approach: Ditching Podman-in-Podman. 2 months ago
Dan Helfman 499e42df35 😭 2 months ago
Dan Helfman 4302a07c9b WTF. 2 months ago
Dan Helfman 1721c05d2e Yet more. 2 months ago
Dan Helfman 8a31c27078 To see what sticks. 2 months ago
Dan Helfman d6e1cef356 Throwing stuff at the wall. 2 months ago
Dan Helfman f82bf619ff More. 2 months ago
Dan Helfman 02eeca1fc2 Hmm. 2 months ago
Dan Helfman 4e78cf1b95 ಠ_ಠ 2 months ago
Dan Helfman 9e9a7c50e5 😊🔫 2 months ago
Dan Helfman 51bc53e5ca Whee. 2 months ago
Dan Helfman b85538c54c Double sigh. 2 months ago
Dan Helfman bb5028e484 Sigh. 2 months ago
Dan Helfman 53ee0fcfad Another attempt at Podman-in-Podman incantations. 2 months ago
Dan Helfman 5f8c79dd16 Attempt to get Podman-in-Podman builds working. 2 months ago
Dan Helfman 0a6f5452f4 Fix broken Podman image name. 2 months ago
Dan Helfman 269fac074b Attempt to use Podman-in-Podman for building docs instead of Docker-in-Podman. 2 months ago
Dan Helfman 3b21ce4ce8 Rename "master" development branch to "main" to use more inclusive language (#684). 2 months ago
Dan Helfman 8bb7631f50 Fix missing mock in unit test. 2 months ago
Dan Helfman 9f5769f87b Make docs/schema a little more container agnostic / less Docker specific. 2 months ago
Dan Helfman 991e08f16d Add Unraid borgmatic installation link to docs. 2 months ago
Dan Helfman 25506b8d2c Backing out upgrade of end-to-end test packages, because apparently we can't have nice things. 2 months ago
Dan Helfman 28e62d824b Upgrade end-to-end test packages. 2 months ago
Dan Helfman 7ee37a890e Fix broken end-to-end tests by no longer using an editable package there, a work-around for https://github.com/pypa/packaging-problems/issues/609 2 months ago
Dan Helfman 8cb5a42a9e Drop deprecated pkg_resources in favor of importlib.metadata and packaging. 2 months ago
Dan Helfman 5dbb71709c Upgrade test requirements and code style requirements. Auto-reformat code accordingly. 2 months ago
Dan Helfman 1c67db5d62 Add documentation for "borgmatic restore --schema" (#375). 2 months ago
Dan Helfman 96d4a8ee45 Add "borgmatic restore --schema" flag to NEWS (#375). 2 months ago
Dan Helfman 81e167959b
feat: restore specific schemas (#375).
Merge pull request #67 from diivi/feat/restore-specific-schemas
2 months ago
Divyansh Singh f273e82d74 add tests 2 months ago
Jakub Jirutka 17f122bfe5 Use psql instead of pg_restore when format is "plain"
pg_restore: error: input file appears to be a text format dump. Please use psql.
2 months ago
Jakub Jirutka f0f43174c6 Swap if-else in restore_database_dump in postgresql hook for cleanliness 2 months ago
Jakub Jirutka dfccc1b94a Exit on error when restoring all PostgreSQL databases
"--set ON_ERROR_STOP=on" is equivalent to "--exit-on-error" in
pg_restore.
2 months ago
Jakub Jirutka 195024e505 Fix psql_command and pg_restore_command to accept command with arguments
These commands are executed without `shell=True`, so the subprocess
module treats e.g. "docker exec my_pg_container psql" as a single command
(resulting in Errno 2 "No such file or directory") instead of a command
with arguments.
2 months ago
Jakub Jirutka 19a00371f5 Run "psql" with "--no-psqlrc"
Some settings in user's .psqlrc, e.g. "linestyle unicode", may break the
CSV output. "--no-psqlrc" tells psql to not read startup file.

This is not necessary for the analyze_command and restore_command (with
all_databases), but it's generally recommended when running psql from a
script.
2 months ago
Jakub Jirutka 874fba7672 Fix PostgreSQL hook not using "psql_command" for list when dumping "all" 2 months ago
Dan Helfman 50b0a9ce38 Remove newline at end of file. 2 months ago
Dan Helfman 8802f6888e Fix "TypeError: 'module' object is not callable" in test_commands.py' (#676).
Reviewed-on: borgmatic-collective/borgmatic#676
2 months ago
polyzen ebe5c5e839 Fix "TypeError: 'module' object is not callable" in test_commands.py 2 months ago
Dan Helfman 613f6c602c Bump version for release. 2 months ago