[pbs-devel] [PATCH proxmox-backup v2 0/7] Add Prune Options to Sync Jobs

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 30 17:23:23 CET 2022


Am 30/11/2022 um 16:00 schrieb Stefan Hanreich:
> This patch adds the possibility of configuring prune options for sync jobs. This
> runs a prune job after a successful sync job that prunes the backup groups that
> got synced by the respective sync job (meaning this respects group-filter,
> max-depth, target namespace and so on).

Why? Ain't the existing prune job and their flexible schedules enough? Why
should one conflate syncing with pruning? Isn't that just complicating things
(many interfaces that can do everything of other interfaces).

Am 30/11/2022 um 16:00 schrieb Stefan Hanreich:
>   Add KeepOptions parameters to pull & sync-job
>   refactor prune.rs - add PruneJob struct for handling prune jobs
>   Add pruning parameters to the pull command
>   use new PruneJob in prune command
>   use new PruneJob struct in Prune Jobs implementation
>   add KeepOptions to Web UI of Sync Jobs
>   Add documentation for prune options in Sync Jobs

having a lot of changelogs written, especially recently the lacks of human
readable tags (e.g., "docs:", "ui:" "sync job:", ...) and mixed casing stuck
quite out, even much more so the use of filenames in commit subjects which I
already pointed out quite directly and visible as being useless and annoying.
Structs are not always as worse, but not very often _that_ useful either for
skimming a bigger git log or assembling change somewhat meaningful logs.








More information about the pbs-devel mailing list