[pmg-devel] applied: [PATCH pmg-api 3/4] report: skip irrelevant files in /etc/pmg/templates

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jul 11 17:20:45 CEST 2023


Am 07/07/2023 um 18:54 schrieb Stoiko Ivanov:
> This patch removes:
> * templates which have no changes to the ones in
>   /var/lib/pmg/templates
> * files generated by ucf
> 
> from the report. Unmodified files are reported, so that the user can
> remove them.
> 
> This should make providing support a bit easier - as currenlty I'd
> copy each template from the report to `diff` it with the version in
> the package, for finding out if there is something relevant.
> 
> the new dump_template sub was copied from dir_to_text, in order to
> explicitly write which files are skipped.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PMG/Report.pm | 26 +++++++++++++++++++++++++-
>  1 file changed, 25 insertions(+), 1 deletion(-)
> 
>

applied, but merged in the relevant part from patch 1 directly, thanks!




More information about the pmg-devel mailing list