-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hlx deploy] fails if project contains a submodule #614
Comments
This is a regression of #523 (replace I've created an |
## [0.14.15](v0.14.14...v0.14.15) (2019-04-17) ### Bug Fixes * **GitUtils:** GitUtils.isDirty: ignore git submodules ([fcdc572](fcdc572)), closes [#614](#614)
fixed in fcdc572 |
Thanks for the fix, @stefan-guggisberg, but I'm not sure if it is 100% correct. AFAICS, the check now excludes the submodules completely. so if you have a modified file in the submodule path, then |
are submodules packaged? if yes i agree that dirty submodules should be considered. |
Description
It seems that having a submodule in the project triggers an exception during
hlx deploy
.To Reproduce
Steps to reproduce the behavior:
git clone [email protected]:adobe/project-helix.io.git
cd project-helix.io
hlx build
hlx deploy --wsk-auth <your_wsk_auth_token> --wsk-namespace <your_wsk_namespace>
Following error appears and stop the process:
Failed to read git object with oid ce24eb86a33320577f1b66498629f21d22cda703
Version:
run:
$ hlx --version
0.13.7-pre.0
Additional context
Some initial debugging with @stefan-guggisberg reveals that the
isDirty
check is the entry point. Then it seems thatisomorphic-git
does not co-op with submodules (getting git info onsubdomains/helix-cli
folder seems to be the trigger of the error)The text was updated successfully, but these errors were encountered: