-
Notifications
You must be signed in to change notification settings - Fork 823
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
RFC: Adopt an official Symfony support policy #10220
Comments
@silverstripe/core-team Any views on this? The proposed policy is just what pop into my mind after a full ten minutes of thinking about it, so I'm not overly protective about it. |
Based on the symfony support timeline, the MVP is to just change this sort of thing from to just Then, based on how different the API is, pop in Given the good level of unit test coverage we have now, we should be able to run 5.4 + 6.0 through a recipe-kitchen-sink CI run to get a decent level of confidence that things either work out of the box or don't. It should simply be a matter of adding a bunch of aliases in kitchen-sinks composer.json on a fork PR e.g. |
@silverstripe/core-team We're looking at upgrading our Symfony constraints in the 4.12 release (that might be release sometime in Sept/Oct). Having consensus on this RFC would be helpful. Could you answer those questions:
|
I'm not strictly against a policy, though not having one allows us the flexibility to do these things as/when we can/need to. Simply from that perspective, I wouldn't adopt one. Having one forces more work upon the team. On the other hand, though, it makes Silverstripe CMS as a product more dependable and professional. 50/50 from me. |
I'm not too phased by the extra work, so far my experience with symfony has been it's quite easy to adopt new majors because they don't do too much BC changes between majors. Even it if turns out to be a fair bit of work, I see adoption of 'more symfony' as desirable and worthwhile. I read the work here as:
+1 for me |
I'm okay with this |
In a way, having an actual policy would be less work because we wouldn't have to argue about how we handle various scenario and we wouldn't have to worry about breaking things for people who want to use Symfony version outside of our policy. |
the number of combinations that you might want to support could quickly make running tests a nightmare though - @emteknetnz in your example of running tests against both Or am I mis-understanding your suggestion there? Are you just saying there would be (e.g) two runs only - a run of every module at I'm generally in support if you think it will lower the effort, but I do wonder what happens when new symfony major versions come out - do we then violate our policies until we upgrade everything? Feels like it could hit at inconvenient times and mess with the release cycle/cadence. |
Might need to read the fine print of Symfony support policy. At first glance, it looks like the x.4 minor is the last minor for each major release line and becomes the LTS version. So if we were to support ^6.0 for example, we're implicitly support v6.4LTS which hasn't been release yet. So maybe the policy should be:
|
This has been made redundant by #10345 |
Our official support policy for Symfony dependencies is kind of a mess:
We also need to consider that many Silverstripe CMS project will also use Symfony for their own purpose and that there's value in supporting multiple release line simultaneously.
Proposed policy
Silverstripe CMS modules that require Symfony dependencies will minimally tracked the latest Symfony LTS release. Where practical, we will allow installation of other Symfony release line. In descending order of priority:
The text was updated successfully, but these errors were encountered: