cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
43 stars 29 forks source link

Do not block on dropped PHP packages if no domains use them #427

Closed cPholloway closed 2 months ago

cPholloway commented 3 months ago

Case RE-313: Currently, the EA4 blocker will block if there are any packages that will be dropped (not provided on the newer OS) during the elevation. This change teaches the blocker to check to see if any domains are using the installed version of PHP. If there are no domains using the version of PHP that will be dropped, then we no longer block for that version of PHP and allow the elevation to continue if that was the only thing blocking it.

Changelog:

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf

timmullin commented 3 months ago

This pull request is getting this particular failure: not ok 50 - Elevate::EA4 is fatpack'd in elevate-cpanel script

cPholloway commented 2 months ago

This pull request is getting this particular failure: not ok 50 - Elevate::EA4 is fatpack'd in elevate-cpanel script

I'm not too surprised that the CI is failing on this. I did not update elevate-cpanel in this PR since this is going to a feature branch. I will ensure the CI passes when I work on RE-330