View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016083 | CMake | CMake | public | 2016-04-26 17:13 | 2016-06-10 14:21 | ||||
Reporter | Ilya | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.5.2 | ||||||||
Target Version | CMake 3.6 | Fixed in Version | CMake 3.6 | ||||||
Summary | 0016083: ExternalProject with empty GIT_SUBMODULES does not initialize submodules of submodules | ||||||||
Description | Current implementation uses the following command to get submodules: 1. `git submodule init` 2. `submodule update --recursive` This is enough to initialize direct submodules of the repo, however it leaves submodules of submodules uninitialized. To address this, [2] (and possibly [1]) must be changed to `submodule update --recursive --init` | ||||||||
Steps To Reproduce | 1. Add an external project that has submodule which has its own submodule 2. Try to pull sources of this project 3. Check that submodule of submodule was not initialized | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0040947) Brad King (manager) 2016-04-29 13:37 |
We try to work with Git versions all the way back to 1.6.5 while gracefully reducing functionality with older versions. Please check what version introduced support for the `--recursive --init` option. |
(0040948) Ilya (reporter) 2016-04-29 14:36 |
Brad, according to https://git-scm.com/docs/git-submodule/1.6.5 [^] it should be supported. |
(0041011) Brad King (manager) 2016-05-02 13:28 edited on: 2016-05-03 10:05 |
Thanks, applied: ExternalProject: Initialize Git submodules recursively and on update https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=79410eeb [^] |
(0041178) Kitware Robot (administrator) 2016-06-10 14:21 |
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-26 17:13 | Ilya | New Issue | |
2016-04-26 19:05 | Ilya | File Added: ExternalProject.patch | |
2016-04-27 08:21 | Brad King | Assigned To | => Ben Boeckel |
2016-04-27 08:21 | Brad King | Status | new => assigned |
2016-04-27 08:22 | Brad King | Target Version | => CMake 3.6 |
2016-04-29 13:36 | Brad King | Target Version | CMake 3.6 => |
2016-04-29 13:37 | Brad King | Note Added: 0040947 | |
2016-04-29 14:36 | Ilya | Note Added: 0040948 | |
2016-05-02 13:28 | Brad King | Note Added: 0041011 | |
2016-05-02 13:28 | Brad King | Assigned To | Ben Boeckel => Brad King |
2016-05-02 13:28 | Brad King | Status | assigned => resolved |
2016-05-02 13:28 | Brad King | Resolution | open => fixed |
2016-05-02 13:28 | Brad King | Fixed in Version | => CMake 3.6 |
2016-05-02 13:28 | Brad King | Target Version | => CMake 3.6 |
2016-05-03 10:05 | Brad King | Note Edited: 0041011 | |
2016-06-10 14:21 | Kitware Robot | Note Added: 0041178 | |
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |