Closed (fixed)
Project:
Features
Version:
8.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2015 at 22:12 UTC
Updated:
29 Nov 2015 at 01:44 UTC
Jump to comment: Most recent
Currently there is no handling of dependencies between features.
These should be either dropped or moved to follow-up issues.
Comments
Comment #1
nedjoComment #2
nedjoRaising priority. This currently prevents auto generating installable distributions.
Comment #3
mpotter commentedCan you explain more about how this is blocking creating distributions?
From experience with Features in D7, handling the module dependency is a pretty huge effort and can have lots of problems. I had thought in D8 we only needed to worry about actual config dependencies, which CMI is already handling for us.
In that case, the field_instance in feature B has a config dependency on the content_type in feature A. It doesn't matter what actual module provides this config. As long as the config exists then it's fine. The config is created when a module is enabled. But the config could also be satisfied by importing the config via CMI or by creating the content-type manually. It doesn't necessarily need a hard dependency on module A.
Comment #4
nedjoHere's a concrete example that I just hit:
So, while it's true that theoretically a given piece of configuration could end up on a site without having been installed, in practice, I'm thinking features are going to have to depend on other features to be sure that the required configuration is available.
Comment #6
nedjoComment #7
nedjo