Commit Graph

284 Commits

Author SHA1 Message Date
b8d349d048 Additional test coverage (#732).
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-01 16:27:53 -07:00
f6f06551f0 Multiple configuration includes with a single "!include" (#732).
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-01 14:12:35 -07:00
8491b2c416
Feat: optionally disable config bootstrap (#725).
Merge pull request #75 from diivi/feat/disable-config-bootstrap
2023-07-31 14:00:00 -07:00
f2ce2f387f feat: optionally disable config bootstrap 2023-08-01 01:32:06 +05:30
8a2514915c Fix for Borg's interactive prompt on the "check --repair" action automatically getting answered "NO" (#730).
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-22 15:25:55 -07:00
0ad7b4f408 Bump version for release.
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2023-07-18 22:50:09 -07:00
da78929415 To prevent argument parsing errors on ambiguous commands, drop support for multiple consecutive flag values.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 19:25:14 -07:00
cedf562a7e Merge branch 'main' into remove-sections 2023-07-11 20:05:16 -07:00
7d18f59079 Add a config entry for BORG_CHECK_I_KNOW_WHAT_I_AM_DOING env var 2023-07-10 10:36:56 +02:00
48b6a1679a Remove sections (#721).
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-08 23:14:30 -07:00
9cf27fa4ba Deprecated configuration options warning logging.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-29 10:03:36 -07:00
f60e97d5bf When merging two configuration files, error gracefully if the two files do not adhere to the same format.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 16:46:09 -07:00
b9a11e860d Remove legacy configuration parsing code, no longer needed with upgrade-borgmatic-config gone (#529). 2023-06-25 15:36:25 -07:00
68d90e1e40
feat: allow restoring to different port/host/username (#326).
Merge pull request #73 from diivi/feat/restore-with-different-hostname-port-username
2023-06-22 12:28:34 -07:00
1b90da5bf1 Deprecate generate-borgmatic-config in favor if new "config generate" action (#529).
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-21 12:19:49 -07:00
b10aee3070 Remove upgrade-borgmatic-config command for upgrading borgmatic 1.1.0 INI-style configuration (#529).
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-19 23:17:59 -07:00
9016dcc418 all e2e tests 2023-06-18 05:47:35 +05:30
89602d1614 pass all existing tests (and formatting) 2023-06-16 15:14:00 +05:30
c294e78715 Use absolute paths when storing configuration files in an archive for later bootstrapping (#697).
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 21:45:43 -07:00
a9386b7a87 add mongodb support, and sqlite restore path (config option only) 2023-06-15 02:18:24 +05:30
67f4d43aec witten review 2023-06-15 01:37:18 +05:30
8e8e64d920 add no-owner and refactor 2023-06-13 23:42:50 +05:30
f558cb3156 feat: allow restoring to different port/host/username 2023-06-12 21:54:39 +05:30
c61d63b235 Use open() to test for file existance and readability
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2023-06-04 00:54:29 -04:00
ba0899660d Verify that schema path exists before returning it
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2023-06-03 23:42:20 -04:00
15cabb93ca Drop importlib_metadata entirely
The fallback option using the dirname of the config module location
seems to be more robust in a number of cases.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2023-06-03 23:42:20 -04:00
ce6daff12f Fix importlib.metadata.files workaround
Some distributions, such as Fedora, do not install the RECORDS file as
part of a package's dist-info. As a result importlib.metadata.files will
return None.

Use the workaround for these cases as well.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2023-06-03 23:42:20 -04:00
caf654366c Document work-around for colons in YAML strings (#708).
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-03 10:19:34 -07:00
403ae0f698 Clarify configuration comment about source_directories also accepting files (#693).
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-09 10:14:03 -07:00
0b397a5bf9 Fix borgmatic error when not finding the configuration schema for certain "pip install --editable" development installs (#687).
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-30 16:24:10 -07:00
065be1d9d4 More inclusive language.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-20 14:28:04 -07:00
9f5769f87b Make docs/schema a little more container agnostic / less Docker specific.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-04-16 15:41:17 -07:00
8cb5a42a9e Drop deprecated pkg_resources in favor of importlib.metadata and packaging.
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-14 21:21:25 -07:00
5dbb71709c Upgrade test requirements and code style requirements. Auto-reformat code accordingly.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 19:35:24 -07:00
4a94c2c9bf Selectively omit list values when including configuration files (#672).
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 14:39:36 -07:00
1ea4433aa9 Selectively shallow merge certain mappings or sequences when including configuration files (#672).
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-11 21:49:10 -07:00
9712d00680 Add "match_archives" option (#588).
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-01 23:57:55 -07:00
2934d0902c Code spell checking on every test run!
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-01 11:03:59 -07:00
32ab17fa46 merge 2023-04-01 22:12:41 +05:30
6054ced931 fix: run typos 2023-04-01 22:10:32 +05:30
3f78ac4085 Automatically use the "archive_name_format" option to filter which archives get used for borgmatic actions that operate on multiple archives (#479).
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-31 15:21:08 -07:00
b27e625a77 Update schema comment for check_repositories to mention labels (#635).
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-28 15:44:38 -07:00
ce22d2d302 reformat 2023-03-28 22:29:21 +05:30
2d08a63e60 fix: make check repositories work with dict and str repositories 2023-03-28 22:14:50 +05:30
7a8e0e89dd Mention prior versions of borgmatic in repositories schema.
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 21:54:01 -07:00
0e3da7be63 Fix repository schema description.
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 16:15:24 -07:00
3e8e38011b
Labels for repositories (#635).
Merge pull request #57 from diivi/feat/tag-repos
2023-03-27 15:46:22 -07:00
b511e679ae remove optional label for repos from tests 2023-03-26 16:59:29 +05:30
19e95628c3 Add documentation and NEWS for custom constants feature (#612).
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-24 23:47:05 -07:00
4d01e53414
Fix: replace primitive values in config without quotes (#612).
Merge pull request #62 from diivi/fix/config-json-replacement
2023-03-24 23:45:36 -07:00