cloudfoundry-attic / bosh-workspace

Gem for managing your bosh workspace
MIT License
22 stars 26 forks source link

If template is in submodule, check out submodule #108

Closed MatthiasWinzeler closed 8 years ago

MatthiasWinzeler commented 8 years ago

At the moment, bosh-workspace checks out the submodule of a deployment only if the deployment specifies a symlink pointing to a submodule as part of its templates.

My project has the different case where I reference a template templates/xyz.yml - and this is not a symlink itself, but its parent dir - templates - is a symlink to a submodule.

It would be nice if bosh-workspace does not only check if a given file in templates is a symlink, but also if any of its ancestors are symlinked to a submodule that should be checked out.