28514[TASK] Simplify complexity of core updater
Commit message
Review
-
Code review CR 0
-
Verified V 0
Issues 1
Files 12
- typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.phpdeleted+0 −96
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdate.php1new+279 −0
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateActivate.phpdeleted+0 −44
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateCheckPreConditions.phpdeleted+0 −44
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateDownload.phpdeleted+0 −45
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateIsUpdateAvailable.phpdeleted+0 −99
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateMove.phpdeleted+0 −44
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateUnpack.phpdeleted+0 −44
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateUpdateVersionMatrix.phpdeleted+0 −44
- typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateVerifyChecksum.phpdeleted+0 −46
- typo3/sysext/install/Classes/Controller/AjaxController.php+1 −8
- typo3/sysext/install/Resources/Public/Javascript/Install.js+34 −23
Review log 12
-
Mr. Jenkins commented on patch set 1 03/19/14, 00:19
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/15306/ : SUCCESS -
Markus Klein voted on patch set 1 V -1 03/19/14, 00:19
-
Markus Klein uploaded patch set 2 03/19/14, 00:58
-
Mr. Jenkins commented on patch set 2 03/19/14, 01:13
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/15307/ : SUCCESS -
Christian Kuhn commented on patch set 2 03/19/14, 07:40
CoreUpdate.php:93possible security issue? please sanitize this better, currently this could can call every method of the class that is given by _get, it should be restricted to the ones that are explicitly allowed. -
Markus Klein uploaded patch set 3 03/19/14, 15:57
-
Mr. Jenkins commented on patch set 3 03/19/14, 16:10
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/15334/ : SUCCESS -
Wouter Wolters voted on patch set 3 CR +1 03/19/14, 18:38
-
Christian Kuhn commented on patch set 3 03/20/14, 20:50
yeah, well ... this somehow makes the new class a sub-dispatcher ... i'm not really sure if i'm happy with that. what do others say here? -
Helmut Hummel commented on patch set 3 CR -2 03/20/14, 20:58
Sorry I really do not see any benefit in changing this. The architecture of the new install tool is that every action is one class (in contrast to Flow or Extbase where a controller combines many actions). While this might look like an overhead, this architecture has several benefits when it comes to different needs (dependencies) for different actions. While this is not completely true (different dependencies) in this very case, it still is inconsistent regarding all other actions in the install tool. Besides that, small classes with few responsibilities is something to strive for, not a "waste of disc space" -
Christian Kuhn commented on patch set 3 CR -1 03/20/14, 21:01
have the same gut feeling as helmut, imho we should abandon this approach. -
Markus Klein abandoned the change 03/21/14, 02:16
Just made that patch as Christian and I were talking about it a bit. So not a big deal. @Helmut: In general many small files are a very large waste of disk space. Current master (without .git) has 57 MB but occupies 84 MB on disk!! (HDD with NTFS) That's 50% wasted.