-
Notifications
You must be signed in to change notification settings - Fork 6
Unpin office hours #243
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
base: 2.x
Are you sure you want to change the base?
Unpin office hours #243
Conversation
Fix #232 Set the minimum version to 1.27 which addresses PHP 8.2 errors.
|
Failing test is PHP 8.4 |
The concern here is that is we force a specific version of a contrib module which has security support, it is going to be difficult for sites to upgrade to security supported versions without using aliases in composer. There might also be other needs to pin to specific versions of office hours that differ from here which will now result in having to pin to previous versions of localgov_paragraphs. Would adding a conflict section to this modules composer.json top indicate the versions that don't work resolve the issue. If we can't trust the module, do we want to start looking at a replacement or fork? |
|
Ref is this the underlying issue https://www.drupal.org/project/office_hours/issues/3514975 |
|
@andybroomfield I think the main problem is that the maintainer keeps adding support for PHP functionality that only exists in PHP 8.4 and only testing in PHP 8.4, which keeps causing repeated issues with users on PHP 8.1, 8.2 and 8.3. I keep meaning to create a PR upstream to add gitlab ci for office_hours so that it will test against older versions of PHP and not just latest. |
|
Is there any possibility of getting this unpinned - v1.27 is not covered by the Drupal security advisory policy |
@AWearring we could discuss unpinning however the point still stands around this comment #243 (comment) where the maintainer could introduce future functionality which breaks PHP 8.1 through to 8.3 again. It's rare that a contrib module is locked to a specific version, the only other case I can think of is search_api_location which is locked due to stability reasons as well. |
Hi @millnut How about pinning it to the latest version for now (v1.28) which will temporarily stop the warnings in Drupal admin? I can raise a PR to do this, if this is agreed - PR created in readiness (#248) |
|
Hi @AWearring yeah I think that is the best approach to this one |
|
Converting this to draft for now. We'll bring it back later. Meanwhile, we can discuss php support here: https://www.drupal.org/project/office_hours/issues/3529359 |
Fix #232
Set the minimum version to 1.27 which addresses PHP 8.2 errors.
What does this change?
Updates office hours version to latest.
How to test
Localgov contact paragraph doesn't break on PHP 8.2
How can we measure success?
It works
Have we considered potential risks?
It doesn't work.
Images
n/a
Accessibility
n/a