Account created on 23 February 2007, about 18 years ago
  • Developer at SkilldΒ  …
#

Merge Requests

More

Recent comments

πŸ‡«πŸ‡·France andypost

updated 8.3 image as contrib module's CI is broken anyway

added to summary https://www.mongodb.com/community/forums/t/php-mongodb-2-0-0-bsonarray-b...

πŸ‡«πŸ‡·France andypost

IIRC the reason to keep only latest image is security because distros getting updates and PHP has monthly release cycle, so no reason to bloat storage...

So semver should be local and applicable for nightly somehow

πŸ‡«πŸ‡·France andypost

Creating a database is a nice nitpick, back to RTBC

πŸ‡«πŸ‡·France andypost

Great idea to turn app into context! btw the real problem here is the Request object which could be any flavor (Symfony, Swoole, PSR, ...) so runtime or frontend controller must care about converting incoming request into consumable by core

πŸ‡«πŸ‡·France andypost

Looking at changes I think we need new major (4.x) version

πŸ‡«πŸ‡·France andypost

needs rebase to allow testing php 8.4/8.5 - images are pushed (8.4 at least) https://git.drupalcode.org/project/drupalci_environments/-/jobs/4991982

πŸ‡«πŸ‡·France andypost

pushed to dev upgrade to 8.4 and 8.5

πŸ‡«πŸ‡·France andypost

there's no original file infomation and cropping, it's just input with some image file and output to compare or 2 outputs to compare

πŸ‡«πŸ‡·France andypost

Let's get maintainer's opinion as extending indexes is tricky, moreover this partial indexes are only supported by Mysql

πŸ‡«πŸ‡·France andypost

About skipping it could have option to not convert if size is bigger, which looks counterintuitive...

In perfect world only dimensions probably available but even in AVIF you have a set of images with different sizes in one file.

OTOH would be great to think about this plugin in context of real usage via responsive images, that's where fallback is discussed as well and that's where we can apply complex rules

πŸ‡«πŸ‡·France andypost

Hope it will not break responsive images further

πŸ‡«πŸ‡·France andypost

With this title we can just add optional setting to existing plugin when AVIF is selected to configure "file size to start acting"?

πŸ‡«πŸ‡·France andypost

It means to create a new ConvertConditional plugin or extending existing one with extra configuration?

πŸ‡«πŸ‡·France andypost

Let's use ICU variant - shsh as the summary states

πŸ‡«πŸ‡·France andypost

I'm ok to step in as maintainer but would be great to get more people, @bnjmnm has no bandwidth for it #3007167-58: [policy] Deprecate field_layout module and move it to contrib β†’

πŸ‡«πŸ‡·France andypost

@catch that's why I consider it task as async code was never supposed to be supported

πŸ‡«πŸ‡·France andypost

There's many bugs in config translation and locale so I'm not sure we can guess anything until the flow is settled

IMO the cause here is ✨ Configuration langcode is forced to site default language Needs work

πŸ‡«πŸ‡·France andypost

The deprecation of SessionManager could go separate issue

πŸ‡«πŸ‡·France andypost

I find it good to go and let's discus disruption in πŸ“Œ Deprecate custom keys in $_SESSION Active

πŸ‡«πŸ‡·France andypost

Applied clean-up and D12, IMO looks RTBC and is not disruptive since D8

πŸ‡«πŸ‡·France andypost

andypost β†’ made their first commit to this issue’s fork.

πŸ‡«πŸ‡·France andypost

is that really a bug? looks more like task kind

πŸ‡«πŸ‡·France andypost

Meantime new PECL 2.0.0 release is out https://github.com/mongodb/mongo-php-driver/releases/tag/2.0.0

There's some deprecations and so I filed πŸ“Œ Upgrade mongodb to 2.0 Active

πŸ‡«πŸ‡·France andypost

There's no alternative yet, so I'm willing to maintain it in contrib

πŸ‡«πŸ‡·France andypost

Would be great to have a follow-up to decide on policy to update the images as browsers has a very fast release cycle

πŸ‡«πŸ‡·France andypost

It looks like a blocker for deprecation πŸ“Œ Deprecate non-W3C compliant testing Active

PS: not clear state of w3c testing in contrib as it reported blocked too #3462681: Add W3C compliant JS testing β†’

πŸ‡«πŸ‡·France andypost

