cloudfoundry-attic/bosh-workspace

If template is in submodule, check out submodule

Closed this issue · 0 comments

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.