Kroc/NoNonsenseForum — Issue #95: Provide an 'upgrade' script to help manage RSS changes from one NNF version to another
Author: Kroc
Created: 2012-01-21 14:54:11+00:00
State: open
Labels: documentation, feature

I tend to side on making big breaking changes rather than maintaining compatibility, on the basis that anybody deploying NNF is going to have basic enough computer skills to follow the changelog and fix up anything required (new config options for example)

One of the biggest issues is content correction, as the threads created on user's forums would not be updated like the code would with a `git pull`. For example, the templating change in v12 highlighted a problem with broken HTML that was being outputted in previous versions of NNF. Forum owners upgrading to v12 therefore have to manually search and replace their RSS to fix this issue.

An upgrade script could do these search and replaces, and whatever changes version upgrades requires that are possible in this manner (no human choices required), automatically.

This is straight forward enough to do. A page needs to be designed that requires the site admin (user no.1 in the global mods list) to provide their password to run the upgrade script.