Forum OpenACS Development: Upgrades and package parameter defaults

I want to set different default values for packages
on install and have them stick but currently if you change
a default and then upgrade, the default value from the
new .info file will override your value.

I would like to change it so that the default value is not
changed on upgrade. I see arguments both ways but I think
not changing makes more sense to me.

Anyone have an opinion?

Collapse
Posted by Malte Sussdorff on
Debian's package manager asks me if I want to override my parameters / config files with the new ones provided by the maintainer. Maybe we could add someting like this into our upgrade process as well?

Otherwise the new default should not override whatever parameter you have given.

Collapse
Posted by Dave Bauer on
I think maintaining defaults on upgrade makes sense.

One case I can think of where we might want to replace is if there is no default specified.

I think Malte's idea of asking if the default should be kept is a good idea as well. Right now the installer can't ask questions. I think some sort of callback for that would be nice to have.