-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bug: submodules are not updated before test runs #13
Comments
I don't use submodules myself. So I can't judge whether that change would be wanted by all submodules users. Do you have an opinion about that? Would setting I have the feeling that proper support for submodules would require some other changes in |
I use submodules a lot to track dependencies between projects. I have a Library project and multiple Application projects that use functions and features provided by the Library. Each Application has its own submodule pointer into the Library repo, which fixes and documents the required version of the Library for that project. Often new features in an Application need to be developed with corresponding additions in the Library, and sometimes fixing a bug in an Application involves fixing the Library. In these cases updating the Library pointer is the necessary part of the commit in the Application, since otherwise anyone else making a checkout of the Application won't get the correct version of the Library, and in the best case the project compilation will fail (in the worst case they'll build an Application with incorrect behavior, or with unfixed bugs). In fact, the main reason I found, downloaded and started using I use Git submodules for dependency tracking for many years now (and before Git I used the I couldn't find any specific documentation about the I didn't look into the source, but maybe all you need to do about those |
@alex-ilin Have you tested using |
@hlovdal I have not. |
To make
git-test
usable in my repositories, I have to addgit submodule update --init --force --recursive
to the top of my build script. It seems that this should be done bygit-test
itself as part of checking out the next commit.The text was updated successfully, but these errors were encountered: