zrepl/daemon/snapper
Christian Schwarz 3ffb69bfb0 config: support zrepl's day and week units for snapshotting.interval
Originally, I had a patch that would replace all usages of
time.Duration in package config with the new config.Duration
types, but:
1. these are all timeouts/retry intervals that have default values.
   Most users don't touch them, and if they do, they don't need
   day or week units.
2. go-yaml's error reporting for yaml.Unmarshaler is inferior to
   built-in types (line numbers are missing, so the error would not have
   sufficient context)

fixes https://github.com/zrepl/zrepl/issues/486
2022-10-27 00:19:06 +02:00
..
cron_test.go refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00
cron.go snapper: support custom timestamp format 2022-10-27 00:19:06 +02:00
impl.go snapper: support custom timestamp format 2022-10-27 00:19:06 +02:00
manual.go refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00
periodic.go config: support zrepl's day and week units for snapshotting.interval 2022-10-27 00:19:06 +02:00
snapper.go refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00
snapstate_string.go build: drop go Dep, switch to modules, support Go 1.13 2019-09-14 13:36:44 +02:00
state_string.go build: drop go Dep, switch to modules, support Go 1.13 2019-09-14 13:36:44 +02:00
util.go refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00