[MGNLSTK-709] Update and install mechanism for javascrips for 1.4 (refactoring of old components) Created: 18/Nov/10  Updated: 03/Dec/10  Resolved: 18/Nov/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.4

Type: Improvement Priority: Major
Reporter: Christian Ringele Assignee: Christian Ringele
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

In the past the class InstallJavascriptsTask was used for installing all JS.
In 1.2 it was 'miss'used to update them too.
The drawback of this was, that possible changes within the JSs would just be overwritten.
On the other hand subclassing this class for all new STK version lead to impossibility to see the deltas in between versions.

New mechanism:
JavascriptsVersionsMap -> hold now all the scripts-versions (not InstallJavascriptsTask anymore) for all version ever.
InstallJavascriptsTask -> only used for installs and not delta updates.
UpdateJavascriptsTask -> used for updating all JSs in between two versions. (backups and removes old scripts)
UpdateSingleJavascriptTask -> used for updating a single JS or installing a new one for delta update tasks. (backups and removes old script)



 Comments   
Comment by Christian Ringele [ 18/Nov/10 ]

Finished with commit 39296

Generated at Mon Feb 12 07:29:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.