Overwriting policy in upgrading

Cantor, Scott cantor.2 at osu.edu
Fri Dec 16 13:53:49 EST 2016


On 12/16/16, 1:47 PM, "users on behalf of Takeshi NISHIMURA" <users-bounces at shibboleth.net on behalf of takeshi at nii.ac.jp> wrote:

> I saw the upgrade process never overwriting unmodified configuration files too, e.g. services.xml.
>    Is it intended? Isn't it safe to overwrite such files mechanically?

It's safe, but this isn't an RPM package, we have no way to do it. And it doesn't change what we can do since we can't ever count on it actually happening, so it doesn't affect any of our decisions or strategies for making changes.

If there's an ant hook for doing this automatically we could probably look at it, but it's a lot of work in a fragile area of the system for little benefit. It would probably be more likely we could cook up a shell script that could run diffs and do some of this after updating for people that wanted it. Or maybe somebody else has one already.
 
-- Scott




More information about the users mailing list