#2157 - Integrate into upgrader

Identifier #2157
Issue type Feature request or suggestion
Title Integrate into upgrader
Status Open
Handling member Deleted
Addon Upgrader bindings
Description For any themes being upgraded, the upgrader needs to apply any data/theme_patches/<version>.json files between the version subsequent to the version upgrading from to the version it is upgrading to.

E.g. imagine we are upgrading to version 11.3.2 and have themes installed as follows:
bob (for 11.3.1)
sue (for 11.2.6)
Imagine that the versions went 11.2.6 < 11.2.7 < 11.3.0 < 11.3.1 < 11.3.2

We would apply patches as follows:
bob: 11.3.2
sue 11.2.7
sue 11.3.0
sue 11.3.1
sue 11.3.2

Actually it's done per-file, not per-theme, but you get the point. Theoretically 2 files in a theme may be sourced from 2 different versions.

Note how we are doing this within a theme upgrade step. Currently the upgrader has a theme upgrade step with hard-coded operations, which we frankly have not had time to maintain. So we are plugging the Convertr engine in at this point.

Any existing theme upgrade code in the upgrader (e.g. trying to apply diffs using .editfrom files) should be totally removed in deference to our new system.
Steps to reproduce

Related to

#2162 - Show changes made

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated