Project information in the .info file is discouraged - http://drupal.org/node/542202
This is for contrib modules only and is added by drupal.org.

A side effect is that this line makes the update module think the feature is a contrib module and therefore check for updates to it on drupal.org. This can be quite time consuming when having lots of features.

Features will probably more often be custom than contrib so it would make sense to not include this line.

Thanks for a very useful module!

/Cheers

Comments

perelman.yuval’s picture

Category: bug » task
Status: Active » Postponed (maintainer needs more info)

Hi tinefin.
I dont understand where you find the problem, please attach an example.

tinefin’s picture

Hey

When I use the awesome "Auto create feature" button on the admin/structure/features/[module_name]/recreate ftools will add a line to the modules .info file with project information.

Example:
module_name.info before "Auto create feature":

name = [Module name]
description = [Description]
core = 7.x
package = [package]
php = 5.2.4
version = 7.x-1.0
dependencies[] = admin_path
(...more lines w dependencies etc)

module_name.info after "Auto create feature":

name = [Module name]
description = [Description]
core = 7.x
package = [package]
php = 5.2.4
version = 7.x-1.0
project = [module_name]
dependencies[] = admin_path
(...more lines w dependencies etc)

The added project = line above shouldn't be there. It is discouraged since it's purpose is for contrib modules (drupal.org adds it automatically), not custom modules / features.

Nb: If I instead run drush features-update module_name it (correctly) doesn't add the project = line. Not sure what the drush command does differently.

Cheers
/Tine

tinefin’s picture

Status: Postponed (maintainer needs more info) » Active