AdrianVovk[m] | I have a case where I have nested git submodules on one of the elements I'm building (for my own future reference: crun). I'm switching from `git_tag` -> `git_repo` and `git_module` | 23:10 |
---|---|---|
AdrianVovk[m] | How should I be handling nested submodules? | 23:10 |
AdrianVovk[m] | My best guess so far, and what seems to have worked, looks like so: | 23:11 |
AdrianVovk[m] | ```yaml | 23:11 |
AdrianVovk[m] | - kind: git_repo | 23:11 |
AdrianVovk[m] | url: github:whatever/foobar | 23:11 |
AdrianVovk[m] | - kind: git_module | 23:11 |
AdrianVovk[m] | path: submodule | 23:11 |
AdrianVovk[m] | url: github:whatever/foobar-submod | 23:11 |
AdrianVovk[m] | - kind: git_module | 23:11 |
AdrianVovk[m] | directory: submodule | 23:11 |
AdrianVovk[m] | path: helper | 23:11 |
AdrianVovk[m] | url: github:whatever/foo-submod-helper | 23:11 |
AdrianVovk[m] | ``` | 23:11 |
AdrianVovk[m] | * My best guess so far, and what seems to have worked, looks like so: | 23:11 |
AdrianVovk[m] | ```yaml | 23:11 |
AdrianVovk[m] | - kind: git_repo | 23:11 |
AdrianVovk[m] | url: github:whatever/foobar | 23:11 |
AdrianVovk[m] | - kind: git_module | 23:11 |
AdrianVovk[m] | path: submodule | 23:12 |
AdrianVovk[m] | url: github:whatever/foobar-submod | 23:12 |
AdrianVovk[m] | - kind: git_module | 23:12 |
AdrianVovk[m] | directory: submodule | 23:12 |
AdrianVovk[m] | path: helper | 23:12 |
AdrianVovk[m] | url: github:whatever/foo-submod-helper | 23:12 |
AdrianVovk[m] | ``` | 23:12 |
AdrianVovk[m] | ^ does that look right? to create a structure where submod is a submodule of foobar, and helper is a submodule of submod | 23:12 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!