Since playing with the new features_exclude I think I get the general concept of the functionality now but I think it could be named better. I propose we rename features_exclude to features_ui_autodetect_exclude.

Relevant issue discussed here -> #1978288: Features module .info file has "features_exclude" items vs "features" items for no apparent reason (fields can go "missing")

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Elijah Lynn’s picture

Elijah Lynn’s picture

Status: Active » Needs review
hefox’s picture

Renaming it will break existing features use of it, no?

The thing is that it's not just for auto-detect -- can manually add it if want to, just like can manually add components.

edit: what could be useful is adding a comment explaining why they were added to the .info file

Elijah Lynn’s picture

Good point, didn't think about that. I was going off of:

The features_exclude lines are purely for the new UI to determine if an auto-detected dependency should be checked or if you have specifically unchecked it.

Source: http://drupal.org/node/1064472#comment-7196064

==============

That being said I would welcome a comment explaining this, I should be able to do this later today.

Elijah Lynn’s picture

Status: Needs review » Needs work
Elijah Lynn’s picture

Issue summary: View changes

Added link to relevant issue