Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Mar 7, 2024
1 parent 605ff88 commit 014285a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Version 0.5.2 (in development)


* Added configuration setting `force_new`, which forces creation of a new
target dataset. An existing target dataset (and its lock) will be
permanently deleted before appending of slice datasets begins. [#72]

## Version 0.5.1 (2024-02-23)

Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Options:
the previous ones.
-t, --target TARGET Target Zarr dataset path or URI. Overrides the
'target_dir' configuration field.
--force-new Force creation of a new target dataset. An existing
--force-new Force creation of a new target dataset. An existing
target dataset (and its lock) will be permanently
deleted before appending of slice datasets begins.
WARNING: the deletion cannot be rolled back.
Expand Down
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ Options for the filesystem given by the protocol of `temp_dir`.
## `force_new`

Type _boolean_.
Force creation of a new target dataset. An existing target dataset (and its lock) will be permanently deleted before appending of slice datasets begins. WARNING: the deletion cannot be rolled back.
Force creation of a new target dataset. An existing target dataset (and its lock) will be permanently deleted before appending of slice datasets begins. WARNING: the deletion cannot be rolled back.
Defaults to `false`.

## `disable_rollback`
Expand Down
2 changes: 1 addition & 1 deletion zappend/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"--force-new",
is_flag=True,
help=(
"Force creation of a new target dataset. "
"Force creation of a new target dataset."
" An existing target dataset (and its lock) will be"
" permanently deleted before appending of slice datasets"
" begins. WARNING: the deletion cannot be rolled back."
Expand Down

0 comments on commit 014285a

Please sign in to comment.