mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-31 21:53:01 +02:00
Add bootstrap action to NEWS and make post-PR tweaks (#697).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
1.7.15.dev0
|
||||
* #697: Extract borgmatic configuration from backup via "borgmatic bootstrap" action—even when
|
||||
borgmatic has no configuration yet!
|
||||
|
||||
1.7.14
|
||||
* #484: Add a new verbosity level (-2) to disable output entirely (for console, syslog, log file,
|
||||
or monitoring), so not even errors are shown.
|
||||
|
||||
@@ -1086,10 +1086,6 @@ def make_parsers():
|
||||
)
|
||||
borg_group.add_argument('-h', '--help', action='help', help='Show this help message and exit')
|
||||
|
||||
merged_subparsers = argparse._SubParsersAction(
|
||||
None, None, metavar=None, dest='merged', parser_class=None
|
||||
)
|
||||
|
||||
merged_subparsers = merge_subparsers(subparsers, config_subparsers)
|
||||
|
||||
return top_level_parser, merged_subparsers
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
VERSION = '1.7.14'
|
||||
VERSION = '1.7.15.dev0'
|
||||
|
||||
|
||||
setup(
|
||||
|
||||
@@ -115,7 +115,7 @@ def test_create_borgmatic_manifest_creates_manifest_file():
|
||||
flexmock(module.os).should_receive('makedirs').and_return(True)
|
||||
|
||||
flexmock(module.importlib_metadata).should_receive('version').and_return('1.0.0')
|
||||
flexmock(module.json).should_receive('dump').and_return(True)
|
||||
flexmock(module.json).should_receive('dump').and_return(True).once()
|
||||
|
||||
module.create_borgmatic_manifest({}, 'test.yaml', False)
|
||||
|
||||
@@ -136,7 +136,7 @@ def test_create_borgmatic_manifest_creates_manifest_file_with_custom_borgmatic_s
|
||||
__exit__=lambda *args: None,
|
||||
)
|
||||
)
|
||||
flexmock(module.json).should_receive('dump').and_return(True)
|
||||
flexmock(module.json).should_receive('dump').and_return(True).once()
|
||||
|
||||
module.create_borgmatic_manifest(
|
||||
{'borgmatic_source_directory': '/borgmatic'}, 'test.yaml', False
|
||||
|
||||
Reference in New Issue
Block a user