Support for Borg --keep-secondly prune option (#98).

This commit is contained in:
Dan Helfman 2018-10-04 21:54:23 -07:00
parent 900ea80a42
commit da8e9638f4
4 changed files with 8 additions and 2 deletions

3
NEWS
View file

@ -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. * 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. * Add an end-to-end automated test that actually integrates with Borg.
* Set up continuous integration for borgmatic automated tests on projects.evoworx.org. * Set up continuous integration for borgmatic automated tests on projects.evoworx.org.

View file

@ -181,6 +181,10 @@ map:
type: scalar type: scalar
desc: Keep all archives within this time interval. desc: Keep all archives within this time interval.
example: 3H example: 3H
keep_secondly:
type: int
desc: Number of secondly archives to keep.
example: 60
keep_minutely: keep_minutely:
type: int type: int
desc: Number of minutely archives to keep. desc: Number of minutely archives to keep.

View file

@ -36,6 +36,7 @@ for sub_command in prune create check list info; do
| grep -v '^--help$' \ | grep -v '^--help$' \
| grep -v '^--info$' \ | grep -v '^--info$' \
| grep -v '^--json$' \ | grep -v '^--json$' \
| grep -v '^--keep-last$' \
| grep -v '^--list$' \ | grep -v '^--list$' \
| grep -v '^--nobsdflags$' \ | grep -v '^--nobsdflags$' \
| grep -v '^--pattern$' \ | grep -v '^--pattern$' \

View file

@ -1,7 +1,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
VERSION = '1.2.7.dev0' VERSION = '1.2.7'
setup( setup(