As part of making this module ready for Drupal 9, we should add a missing core_version_requirement key to the module info file.
see https://www.drupal.org/node/3070687

Comments

vedpareek created an issue. See original summary.

sahana _n’s picture

Assigned: vedpareek » Unassigned
Status: Active » Needs review
StatusFileSize
new429 bytes

Please review the patch.

Varun Rao’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

hussainweb’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/social_auth_google.info.yml
@@ -2,7 +2,7 @@ name: Social Auth Google
-core: 8.x
+core_version_requirement: ^8 || ^9

Since Drupal versions before 8.7.7 need the `core` key in the info file, I think we should not remove that.

narendra.rajwar27’s picture

Status: Needs work » Needs review
StatusFileSize
new342 bytes
new403 bytes

updated patch as per comment #4.

hugovk’s picture

Since Drupal versions before 8.7.7 need the `core` key in the info file, I think we should not remove that.

With the release of Drupal 8.9 (and 9.0) yesterday, 8.7 is now EOL and unsupported by the core Drupal team, meaning it no longer receives updates, including security updates.

May I suggest this module also no longer needs to support 8.7?

Also, 8.7.7 was released on 4 September 2019, and the last 8.7.14 on 20 May 2020, so people unable/unwilling to use 8.8/8.9/9.0 have the option of 8.7.8+.

narendra.rajwar27’s picture

@hugovk, thank you for your valuable feedback, There are confusion over this whether the "core" key should be there along with "core_version_requirement". So in that case i feel patch in comment #2 is fine.
@hussainweb, hope @hugovk answered your concern for core key.

hussainweb’s picture

@hugovk, @narendra.rajwar27, you're right. Drupal 8.7 is EOL and I would love it if the module takes a stance and says it won't support. But that should be for more meaningful code where there is value delivered (in terms of new API or removing deprecated API).

It's not worth to break support for removing a harmless line of code. Imagine someone still on Drupal 8.7 or before. This module will suddenly disappear from their extension list just because we didn't remove this line. On the other hand, keeping the line in has no cost to us or to users. It could be removed when Drupal 8.7 is a distant memory.

Last point: The same patch has been submitted by Project updates bot in #3141753: Automated Drupal Rector fixes. You'll notice there that it only adds the new line, doesn't remove the `core: 8.x`.

Thanks for your comments. I am not interested in turning this into a bikeshedding discussion over `core: 8.x` line. I'll let the maintainers decide. I just hope either of these patches is committed soon.

narendra.rajwar27’s picture

I would love it if the module takes a stance and says it won't support.

@hussainweb, agreed on this note. As for Drupal8 version module support will always there until there is explicitly mentioning.

gvso’s picture

I think it doesn't hurt to have that extra line, and as mentioned before, the patch produced by the bot does not remove the line. I think we're fine with #5

gvso’s picture

Status: Needs review » Fixed
hugovk’s picture

Sounds sensible, thanks all!

hussainweb’s picture

@gvso, thanks for committing this. Are you planning to tag a release with this fix in the near future? I was just thinking if I feel brave enough switching to the dev release. :)

gvso’s picture

I just created a new release. Thanks everyone!

Status: Fixed » Closed (fixed)

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