-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
dev/release#16 - Cleanup empty upgrade steps #19744
Conversation
(Standard links)
|
@totten this needs rebasing now - but it also did not pass my tests - ie I used the sql from the 4.5 tarball and then ran the upgrade & it failed on a missing sql file |
I'm pretty sure the issue I hit would also be covered by the unit tests TBH |
Not blocked anymore - just needs fixing up |
63f3b19
to
50c5323
Compare
@eileenmcnaughton Thanks for that ping. I've rebased now. Additionally, for testing, I used this procedure*
Aside from the |
I don't think I need to re-do those same test steps - I did something similar on the other PR - if this passes let's merge it |
Merging it as per MOP tag |
Overview
Streamline the upgrader by removing a number of empty upgrade steps.
This patch is blocked on the dependency #19743 (which accounts for the first half-dozen commits). It furthers https://lab.civicrm.org/dev/release/-/issues/16.
ping @colemanw
Technical Details
Here was my process:
cd
intoCRM/Upgrade/Incremental/sql
ls -l
on subset of filesrunSql()
step that needs to be disabled.In reviewing the diffs, you should generally see two kinds of changes:
*.mysql.tpl
files are removed -- all of these empty, notwithstanding boilerplate comments.upgrade_X_Y_Z()
functions, calls torunSql()
are commented out. That's because the identified files no longer exist. (One can verify they don't exist by skimming, eg,ls CRM/Upgrade/Incremental/sql/ | sort | grep ^5
)