Please apply new {project}:{module} format for dependencies in info.yml filehttps://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-about-your-module-with-an-infoyml-file

It is supported since 8.0 and 7.40 Change Record: Project namespaces can now be added for module dependencies, and is now a Best Practice Define project dependencies in core module .info files).

It will be useful to install/update via composer. So sooner is better.
Hope this helps.

Comments

chipway created an issue. See original summary.

chipway’s picture

Assigned: chipway » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.33 KB

Here is the patch. Please review.

alonaoneill’s picture

Status: Needs review » Reviewed & tested by the community

Code looks good. The dependency namespacing aligns with Drupal documentation standards.
Patch applied via simplytest.me
Marking as RTBC
Thank you for working on module!

phenaproxima’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

Thanks for the patch! Needs to be rerolled against 8.x-3.x, though. :(

neslee canil pinto’s picture

Status: Needs work » Needs review
StatusFileSize
new592 bytes

Updated Dependencies for composer in info.yml file

phenaproxima’s picture

Status: Needs review » Needs work

This doesn't seem to apply either; git apply gives me "corrupt patch at line 22" :(

neslee canil pinto’s picture

Status: Needs work » Needs review
StatusFileSize
new600 bytes

Updated Dependencies for composer in info.yml file

phenaproxima’s picture

Title: Update Dependencies for composer » Namespace dependencies in info files
Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs reroll

This applies cleanly, thanks! Will merge when it passes CI.

  • phenaproxima committed b806f4c on 8.x-3.x
    Issue #3000131 by Neslee Canil Pinto, chipway, alonaoneill: Namespace...
phenaproxima’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x-3.x. Thanks!

Status: Fixed » Closed (fixed)

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