all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH v2 proxmox-backup 0/3] close #3459: add --ignore-verified and --outdated-after to CLI and api2
@ 2021-06-22  7:56 Hannes Laimer
  2021-06-22  7:56 ` [pbs-devel] [PATCH v2 proxmox-backup 1/3] close #3459: verify-job: move snapshot filter into function Hannes Laimer
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Hannes Laimer @ 2021-06-22  7:56 UTC (permalink / raw)
  To: pbs-devel

v2, based on Dominik Csapak <d.csapak@proxmox.com>'s feedback:
 - new function is now the filter, instead of returning a closure
 - used extract_output_format in the binary


Moved the snapshot filter into a function, so verify jobs and 
the datastore verify endpoint don't have duplicated code. Also adds
--ignore-verified and --outdated-after to the CLI and api2 endpoint for
verifing datastores.
It might make sense to also make those option avaiable in the WebUI.

Hannes Laimer (3):
  close #3459: verify-job: move snapshot filter into function
  close #3459: api2: add ignore-verified and outdated-after to datastore
    verify endpoint
  close: #3459: manager_bin: add --ignore-verified and --outdated-after
    parameters

 src/api2/admin/datastore.rs       | 28 +++++++++++++++++++++++---
 src/backup/verify.rs              | 27 +++++++++++++++++++++++++
 src/bin/proxmox-backup-manager.rs | 14 ++++++++++---
 src/server/verify_job.rs          | 33 +++++++++----------------------
 4 files changed, 72 insertions(+), 30 deletions(-)

-- 
2.20.1





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-28  9:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  7:56 [pbs-devel] [PATCH v2 proxmox-backup 0/3] close #3459: add --ignore-verified and --outdated-after to CLI and api2 Hannes Laimer
2021-06-22  7:56 ` [pbs-devel] [PATCH v2 proxmox-backup 1/3] close #3459: verify-job: move snapshot filter into function Hannes Laimer
2021-06-22  9:56   ` Thomas Lamprecht
2021-06-22  7:56 ` [pbs-devel] [PATCH v2 proxmox-backup 2/3] close #3459: api2: add ignore-verified and outdated-after to datastore verify endpoint Hannes Laimer
2021-06-22  7:56 ` [pbs-devel] [PATCH v2 proxmox-backup 3/3] close #3459: manager_bin: add --ignore-verified and --outdated-after parameters Hannes Laimer
2021-06-25 11:13 ` [pbs-devel] [PATCH v2 proxmox-backup 0/3] close #3459: add --ignore-verified and --outdated-after to CLI and api2 Dominik Csapak
2021-06-28  9:29 ` [pbs-devel] applied-series: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal