- Issue created by @tedbow
- Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Not currently mergeable. - @tedbow opened merge request.
- last update
over 1 year ago 6 pass - last update
over 1 year ago 6 pass - Status changed to Needs review
over 1 year ago 4:04pm 23 June 2023 - πΊπΈUnited States tedbow Ithaca, NY, USA
this issue is major because it blocks π For web server dependent unattended updates run the entire life cycle in a separate process that will not be affected by hosting time limits Fixed
- last update
over 1 year ago 813 pass - last update
over 1 year ago 803 pass, 4 fail - Assigned to phenaproxima
- last update
over 1 year ago 803 pass, 4 fail - last update
over 1 year ago 803 pass, 4 fail - last update
over 1 year ago 813 pass - πΊπΈUnited States tedbow Ithaca, NY, USA
Pushed commit that fixed the test locally. will see if drupalci is fixed
- Status changed to RTBC
over 1 year ago 5:06pm 23 June 2023 - πΊπΈUnited States phenaproxima Massachusetts
Looks good if tests pass.
- last update
over 1 year ago 803 pass, 4 fail - Assigned to tedbow
- Status changed to Needs work
over 1 year ago 5:31pm 23 June 2023 - πΊπΈUnited States phenaproxima Massachusetts
Kicking back for failure on 10.0.x. :(
- last update
over 1 year ago 803 pass, 4 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 813 pass - last update
over 1 year ago 813 pass - Assigned to phenaproxima
- Status changed to Needs review
over 1 year ago 7:42pm 23 June 2023 - πΊπΈUnited States tedbow Ithaca, NY, USA
Ok think the build tests will pass now on both branches
- Status changed to RTBC
over 1 year ago 9:54pm 23 June 2023 - last update
over 1 year ago 808 pass - last update
over 1 year ago 808 pass -
phenaproxima β
committed c83c648d on 3.0.x authored by
tedbow β
Issue #3368741 by tedbow: Drush build test symlinks Drush, and does not...
-
phenaproxima β
committed c83c648d on 3.0.x authored by
tedbow β
- Status changed to Fixed
over 1 year ago 3:31pm 26 June 2023 - Issue was unassigned.
- Status changed to Needs work
over 1 year ago 9:57am 5 July 2023 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
// Do not run development Composer plugin. $this->runComposer("composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer false", $template_dir);
Why?
if (isset($package_info['require'])) { unset( $package_info['require']['symfony/polyfill-php72'], $package_info['require']['symfony/polyfill-php73'], $package_info['require']['symfony/polyfill-php74'], $package_info['require']['symfony/polyfill-php80'], $package_info['require']['symfony/polyfill-php81'], ); $packages[$name][$version]['require'] = $package_info['require']; }
Why? These are not dependencies of https://github.com/drush-ops/drush/blob/12.x/composer.json?
I cannot find the answers in the code nor in this issue π
- Status changed to Fixed
over 1 year ago 2:02pm 5 July 2023 - πΊπΈUnited States phenaproxima Massachusetts
To answer your questions:
- Because, unless we disable this, install fails because it (the plugin) tries to run an executable before it's available. At least, that's what I understand from discussing with @tedbow, who traced into it. Probably a bug in the plugin itself. For our purposes, we don't need that plugin in any event, so it's okay to work around it.
- Those packages are dependencies of some packages, but they are (somehow - don't ask me why) not installed on PHP versions that don't need them (i.e., you don't need a PHP 7.2 polyfill on PHP 8). Since Drupal 10 requires PHP 8.1, those polyfills are not actually present in the local codebase and therefore unable to be installed, so we just make sure no package depends on them, since that would break Composer's ability to build the code base successfully. I remember having to do similar stuff in some earlier iterations of the build tests.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Thanks!
So I was hoping that what's written in #14 would be shipped with the code in the form of comments, because otherwise it'll be really hard to track down once this gets into core π (i.e. to answer )
I am just trying to make things simpler for our future selves!
- Status changed to Needs work
over 1 year ago 2:43pm 5 July 2023 - πΊπΈUnited States tedbow Ithaca, NY, USA
@Wim Leers thanks for asking these questions. Sounds at least like we need follow-up to at least add some code comments. Likely we would get these questions on our core review
- last update
over 1 year ago 811 pass - @phenaproxima opened merge request.
- Status changed to RTBC
over 1 year ago 4:50pm 5 July 2023 - πΊπΈUnited States tedbow Ithaca, NY, USA
@phenaproxima thanks for adding comments in the new MR. I think they looks good
- last update
over 1 year ago 811 pass -
phenaproxima β
committed a62d80d8 on 3.0.x
Issue #3368741 by tedbow, phenaproxima: Drush build test symlinks Drush...
-
phenaproxima β
committed a62d80d8 on 3.0.x
- Status changed to Fixed
over 1 year ago 5:08pm 5 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.