[ZendTo] Potential change to RPM packaging — good/bad idea?

Jules Jules at Zend.To
Fri Jul 17 16:59:30 BST 2020


Folks,

This only applies to those using the RPM/yum distribution of ZendTo.
It affects people running CentOS or RedHat, for starters.

It does not apply to people running ZendTo on Ubuntu or Debian, for example.

Currently, if you modify a *.tpl file (anything in 
/opt/zendto/templates) and then upgrade:
1. The new version goes in as *.tpl.rpmnew
2. The rpm command tells you this (but it tells you a lot of things very 
fast)
3. You have to go and fix up any customisations, so that the service 
works at all.

What I could change them to is this:
1. The new version goes in as *.tpl and the old modified one is renamed 
to *.tpl.rpmsave
2. The rpm command tells you as before
3. The service works first time, but you then need to re-apply your 
customisations.

Which approach is better?

It's going to be a very noticeable change for any site that regularly 
tweaks any of the *.tpl files.
But I suspect that is a small proportion of sites.

What do you think?

Is this change a good idea or a bad one?

Please let me know!

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'No more impressive warning can be given to those who would confine
  knowledge and rsearch to what is apparently useful, than the
  reflection that conic sections were studied for eighteen hundred
  years merely as an abstract science, without regard to any utility
  other than to satisfy the craving for knowledge on the part of
  mathematicians, and that then at the end of this long period of
  abstract study, they were found to be the necessary key with which
  to attain the knowledge of the most important laws of nature.'
  - Alfred North Whitehead

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200717/96d21b6b/attachment.html>


More information about the ZendTo mailing list