[commits] [Wiki] changed: Doc/Dev/ConversionH6
Ralf Lang (B1 Systems GmbH)
lang at b1-systems.de
Fri Nov 19 16:44:04 UTC 2021
rlang Fri, 19 Nov 2021 16:44:04 +0000
Modified page: https://wiki.horde.org/Doc/Dev/ConversionH6
New Revision: 7
Change log: Move up conversion status table
@@ -3,5 +3,29 @@
These are by far not complete.
+
++ Conversion Status
+
+||~ Package ||~ Strategy ||~ Unit Tests ||~ PHPStan ||~ PHP 8 ||~
Comments/Upgrade path ||
+|| horde/components || Wrapper || 9.4, Story tests broken || ? || ?
|| Lots of new features related to git, composer and workflows. Still
maintains package.xml and requires it in some places ||
+|| horde/horde-installer-plugin|| Modern || 9.4, very limited ||
Level 8 || Yes || Handles all the horde setup stuff, symlinks,
workaround configs etc ||
+|| horde/horde-deployment|| Modern || n/a || n/a || Yes || The base
project for a horde installation with default dir tree - Branches
reflect bundles ||
+|| horde/http_server || Modern || 9.4 || Level 2 || yes || Successor
to horde/controller ||
+|| horde/http || Parallel || 9.4 || Level 2 || yes || Major BC
breaks. Implementation based on PSR-7, PSR-18 ||
+|| horde/injector || Wrapper || 9.4 || Level 2 || ? || Carefully
added signatures, limited BC breaks for child injectors. Now PSR-11 ||
+|| horde/controller || Keep || 9.4 || ? || ? || Only added
namespaced wrapper code for interop with horde/http_server and PSR-7 ||
+|| horde/stream_wrapper || Parallel || 9.4 || Level 8 || yes || Class
names have Wrapper appended to make sense when USEd ||
+|| horde/util || Parallel || 9.4 || Level 0 || yes || Slightly
renamed classes and typing upgrades ||
+|| horde/support|| Parallel || 9.4 || Level 1 || yes || Slightly
renamed classes and typing upgrades ||
+|| horde/compress_fast || Parallel || 9.4 || Level 1 fails due to
reliance on horde-specific extension || yes || Straight ||
+|| horde/mongo || Parallel || 9.4 || Level 1 || yes || Removed
support for the older extension - Still using the compat library even
though it makes little sense by now ||
+|| horde/cli || Parallel || 9.4 || Level 1 fails || yes || straight ||
+|| horde/memcache || Parallel || 9.4, started minimal test suite ||
Level 4 || yes || straight ||
+|| horde/cache || Parallel || 9.4, started minimal test suite ||
Level 1 || yes || Dropped some dead in-memory caches ||
+|| horde/test || Parallel || 9.4, started minimal test suite || Level
1 || yes || straight ||
+|| horde/routes || Parallel || 9.4 || Level 1 || yes || straight ||
+
+
+
++ Library strategies
@@ -179,12 +203,12 @@
* ?
* for $__autoload
-+++ Mandatory
-
-* Namespaced Classes which are not in the whitelist must get the
listed globals from constructor or method parameter
-
++++ Mandatory
+
+* Namespaced Classes which are not in the whitelist must get the
listed globals from constructor or method parameter
+
+++ Optional
* Factories SHOULD use constructor/setter parameters rather than
globals if possible.
@@ -253,12 +277,12 @@
++ reqire/require_once, Horde\Autoloader and Composer Autoloader
+++ Required
-
+
* include, require and require_once should only ever happen to setup
autoloading or as part of the autoloader or related to non-php code
(templates, data)
* make all explicit require/require_once check if the required class
is already available for loading.
-
+
* At least for now, we should not drop Horde\Autoloader
* Horde\Autoloader must always act AFTER the composer autoloader, not first
+++ Optional
@@ -268,30 +292,8 @@
+++ UNCLEAR
* Do we still want to support git-tools setups?
* I have implemented some basic git handling in components now.
-
-
-+ Conversion Status
-
-||~ Package ||~ Strategy ||~ Unit Tests ||~ PHPStan ||~ PHP 8 ||~
Comments/Upgrade path ||
-|| horde/components || Wrapper || 9.4, Story tests broken || ? || ?
|| Lots of new features related to git, composer and workflows. Still
maintains package.xml and requires it in some places ||
-|| horde/horde-installer-plugin|| Modern || 9.4, very limited ||
Level 8 || Yes || Handles all the horde setup stuff, symlinks,
workaround configs etc ||
-|| horde/horde-deployment|| Modern || n/a || n/a || Yes || The base
project for a horde installation with default dir tree - Branches
reflect bundles ||
-|| horde/http_server || Modern || 9.4 || Level 2 || yes || Successor
to horde/controller ||
-|| horde/http || Parallel || 9.4 || Level 2 || yes || Major BC
breaks. Implementation based on PSR-7, PSR-18 ||
-|| horde/injector || Wrapper || 9.4 || Level 2 || ? || Carefully
added signatures, limited BC breaks for child injectors. Now PSR-11 ||
-|| horde/controller || Keep || 9.4 || ? || ? || Only added
namespaced wrapper code for interop with horde/http_server and PSR-7 ||
-|| horde/stream_wrapper || Parallel || 9.4 || Level 8 || yes || Class
names have Wrapper appended to make sense when USEd ||
-|| horde/util || Parallel || 9.4 || Level 0 || yes || Slightly
renamed classes and typing upgrades ||
-|| horde/support|| Parallel || 9.4 || Level 1 || yes || Slightly
renamed classes and typing upgrades ||
-|| horde/compress_fast || Parallel || 9.4 || Level 1 fails due to
reliance on horde-specific extension || yes || Straight ||
-|| horde/mongo || Parallel || 9.4 || Level 1 || yes || Removed
support for the older extension - Still using the compat library even
though it makes little sense by now ||
-|| horde/cli || Parallel || 9.4 || Level 1 fails || yes || straight ||
-|| horde/memcache || Parallel || 9.4, started minimal test suite ||
Level 4 || yes || straight ||
-|| horde/cache || Parallel || 9.4, started minimal test suite ||
Level 1 || yes || Dropped some dead in-memory caches ||
-|| horde/test || Parallel || 9.4, started minimal test suite || Level
1 || yes || straight ||
-|| horde/routes || Parallel || 9.4 || Level 1 || yes || straight ||
More information about the commits
mailing list