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
Php 386 [& php-stem with PHP 7.4+ prep?] #2349
Conversation
ignore_errors has been used 20 to 30 times, so not sure why this one is offensive. I like moving the link creation to the same place where the .so is put in place, but the current logic of trying to have a when that catches all exceptions is less flexible and more fragile. It would not work for the case where we had .so for php-7.4 only for one arch. |
Once the .so files are available for 7.4 the version test I trust would be removed in main.yml and in it's place suitable stanzas to exclude arches that are not supported would be inserted in php-stem.yml to suppress the creation of the symlink. What we gain is current users who are now excluded because 7.4 would only need to git pull runrole www_base to add the .so file and create the needed link as opposed to having to iiab-install --reinstall with having the split locations of unpacking the tar file in php-stem and creating the link in nginx. I'll rework this PR to a final layout for right now and future availablility. |
no. it will be changed to <7.5
yes. I agreed to putting the link with the ini and so. |
See the proposed "Uncomment and alter to suit current supported arches" |
there are still 7.2s out there |
the 3 supported arches? |
only x64 and armv7l I think |
I went with x64 only as ubuntu-18.yml lists 7.2 and is the only 7.2 available on d.iiab.io |
@tim-moody what's your summary recommendation, towards merging this PR or something like it, for IIAB 7.1 in coming days? Related: #829 "Is Spanish WikiHow's search fixable? (works on RACHEL site!)" |
@tim-moody can you review this in the coming 24h if possible? |
with the current code there is no need to make changes if we get another version of phpx.x-stem, but in order for someone who has an earlier version to upgrade two roles will have to be run. with this PR only one role will have to be run to upgrade, but it will be necessary to change the code each time there is a new version of phpx.x-stem. it's pretty much personal preference. my views were expressed above and I no longer wish to discuss this. please do as you see fit. |
@georgejhunt got time to look at this quickly today? There's never a magical answer to code maintainability, but let's pick a way forward here together if possible~ |
See #2347 (comment) thanks to @tim-moody:
|
We're wanting http://d.iiab.io/packages/php7.4-stem.aarch64.tar installed on Ubuntu 20.04 e.g. on RPi (that contains PHP 7.4). However current master does not work:
I'd really like to solve this today so we can move on and release IIAB 7.1 with search working for WikiHow across OS's if possible, by merging this PR or another compromise PR that moves us forward. @georgejhunt & All can you possibly help? |
so merge this and see if you have better luck. |
Thanks everyone for the hard work + patience over these past 9 days! |
Fix PR #2349 stem / WikiHow search: move www_base below nginx (in 3-base-server)
Fixes Bug
avoids using ignore_errors: yes
Description of changes proposed in this pull request.
better grouping, moves the creation of the stem.ini link to be with the installation of the tar file
Smoke-tested in operating system.
lightly tested on U-20
Mention a team member for further information or comment using @ name