-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check module compatibility on install #502
Comments
hmm... so, we should do some matching, extract numbers... or the modules need to be updated, at least in this respect. Sometimes a clear cut is better than many workarounds |
I agree, Martin. Something like: or for "from to" checks maybe something like:
alternative syntax for the above: That's just a first thought I have how it could be approached. Most of WBCE modules won't work with Forks anyways... |
For compatibility checks, there's precheck.php. |
but the other way round... several older WB modules which don't use newer special features from one or the other code base still work with WBCE - at least up to now. I try to keep the modules that I maintain compatible with both solutions. Actually, so far it wasn't too much work - just a few |
Yes, you're right WebBird. In any event, for me personally it's low priority atm. |
Each info.php of a module has a value $module_platform. But actually this value is currently not used. So even if the value of $module_platform is set to 2.0.0, the module can be installed in lower WBCE versions. Instead, the installation process should be halted and a warning / error message should appear.
Issue about this: the (sub-)versoin has to be given in exact syntax and there's no way to define a minimum and a maximum version, so this needs some more overthinking...
The text was updated successfully, but these errors were encountered: