Problem/Motivation
As part of making this module ready for Drupal 9, we should add a missing core_version_requirement key to the module-info file also in missing composer.json file.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | interdiff_12-14.txt | 386 bytes | suresh prabhu parkala |
| #14 | 3119603-14.patch | 2.82 KB | suresh prabhu parkala |
| #12 | fixD9ReadlinesCompletely-3119603-11.patch | 2.34 KB | edycarreyes99 |
| #12 | interdiff-3119603-2-11.txt | 2.34 KB | edycarreyes99 |
| #2 | 3119603.patch | 592 bytes | samiksha.gupta008 |
Comments
Comment #2
samiksha.gupta008 commentedComment #3
stefdewa commentedPatch applies.
Also added related issue.
Comment #4
mpp commentedRTBC++
Comment #5
komalk commentedComment #6
trebormcRTBC++
Comment #7
bramdriesenRTBC++
Comment #8
bramdriesenCan we get this merged?
Comment #9
heddnShouldn't this include the
\Drupal::l()=>Link::fromTextAndUrl()conversion mentioned in #3087361: Drupal 9 Deprecated Code report?Comment #10
bramdriesenYou can, but it's normally better to keep things separated no?
I suggest to first merge #3087361 so that all deprecations are gone, and then this one to make it fully D9 ready.
Comment #11
heddnAs of yesterday, you can make changes to composer.json in a patch to make the project support drupal/core: ^8.0 || ^9.0 and run tests on the testbot. Wouldn't it make sense to make those changes and incorporate any fixes to make it support 9.0 at the same time?
Comment #12
edycarreyes99 commentedFix D9 readlines completely
Comment #13
bramdriesentests failed.
Comment #14
suresh prabhu parkala commentedPlease review!
Comment #15
heddnTests are passing. LGTM.
Comment #16
rar9 commentedgetting error
composer require 'drupal/yoast_seo:1.x-dev'
Problem 1
- Conclusion: remove doctrine/annotations 1.10.3
- Conclusion: don't install doctrine/annotations 1.10.3
composer require 'drupal/yoast_seo:2.x-dev'
Problem 1
- Installation request for drupal/yoast_seo 2.x-dev -> satisfiable by drupal/yoast_seo[2.x-dev].
- Conclusion: remove drupal/core 9.0.2
- Conclusion: don't install drupal/core 9.0.2
Comment #17
cosolom commented@Rar9 It's because you need to apply this patch from git (not from the composer). I can confirm that patch is fine.
Comment #18
rar9 commentedI just added patch 14 to composer.json
and the run composer require...
Why do i need to look for a patch somewhere at git?
Comment #19
rajab natshahPlease if you can spare time to commit this issue to the dev branch that will be nice.
A release after that will have a support for Drupal 9 build.
as this issue is a blocker issue for
#3122672: Start a 9.0.x branch for Varbase and Varbase Project to integrate with Drupal 9
Real physical testing with Drupal 9 is important as Drupal 9.0.5 went out
Thanks for having time to work on this nice and very useful module.
Comment #20
akalam commentedI created a fork applying #14 in case someone need to use this project with D9 https://github.com/Metadrop/yoast_seo
Comment #21
phjouIt would be nice to merge that issue, it is pretty annoying to have to make a fork just to use the module.
Comment #22
gomez_in_the_south commented+1 for getting this merged as it's RTBC.
Anything else that the maintainers are blocked by?
Comment #23
phjouI guess the maintainers are not active anymore.
So I guess we have to wait for #3173941: Offering to co-maintain Real-time SEO for Drupal
Maybe people can ping on this issue to speedup the process #3169265: Offering to co-maintain Real-time SEO for Drupal
Comment #25
kingdutchThanks for everyone's help on this issue, 2.0-alpha4 has been released.
This patch applied to 2.x (contrary to the issue's selected version) so work is still needed for 1.x. #3149492: Automated Drupal 9 compatibility fixes contains a start for 1.x
Comment #26
phjouThank you so much!