We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug/feature As i can understand, at this moment there is no way to clone git repository with git submodules?
To Reproduce
kapicorp/kapitan
--- parameters: kapitan: dependencies: - type: git output_path: files/git/github/kapicorp/kapitan source: https://github.com/kapicorp/kapitan ref: master
$ kapitan compile --fetch
.gitmodules
$ ls -ltr files/git/github/kapicorp/kapitan/.gitmodule ls: cannot access 'files/git/github/kapicorp/kapitan/.gitmodule': No such file or directory
Expected behavior kapicorp/kapitan github repository must be cloned with git modules (in this case with https://github.com/kapicorp/reclass.git)
Additional context As far as i understand, kapitan uses GitPython library to clone git repos. Probably, the properly submodule handling in GitPython will helps https://gitpython.readthedocs.io/en/0.3.3/tutorial.html#submodule-handling
kapitan
Also, submodule option might be added into dependency definition, like
--- parameters: kapitan: dependencies: - type: git submodule: True output_path: files/git/github/kapicorp/kapitan source: https://github.com/kapicorp/kapitan ref: master
The text was updated successfully, but these errors were encountered:
MatteoVoges
Successfully merging a pull request may close this issue.
Describe the bug/feature
As i can understand, at this moment there is no way to clone git repository with git submodules?
To Reproduce
kapicorp/kapitan
git repository.gitmodules
file https://github.com/kapicorp/kapitan/blob/master/.gitmodules$ ls -ltr files/git/github/kapicorp/kapitan/.gitmodule ls: cannot access 'files/git/github/kapicorp/kapitan/.gitmodule': No such file or directory
Expected behavior
kapicorp/kapitan
github repository must be cloned with git modules (in this case with https://github.com/kapicorp/reclass.git)Additional context
As far as i understand,
kapitan
uses GitPython library to clone git repos. Probably, the properly submodule handling in GitPython will helps https://gitpython.readthedocs.io/en/0.3.3/tutorial.html#submodule-handlingAlso, submodule option might be added into dependency definition, like
The text was updated successfully, but these errors were encountered: