@@ -1,4 +1,5 @@
-1.2.7.dev0
+1.2.7
+ * #98: Support for Borg --keep-secondly prune option.
* Use Black code formatter and Flake8 code checker as part of running automated tests.
* Add an end-to-end automated test that actually integrates with Borg.
* Set up continuous integration for borgmatic automated tests on projects.evoworx.org.
@@ -181,6 +181,10 @@ map:
type: scalar
desc: Keep all archives within this time interval.
example: 3H
+ keep_secondly:
+ type: int
+ desc: Number of secondly archives to keep.
+ example: 60
keep_minutely:
type: int
desc: Number of minutely archives to keep.
@@ -36,6 +36,7 @@ for sub_command in prune create check list info; do
| grep -v '^--help$' \
| grep -v '^--info$' \
| grep -v '^--json$' \
+ | grep -v '^--keep-last$' \
| grep -v '^--list$' \
| grep -v '^--nobsdflags$' \
| grep -v '^--pattern$' \
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
-VERSION = '1.2.7.dev0'
+VERSION = '1.2.7'
setup(