Add core_version_requirement: ^8 || ^9 to build_hooks.info.yml to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687.

Comments

karishmaamin created an issue. See original summary.

karishmaamin’s picture

Status: Active » Needs review
StatusFileSize
new368 bytes
ruchi-94’s picture

Assigned: Unassigned » ruchi-94
xaviemirmon’s picture

Hi @karishmaamin

Thanks for your patch. I've just applied it to my site but found it doesn't cover the submodules. Any chance you could generate another one that includes build_hooks_circleci and build_hook_netlify?

suresh prabhu parkala’s picture

StatusFileSize
new1.43 KB

Please review the patch.

xaviemirmon’s picture

Status: Needs review » Reviewed & tested by the community

Works for me @suresh-prabhu-parkala!

ruchi-94’s picture

Assigned: ruchi-94 » Unassigned
larowlan’s picture

Status: Reviewed & tested by the community » Needs work

This isn't enough to make the module compatible, see #3139733: Automated Drupal Rector fixes

larowlan’s picture

Issue tags: +Novice
suresh prabhu parkala’s picture

Status: Needs work » Needs review
StatusFileSize
new2.01 KB
new490 bytes

Please review!

larowlan’s picture

Status: Needs review » Needs work

FrontendEnvironmentInterface still implements ConfigurablePluginInterface which has been removed - see https://www.drupal.org/node/2946161 for how to replace it

larowlan’s picture

Title: Drupal 9 compatibility » [PP-1] Drupal 9 compatibility
Status: Needs work » Postponed
Related issues: +#3171708: Add test coverage

Postponing this on #3171708: Add test coverage so we can tell when it is compatible

larowlan’s picture

Assigned: Unassigned » larowlan
Status: Postponed » Active
larowlan’s picture

Title: [PP-1] Drupal 9 compatibility » Drupal 9 compatibility
larowlan’s picture

Status: Active » Needs review
StatusFileSize
new1.18 KB
new6.47 KB

Test showing the issue with the interface from #10

Status: Needs review » Needs work

The last submitted patch, 15: 3153199.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

larowlan’s picture

Status: Needs work » Needs review
StatusFileSize
new7.84 KB
new5.83 KB

There's some issues in the schema still

Fixing those

Interdiff is against 10

acbramley’s picture

Status: Needs review » Needs work
+++ b/tests/modules/build_hooks_test/build_hooks_test.info.yml
@@ -0,0 +1,6 @@
+core_version_requirement: ^8.8 || ~9.0

This should be replaced with package: Testing

Other than that, LGTM!

larowlan’s picture

Status: Needs work » Needs review
StatusFileSize
new499 bytes
new7.82 KB

Thanks! I didn't even know that was possible.

Much better this way.

larowlan’s picture

Saving issue credits

acbramley’s picture

Status: Needs review » Reviewed & tested by the community

💥

  • larowlan committed 1e504dd on 8.x-2.x
    Issue #3153199 by larowlan, Suresh Prabhu Parkala, karishmaamin,...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

I'll cut a new release at this point, so people can composer install the module on D9 - hopefully that will flush out any remaining issues.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.