-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update 0002-release-schedule.md regarding PHP engine changes #12
base: main
Are you sure you want to change the base?
Conversation
I prefer the release schedule as is because:
But I won't block this PR. |
O/c it should not be discarded! Recently I have backported Contacts-Form formkey. There is an open PR for the RWD-changes. OpenMage/magento-lts#4267. There is https://github.com/sreichel/openmage-bc-mysql4-classes for the removed mysql4-classes. All changes made to admin-theme (remove prototype.js) could be ported 1:1. (i'd not care abot BC here). But there are also changes that need to be reviewd/rewrote .... |
Thats why i use DDEV. To make sure local version matches production/staging. This shouls make "ignore-platform" obselete? |
We have a different workflow, not sure how DDEV can be incorporated. Anyway, OpenMage should accommodate different update workflows. Again, it's just my personal preference to not change. |
I think using |
Why? :) Looks like https://docs.openmage.org/developers/tools/ddev/ misses the most important. The Maybe you can explain your workflow? For me
name: my-new-project
type: magento
docroot: ""
php_version: "7.4"
webserver_type: nginx-fpm
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
type: mariadb
version: "10.4"
use_dns_when_possible: true
composer_version: "2"
|
In the case of the demo instance, I was running into errors on Github Actions and just wanted to get the OpenMage code updated - I knew what version I wanted, but as I was using my native "php", I was getting errors due to various PHP extensions not being installed. So, I used Normally, I use Docker, so my local environment is the same as the remote, but for anyone not using Docker (or by extension DDEV), changing PHP versions is a PITA and not everyone is a composer expert. I agree that everyone (including me 😨) should use containers all the time.. I went for years without installing php on my dev machine, I think I eventually had to install it to use some IDE I was trying out.. then I occasionally used local composer instead of installing composer in containers.. that led me to this mistake. Surely I'm not the only one that will be bitten by this kind of error, but as it is already out of our control, I think that's a risk we don't need to protect users from. So @kiatng I think for your workflow, the solution is to make sure that your I get the argument that v20=PHP7, v21=PHP8, etc.is easy to remember, but I think this is the "old" way and we need to let it go and let composer manage the dependencies because that is exactly what it was built for as long as knuckleheads like me use it properly. :) |
@kiatng another issue with matching PHP versions is that it requires our schedule to be in sync with theirs to a large degree, which in practice will mean that we just skip or delay major version upgrades for the sake of avoiding new major version numbers.. I think as long as we announce the dropping of older PHP versions in the release notes it will work out well for everyone: free to update at any time, stores not broken by "composer update" (unless they are using Composer wrong), no overhead for us to manage new major versions. Example:
|
See discussion here