Commit Graph

1598 Commits

Author SHA1 Message Date
Divyansh Singh 80091230d6 docs: copy to clipboard support 2023-03-31 11:36:15 +02:00
Dan Helfman 81c81792f7 Add missing source directory error fix to NEWS (#655). 2023-03-31 11:36:15 +02:00
Divyansh Singh a0810671bd review 2023-03-31 11:36:15 +02:00
Divyansh Singh c1a15d4cb4 remove extra parameter from function call 2023-03-31 11:36:15 +02:00
Divyansh Singh 9bff81ed1f use exit_code_indicates_error and modify it to accept a command 2023-03-31 11:36:13 +02:00
Divyansh Singh 419678e0a3 fix: no error on database backups without source dirs 2023-03-31 11:35:34 +02:00
Dan Helfman 9af87e7035 Add confusing error message fix to NEWS (#623). 2023-03-31 11:35:34 +02:00
Divyansh Singh baec8acbf8 fix: rephrase error when running from config
to avoid confusion, as the user might think the problem is with their config file
2023-03-31 11:35:34 +02:00
Dan Helfman a241b8a38b Remove unused module and outdated test expectations (#576). 2023-03-31 11:35:34 +02:00
Dan Helfman 72effb99b1 Add "file://" paths to NEWS (#576). 2023-03-31 11:35:34 +02:00
Divyansh Singh f4b3681013 add tests and remove magic number 2023-03-31 11:35:34 +02:00
Dan Helfman 300d9b9dc4 Add NixOS package link to installation docs. 2023-03-31 11:35:34 +02:00
Dan Helfman 52a64f6a2c Add "source_directories_must_exist" option to NEWS (#501). 2023-03-31 11:35:34 +02:00
Divyansh Singh 91a916967c reformat 2023-03-31 11:35:34 +02:00
Divyansh Singh 58798e0592 add tests 2023-03-31 11:35:34 +02:00
Divyansh Singh d0dce1c362 feat: add optional check for existence of source directories 2023-03-31 11:35:34 +02:00
Dan Helfman ed15ea932b Add "borg_files_cache_ttl" option to NEWS. 2023-03-31 11:35:34 +02:00
Soumik Dutta e1a182418a add test to ensure integers are converted to string
before setting them up to be environment variable values

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:34 +02:00
Soumik Dutta 26c83d1f62 add option to set borg_files_cache_ttl in config
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:34 +02:00
Dan Helfman 0782ca6aef Clarify check frequency default behavior (#653). 2023-03-31 11:35:34 +02:00
Dan Helfman f0e92591cc Bump version for release. 2023-03-31 11:35:34 +02:00
Dan Helfman 0ada19b444 Add support for Python 3.11. 2023-03-31 11:35:34 +02:00
Dan Helfman 7129e20141 Add "--repository" flag to all actions where it makes sense (#564). 2023-03-31 11:35:34 +02:00
Nain 44f9e2d723 Update tests
Make them more explicit. Also formatting.
2023-03-31 11:35:34 +02:00
Nain 5c89ad6eda Add "--repository" flag to the "create" action 2023-03-31 11:35:34 +02:00
Nain a0dbe93554 Add "--repository" flag to the "compact" action 2023-03-31 11:35:34 +02:00
Nain 5af6d784bd Add "--repository" flag to the "check" action 2023-03-31 11:35:34 +02:00
Nain 9ded51b78a Merge mostly repetetive tests 2023-03-31 11:35:34 +02:00
Nain 667a40cb0b Remove test now that --repository isn't expected to error
As discussed #652#issuecomment-5579
2023-03-31 11:35:34 +02:00
Nain c804793453 Add "--repository" flag to the "prune" action
part of ticket #564
2023-03-31 11:35:34 +02:00
Nain ef7b4c33ce Better indicate position of additional docs on page
On wide screens, the position of the documentation (how-to and reference guide)
is at same level as #it's-your-data.-keep-it-that-way.

So the jump due to anchor link makes it seem like we're taken to top aka
main content. Indicate that links are to the left so reader doesn't recurse.
2023-03-31 11:35:34 +02:00
Nain dc2b1ff8d2 Fix --editable (mode) option given --user as arg
--user option should be before, or after `--editable .` not in between.
Before seems better.
2023-03-31 11:35:34 +02:00
Dan Helfman 9f1d183712 Add "--strip-components all" on the "extract" action to remove leading path components (#647). 2023-03-31 11:35:34 +02:00
Dan Helfman 6bf858aae2 Document how to list database dumps in an archive. 2023-03-31 11:35:33 +02:00
Jelle @ Samson-IT 4386e66f65 reworded and added 'all' caveat 2023-03-31 11:35:33 +02:00
Jelle @ Samson-IT 1cf4a91b0a Added some info about fetching mysql database size 2023-03-31 11:35:33 +02:00
Dan Helfman 9fa57b3190 Change the default action order to: "create", "prune", "compact", "check" (#304). 2023-03-31 11:35:33 +02:00
Dan Helfman 15ca234349 Run any command-line actions in the order specified instead of using a fixed ordering (#304). 2023-03-31 11:35:33 +02:00
Dan Helfman fc9bf03409 Add Healthchecks "log" state feature to NEWS. 2023-03-31 11:35:33 +02:00
Soumik Dutta e66afc8d8a fix tests
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:33 +02:00
Soumik Dutta 8cac207fc6 added tests to make sure unsupported log states are detected
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:33 +02:00
Soumik Dutta e4fe56f526 return early if unsupported state is passed
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:33 +02:00
Soumik Dutta e3c46d0084 fix logs_monitor_start_error()
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:33 +02:00
Soumik Dutta 4ef65a5411 update test_borgmatic.py
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:32 +02:00
Soumik Dutta 850021b749 add test for healthchecks
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:29 +02:00
Soumik Dutta 49564585dd update schema.yaml description
also add monitor.State.LOG to cronitor.

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:34:42 +02:00
Soumik Dutta 01b4d7c27e Add support for healthchecks "log" feature #628
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:34:39 +02:00
Dan Helfman dbb39d0b10 Add flake8-quotes to complain about incorrect quoting so I don't have to! 2023-03-31 11:33:18 +02:00
Dan Helfman cd003f11dd Mention searching for files in the extract a backup guide. 2023-03-31 11:33:18 +02:00
Dan Helfman ba71509bba Update dates in documentation examples. 2023-03-31 11:33:18 +02:00