devonfw / cobigen

Code-based Incremental Generator
Apache License 2.0
35 stars 70 forks source link

1595 extend uprader to upgrade from monolithic structure to template set.xml #1610

Closed quantumfate closed 1 year ago

quantumfate commented 2 years ago

Adresses/Fixes #1595 .

Implements

@devonfw/cobigen

Lur1an commented 2 years ago

The current implementation (on this branch) extends the upgrade function from V2.1 to V3 and directly generates a template-set.xml (V6) and skips the new context.xml generation. In doing so it breaks a lot of core code that expects new context.xml files from the upgrade.

I suggest to integrate this upgrader by skipping the V3 upgrade altogether and go directly from V2.1 Monolithic context.xml to template-sets.xml V6. This will require reworking the AbstractConfigurationUpgrader and related classes/methods.

Hint:

@jan-vcapgemini