We should add a section to managed_files.yml that cartridge authors can use to indicate what directories they need in app-root/runtime/dependencies that the platform should create with each new deployment directory (clean build).
The section in managed_files.yml might look like this for the php cartridge: dependency_dirs: - phplib And to avoid conflicts across cartridges, we should also make it so this would result in app-deployments/$datetime/dependencies/php/phplib Whenever a cartridge is configured as well as for clean builds, the platform will create each cartridge's dependency directories listed in managed_files.yml and create the appropriate symlinks. From the above example, this would mean the following symlink would be created: ~/php/phplib, points at ~/app-root/runtime/dependencies/php/phplib
https://github.com/openshift/origin-server/pull/3913
Tested on devenv_3921. The changed files are merged in on the latest instance. Mark the bug as verified.