Closed ianblenke closed 9 years ago
@ianblenke considering that this is a duplicate, could you please append this comment to #1094 so that we can track submodule support for Deis in one bug? Thanks.
ok! reposted there, closing this issue in favor of #1094
We have a couple of projects that use submodules. The precise SHA1 is important to us.
deis-builder uses this in `./builder/image/templates/builder' to generate the tarball that is sent to the docker slugbuilder:
Unfortunately, git archive strips the
.git
directory, and we need that for our submodules.@bacongobbler mentioned gh1094 as related to this, and rightfully explained that submodules are also an issue on Heroku.
To add .git, I've had to modify our deis/builder image to do this instead:
It would be nice to somehow flag an app to selectively include .git, as no doubt others will run into this limitation.
Thanks!