WoltLab/WCF — Issue #497: PackageUtil
Author: Gravatronics
Created: 2012-03-04 17:08:58+00:00
State: open

What do you think about moving the following methods into (a new class) `wcf\system\PackageUtil`:

* `getAbbreviation()`
* `isValidPackageName()`
* `checkFromversion()`
* `compareVersion()`
* `formatVersionForCompare()`
* `rebuildPackageRequirementMap()`
* `rebuildPackageDependencies()`
* `writeConfigFile()`
* `rebuildParentPackageDependencies()`
* `getPluginList()` (may-be better called `getApplicationPluginList()` or `getActiveApplicationPluginList()`)

This way, the real package class wouldn't be cluttered with static methods and this split would be equivalent to the one related to users (c.f. `wcf\system\UserUtil`)