The issue is still valid - this hooks

  1. +++ b/core/modules/workspaces/workspaces.install
    @@ -30,8 +30,8 @@ function workspaces_requirements($phase) {
    -function workspaces_module_preinstall($module) {
    -  if ($module !== 'workspaces') {
    +function workspaces_module_preinstall($module, bool $is_syncing) {
    +  if ($module !== 'workspaces' || $is_syncing) {
    

    not sure it needed today

  2. +++ b/core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.install
    @@ -10,8 +10,8 @@
    -function demo_umami_content_module_preinstall($module) {
    -  if ($module === 'demo_umami_content' && !\Drupal::service('config.installer')->isSyncing()) {
    +function demo_umami_content_module_preinstall($module, bool $is_syncing) {
    +  if ($module === 'demo_umami_content' && !$is_syncing) {
    

    this change still missing

πŸ‡«πŸ‡·France andypost

AVIF is expensive (x2-x3 vs WEBP on compression) so fits for hires images mostly

πŸ‡«πŸ‡·France andypost

I find it good/handy feature with CR)

Moreover AVIF is specifically good for big sizes with fallback

πŸ‡«πŸ‡·France andypost

I'm sure it must be fixed in drush instead of core, moreover I'm using to provide URL for drush via command line instead of global option specifically for multi-site clients to point which site I'm contacting. Without it drush unable to select proper "sites/domain.tld"

PS so many efforts put on removal of base_url from core... so please don't wire it again

πŸ‡«πŸ‡·France andypost

It could be tricky with domain β†’ contrib module and trusted_host_patterns setting

πŸ‡«πŸ‡·France andypost

IIRC this change was done in PHP 7.1 so it's safe enough to use new approach, moreover there's not a lot of distros which shipping old GD library.
Moreover the most of PHP builds using bundled GD library

πŸ‡«πŸ‡·France andypost

this plugin now living in action module

πŸ‡«πŸ‡·France andypost

Wait till 11.2 release

πŸ‡«πŸ‡·France andypost

as of core 11.2 expected in June but first alpha of PHP 8.5 in July the only thing to change is CORE_PHP_NEXT after it #3513062-2: Allow opt-in PHP 8.5 testing β†’

PS: usually in PHP lots of deprecations are commited in late beta cycle(

πŸ‡«πŸ‡·France andypost

There's following settings https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes...

  # The minimum supported version of PHP for the current stable version of Drupal.
  CORE_PHP_MIN: '8.3'

  # The maximum/latest supported version of PHP for the current stable version of Drupal.
  CORE_PHP_MAX: '8.4'

  # The next/prerelease version of PHP targeted for support by the current stable version of Drupal.
  CORE_PHP_NEXT: '8.4'

  # The minimum version of PHP targeted for support by the next Major release of Drupal.
  CORE_NEXT_PHP_MIN: '9.0'

  # The maximum/latest version of PHP targeted for support.
  CORE_NEXT_PHP_MAX: '9.0'

  # The next/prelease version of PHP targeted for support by the next Major release of Drupal.
  CORE_NEXT_PHP_NEXT: '9.0'

So after 11.2 the `CORE_PHP_NEXT` should be increased to 8.5

πŸ‡«πŸ‡·France andypost

I bet contrib testing needs some changes in templates but surely doable

πŸ‡«πŸ‡·France andypost

Looks complete, 12.x issue could live on its own!
So the issue could be closed

The only meaningful for 11.x is rename to prevent confusion πŸ“Œ Rename update module back to Update Status Active

πŸ‡«πŸ‡·France andypost

Checked usage in contrib and it could be found in DB-mocks of D7 http://codcontrib.hank.vps-private.net/search?text=UpdaterFileTransferEx...

RTBC as both code and CR looks ready

πŸ‡«πŸ‡·France andypost

I'd like to set RTBC but probably exception classes needs constructor to throw deprecation...
but they are inherited so both will throw

πŸ‡«πŸ‡·France andypost

Better to provide both cookie and query-string options

+++ b/src/Form/ConfigForm.php
@@ -47,6 +52,7 @@ class ConfigForm extends ConfigFormBase {
+    $instance->settings = $container->get('settings');

I find it strange to have this in settings singleton, moreover it needs docs and tricky for non-tech users

please use config as other issue with cookie doing, you can always override config value via settings

πŸ‡«πŸ‡·France andypost

Please add a code comment and simplify condition, also would be great to set expectations in test

Moreover I'd like to see merged approach with secret defined like ✨ Feature request: Ability to profile any page on demand Needs review

πŸ‡«πŸ‡·France andypost

I created 2.x branch and merging new features there

πŸ‡«πŸ‡·France andypost

Gonna start 2.x with it, the rest should be fixed in follow-ups

πŸ‡«πŸ‡·France andypost

I find the code good to go but let's do that in 2.x branch

πŸ‡«πŸ‡·France andypost

Nice catch, needs backport to 10.4 at least

πŸ‡«πŸ‡·France andypost

merged to production branch to make sure scheduling will be triggered on Friday (when current security releases of PHP will be rolled out)

πŸ‡«πŸ‡·France andypost

but kernel test repeatedly fail

---- Drupal\KernelTests\Core\Image\ToolkitGdTest ----
Status    Group      Filename          Line Function                            
--------------------------------------------------------------------------------
Fail      Other      phpunit-9.xml        0 Drupal\KernelTests\Core\Image\Toolk
    PHPUnit Test failed to complete; Error: PHPUnit 10.5.38 by Sebastian Bergmann and contributors.
    
    Runtime:       PHP 8.5.0-dev
    Configuration: /builds/issue/drupal-3512558/core/phpunit.xml.dist
    
    ............FF...............FF...............FF...............  63 / 120 ( 52%)
    FF...............FF...............FF.....................       120 / 120 (100%)
    
    Time: 01:44.995, Memory: 10.00 MB
    
    Toolkit Gd (Drupal\KernelTests\Core\Image\ToolkitGd)
     βœ” Manipulations with 0
     βœ” Manipulations with 1
     βœ” Manipulations with 2
     βœ” Manipulations with 3
     βœ” Manipulations with 4
     βœ” Manipulations with 5
     βœ” Manipulations with 6
     βœ” Manipulations with 7
     βœ” Manipulations with 8
     βœ” Manipulations with 9
     βœ” Manipulations with 10
     βœ” Manipulations with 11
     ✘ Manipulations with 12
       ┐
       β”œ Image 'image-test.png' object after 'rotate_5' action has the correct color placement at corner '0' - Actual: {255,0,93,0}, Expected: {255,0,255,0}, Distance: 26244, Tolerance: 0
       β”œ Failed asserting that 26244 is equal to 0 or is less than 0.                                                                                                                      
       β”‚
       β”‚ /builds/issue/drupal-3512558/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php:90
       β”‚ /builds/issue/drupal-3512558/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php:357
       β”΄
     ✘ Manipulations with 13
       ┐
       β”œ Image 'image-test.png' object after 'rotate_transparent_5' action has the correct color placement at corner '0' - Actual: {255,93,93,46}, Expected: {255,255,255,127}, Distance: 59049, Tolerance: 0
       β”œ Failed asserting that 59049 is equal to 0 or is less than 0.                                                                                                                                        
       β”‚
       β”‚ /builds/issue/drupal-3512558/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php:90
       β”‚ /builds/issue/drupal-3512558/core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php:357
       β”΄
     βœ” Manipulations with 14
     βœ” Manipulations with 15
πŸ‡«πŸ‡·France andypost

Build tests fail for reason as Prophecy is strict in composer for supported versions

πŸ‡«πŸ‡·France andypost

PHPStan passed but it does not use even 8.4 syntax

PHP runtime version: 8.5
PHP version for analysis: 8.3 (from config.platform.php in composer.json)
PHPStan version: 2.0.4
πŸ‡«πŸ‡·France andypost

I think we can reuse the issue to add daily test with 8.5

πŸ‡«πŸ‡·France andypost

Fixed image tag to `dev`

πŸ‡«πŸ‡·France andypost

andypost β†’ made their first commit to this issue’s fork.

πŸ‡«πŸ‡·France andypost

I think it's fine to rebuild at 00 12 * * 5 Etc/UTC

πŸ‡«πŸ‡·France andypost

@mondrake the drupalci/php-8.5-ubuntu-apache:dev image is pushed, please give a try to it so I can merge to production and setup rebuild

πŸ‡«πŸ‡·France andypost

Yes, that's the plan, just need to script updates of image for example weekly

πŸ‡«πŸ‡·France andypost

Maybe deprecation of hooks could be done in module handler? gonna dig it

Production build 0.71.5 2024