[pve-devel] [PATCH v4 manager 4/4] ui: storage backup view: add prune window

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 23 07:08:54 CET 2020


On 18.11.20 11:04, Fabian Ebner wrote:
> adapted from PBS. Main differences are:
>     * loading of the prune-backups options from the storage configuration if
>       configured
>     * API has GET/DELETE distinction instead of 'dry-run'
>     * API expects a single property string for the prune options
> 
> Also, had to change the clear trigger, because now there can be original
> values (from the storage config), but it doesn't really make sense to
> reset to that value when clearing, so always set to 'null' when clearing
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes from v3:
>     * don't use grouping headers with a prune button. Instead use a button in
>       the toolbar which displays the group to be pruned
>     * always use 'lxc' and 'qemu' as backup types (which the PVE API expects) instead
>       of 'VM' and 'CT' as types, to avoid some conversion
> 

I added the keep input field and a prune keep panel to proxmox-widget-toolkit,
so at least the input field should be reusable here.






More information about the pve-devel mailing list