[MGNLSTK-1012] Update Pom dependency & Version Handler in order to use the new migration process Created: 18/Oct/12 Updated: 02/Dec/12 Resolved: 30/Nov/12 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 2.0.6 |
| Fix Version/s: | 2.0.7 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Eric Hechinger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
Add dependency on the POM to the migration module (STK only as demo project bootstrap new content). Create a new version handling task in order to migrate configuration (STK). Adapt the Parent pom in order to use the correct version of depending modules also touched by the migration. |
| Comments |
| Comment by Jan Haderka [ 26/Nov/12 ] |
|
STK pom + <version>1.2.0-SNAPSHOT</version> please do not use trailing zero in version number. We always skipped those in the past. Starting to introduce them now causes issues when resolving dependencies during release. Update task for version 2.0 was added in version 2.0.7 - if someone updates from some version in between, task will be never executed. Is this correct? If so it should be explained in the ticket. Also think of a combination when someone tries to install this version with old version of migration module - i think it will produce conflict and as such should be either checked via install condition or via declared dependency in module descriptor. Lots of bootstrap files were added, but do not seem to be loaded during update. Are they really necessary only on installation and all changes introduced in those files are handled by StkMigrationTask? |
| Comment by Jan Haderka [ 26/Nov/12 ] |
|
btw, port to 2.5 (master) branch is missing. |
| Comment by Eric Hechinger [ 30/Nov/12 ] |
|
Dependency to the migration module was changed (in the module descriptor) to enforce dependency to migration module 1.2 in case of installation of STK 2.0.7. Add a migration task in the version handler in order to migrate the STK module from 4.4.6 to 4.5.7 and higher. If a Magnolia instance is updated from 4.4.6 to 4.5.7, the version handler (DeltaBuilder.update("2.0.0", "")) will take care of the migration of the module. |
| Comment by Eric Hechinger [ 30/Nov/12 ] |
|
Same changes are performed to master ( |