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

Scott Silva ssilva at sgvwater.com
Fri Jul 17 17:05:32 BST 2020


Is there a way for your upgrade script to mention these files if it finds them?
Not necessarily fix them, but say they are there, and pause for acknowledgement to “remind” people…


From: ZendTo <zendto-bounces at zend.to> On Behalf Of Jules via ZendTo
Sent: Friday, July 17, 2020 9:00 AM
To: ZendTo Users <zendto at zend.to>
Cc: Jules <Jules at Zend.To>
Subject: [ZendTo] Potential change to RPM packaging — good/bad idea?

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<http://www.Zend.To>

Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200717/694a6391/attachment-0001.html>


More information about the ZendTo mailing list