Currently, features completely ignores the order when rebuilding multiple features, for example using drush or installation profiles, and uses alphabetical order instead, which may cause dependencies to fail. system_rebuild_module_data() already built the dependency graph, however features_get_features() doesn't make use of it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | features-dependencies-1195432.patch | 1.98 KB | smk-ka |
Comments
Comment #1
smk-ka commentedAdded sorting of features according to dependency information set by
system_rebuild_module_data(). Code has mostly been taken frominstall_profile_modules().This patch is a prerequisite for the performance patch at #1188066: Excessive rebuilding if installing more than one feature at a time.
Comment #2
febbraro commentedAdding a tag for webchick
Comment #3
febbraro commentedNice poach, thanks! Committed to 7.x branch. http://drupalcode.org/project/features.git/commit/64c8e8f
hefox, interested in this for D6?
Comment #4
febbraro commentedRemoving tag for d7
Comment #5
febbraro commented