-
-
Notifications
You must be signed in to change notification settings - Fork 529
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: Dropping support for SQL Server in 3.0 [accepted] #15540
Comments
This comment has been minimized.
This comment has been minimized.
MODX needs to be cleaned of unused code for a long time. |
It's not technically unused code if it's officially a supported feature though. ;) Hence proposing we drop it as a feature and get rid of it. |
And what about PostgreSQL support. that would be a good innovation. |
Postgres is not at all the question of this RFC. If you want to propose making that a core feature, then please open a separate issue to discuss that and to figure out what that would take to make happen. All I want to know in this issue from contributors and the wider community if they agree with the proposal to no longer support sqlsrv from 3.0 onwards or if there are important reasons to keep it that I'm missing. I'm assuming 👍 and 🚀 responses to the opening post are votes in favor making it unanimous so far, but it has obviously only been 21 hours, so want to give more people the time to respond. |
Fine with me. |
Sounds like a good idea to me! |
We have in code a lot of technical debt, and such things as |
Yes, I'd agree. I've not come across a need for sqlsrv support. I'd venture to guess that the open source audience that modx attracts overwhelmingly develops on the unix rather than windows platform. |
@Mark-H I think we can move forward with this! |
How are we going to convert such RFCs to a solution or a made decision? |
I hereby decree, without any particular power vested in me by anyone and definitely without any legal prejudice or authority, that the community and a sufficiently large set of active contributors have voted unanimously to drop support for sqlsrv in MODX 3 as proposed. @alroniks How's that? 😄 -- Next step is obviously to work on actually removing it and making sure this is documented and well-communicated. I personally wont have time right away due to the bunch of security reports that came in over the past few days (all time I get for OS work, which is limited, will have to go into that first), but some initial thoughts on what now needs to be done:
@opengeek Do you have anything to add I may have forgotten about? |
Just get rid of MSSQL support, I doubt it'd be fully functional right now anyway ... I don't think the sqlsrv stuff has been maintained for a while now. That's MHO. |
Absolutely totally acceptable :) |
I will handle this during the next few weeks if nobody does mind. |
Done #15761 |
Not all points from #15540 (comment) resolved. Please, don't close until it will be done. |
If we add something like this in 2.x it means people need to update to a 2.x version where this is included first before updating to 3.x. Wouldn't it be better to have an extra that checks if you can upgrade your current 2.x install to 3.x? Or do both?
What if they can't switch database engines? If you're in the process of upgrading MODX there is, unless you have a backup, no return because you copy the new files and replace the old ones. If you can't finish the upgrade procedure you end up with a broken install. |
Spent some time today on docs and posted about it on MODX.today, so getting closer to close this issue. What's still needed (IMO) is 2 things:
Could someone help with those changes? Shouldn't be a massive change but especially the setup bit might be a bit of digging to find the right place that has access to the current config and can still halt early.
Not sure if people who don't update to the most recent 2.x version would realise there's an extra to check their 3.0 readiness.. I'm not against an extra being made that can help people determine what they'll need to change, but that should not replace the core checking its own requirements IMO. |
In setup the first step is to select the language, then you get to the next part where you can set/adjust the configuration key used for the setup. The next step is "options" here you can select what you want to do; New Installation, Upgrade Existing Install, Advanced Upgrade Install. revolution/setup/templates/options.tpl Line 26 in e98caa9
In the options controller the
I propose to create a new constant We should make users aware they can't use "New Installation" or "Upgrade Existing Installation" if the install mode is equal to If a user already migrated from SQL Server to a MySQL database they might want to use "Advanced Upgrade Install" to edit the database config. |
Request for comment
Background
For as long as I can remember, Revolution has supported an
sqlsrv
driver which allows it to be installed natively on windows servers using a Microsoft SQL Server rather than MySQL.In that same time span, I've probably encountered like... 4 installations actually using MODX on
sqlsrv
, the latest being this thread on the forum last week where a user was trying to figure out why extras wouldn't show up, which is because those extras do not support (or do not claim to support) thesqlsrv
driver.Proposal
Given...
... I'd like to invite feedback on dropping sqlsrv support entirely from MODX as of a future major release.
That future major release could very well be 3.0 if there's a clear consensus ahead of beta. That would still give enough time to cleanup the core, update the documentation, etc.
My opinion
Properly supporting sqlsrv would require a much more intensive effort from the entire community (integrators, contributors, and extras developers) to consistently test and making sure MODX and extras operate as they should on sqlsrv.
I do not believe that effort is worth it given the lack of users, so we might as well just stop pretending it's equally supported as mysql and drop sqlsrv support as of 3.0.
The text was updated successfully, but these errors were encountered: