Javier Jardón pushed to branch jjardon/submodules at BuildStream / buildstream
Commits:
- 
12bad175
by Javier Jardón at 2018-11-26T10:41:33Z
2 changed files:
Changes:
| ... | ... | @@ -2,6 +2,8 @@ | 
| 2 | 2 |  buildstream 1.3.1
 | 
| 3 | 3 |  =================
 | 
| 4 | 4 |  | 
| 5 | +  o BREAKING CHANGE: The git plugin does not checkout submodules by default anymore
 | |
| 6 | + | |
| 5 | 7 |    o BREAKING CHANGE: The 'manual' element lost its default 'MAKEFLAGS' and 'V'
 | 
| 6 | 8 |      environment variables. There is already a 'make' element with the same
 | 
| 7 | 9 |      variables. Note that this is a breaking change, it will require users to
 | 
| ... | ... | @@ -52,8 +52,8 @@ git - stage files from a git repository | 
| 52 | 52 |     ref: d63cbb6fdc0bbdadc4a1b92284826a6d63a7ebcd
 | 
| 53 | 53 |  | 
| 54 | 54 |     # Optionally specify whether submodules should be checked-out.
 | 
| 55 | -   # If not set, this will default to 'True'
 | |
| 56 | -   checkout-submodules: True
 | |
| 55 | +   # If not set, this will default to 'False'
 | |
| 56 | +   checkout-submodules: False
 | |
| 57 | 57 |  | 
| 58 | 58 |     # If your repository has submodules, explicitly specifying the
 | 
| 59 | 59 |     # url from which they are to be fetched allows you to easily
 | 
| ... | ... | @@ -379,7 +379,7 @@ class GitSource(Source): | 
| 379 | 379 |              raise SourceError("{}: Git sources require a ref and/or track".format(self),
 | 
| 380 | 380 |                                reason="missing-track-and-ref")
 | 
| 381 | 381 |  | 
| 382 | -        self.checkout_submodules = self.node_get_member(node, bool, 'checkout-submodules', True)
 | |
| 382 | +        self.checkout_submodules = self.node_get_member(node, bool, 'checkout-submodules', False)
 | |
| 383 | 383 |          self.submodules = []
 | 
| 384 | 384 |  | 
| 385 | 385 |          # Parse a dict of submodule overrides, stored in the submodule_overrides
 | 
