[pmg-devel] [PATCH pmg-api 0/4] add notification about unmodified template-overrides

Stoiko Ivanov s.ivanov at proxmox.com
Fri Jul 7 18:54:24 CEST 2023


This patch series adds functionality to notify users and our support about
templates copied to /etc/pmg/templates, without any changes.

While I thought initially that this could lead to actual issues (as the
unmodified templates from an old version mask the changes we provide in
the package) - this is luckily handled gracefully by ucf (which simply
overwrites the unmodified version in /etc/pmg/templates, by the new one in
/var/lib/pmg/templates.)

The merit of the series is (at least) that it should now be easier to see
actually relevant changes in the templates in our support-channels
(through the updated report).

if applied - it would make sense to also apply this to stable-7

Stoiko Ivanov (4):
  utils: add helper for unmodified templates
  pmg7to8: notify about unmodified templates
  report: skip irrelevant files in /etc/pmg/templates
  report: group use statements

 src/PMG/CLI/pmg7to8.pm |  6 ++++++
 src/PMG/Report.pm      | 28 ++++++++++++++++++++++++++--
 src/PMG/Utils.pm       | 20 ++++++++++++++++++++
 3 files changed, 52 insertions(+), 2 deletions(-)

-- 
2.39.2





More information about the pmg-devel mailing list