-
Notifications
You must be signed in to change notification settings - Fork 11
Description
In Issue #4 it was mentioned that you might be willing to take suggestions on what make and info files to ignore. I'm thinking that it might be benificial that only the "Dependencies" of the module that matches the package name be required. However, the dependencies of the other modules that are both not required by the package you are installing and are not named the same as the project should only be marked as recommended.
For instance, lets take ctools for example.
In this case we have the ctools module which is part of the ctools project. In this case I would put drupal/ctools in my composer.json. This should mean that the minimal requirements for me to run this ctools project would be nothing as shown in this info file
name = Chaos tools
description = A library of helpful tools by Merlin of Chaos.
core = 7.x
package = Chaos tool suite
files[] = includes/context.inc
files[] = includes/math-expr.inc
files[] = includes/stylizer.inc
now if I wanted to install some other module such as views_content which is a child module of the ctools module, I should then be required to get the correct dependencies, however, I am forced to download views_content if I even want ctools, therefore I forced to have "views" as a requirement. If I was to specify "drupal/views_content" I think that would be a different story. "Views" would then be a requirement as well as ctools because it's a depency of the views_content module.
I know there are some project names that don't match any name of the modules in the project, but I think I would be ok with recommended being the default.

