Feature #49489
Add noRecursiveSubmodules option to GitCheckoutTask
Status: | Resolved | Start date: | 2013-06-28 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
In some cases it is necessary to prevent git from checking out
submodules recursively during a Surf deployment in which composer is not
used. If the option "noRecursiveSubmodules" is set to true, only the
submodules directly referenced in the base repository are fetched and
checked out.
If the option is not set, or set to false, all submodules are fetched
and checked out recursively. Therefore, the default behaviour does not
change.
Associated revisions
[FEATURE] Add recursiveSubmodules option to GitCheckoutTask
In some cases it is necessary to prevent git from checking out
submodules recursively during a Surf deployment in which composer is not
used. If the option "recursiveSubmodules" is set to false, only the
submodules directly referenced in the base repository are fetched and
checked out.
If the option is not set, or set to true, all submodules are fetched
and checked out recursively. Therefore, the default behaviour does not
change.
The unit tests adds a new possibility to match commands by a regular
expression to test for the absence of a --recursive flag.
Resolves: #49489
Change-Id: Idd1a934465c28767826559c9dbc8d73f96d9a0f9
History
#1 Updated by Gerrit Code Review about 2 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22396
#2 Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22396
#3 Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22396
#4 Updated by Anonymous almost 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset e006be8655ea44a4bc03f6e085cee7ef681b78a1.