The following patch fixes this bug. I cannot figure out how to fork and request a merge on launchpad.
Is anyone maintaining this tool?
diff --git a/gitbuildrecipe/recipe.py b/gitbuildrecipe/recipe.py index d1700f2..1da7f2a 100644 --- a/gitbuildrecipe/recipe.py +++ b/gitbuildrecipe/recipe.py @@ -318,6 +318,8 @@ def pull_or_clone(base_branch, target_path): # checkout to interpret its argument as a commit?), but that's # their problem. base_branch.git_call("checkout", base_branch.commit) + # initialize submodules + base_branch.git_call("submodule", "update", "--init", "--recursive") except subprocess.CalledProcessError as e: raise CheckoutFailed(e.output)
The following patch fixes this bug. I cannot figure out how to fork and request a merge on launchpad.
Is anyone maintaining this tool?
diff --git a/gitbuildrecip e/recipe. py b/gitbuildrecip e/recipe. py e/recipe. py e/recipe. py clone(base_ branch, target_path):
base_ branch. git_call( "checkout" , base_branch.commit) git_call( "submodule" , "update", "--init", "--recursive") CalledProcessEr ror as e: e.output)
index d1700f2..1da7f2a 100644
--- a/gitbuildrecip
+++ b/gitbuildrecip
@@ -318,6 +318,8 @@ def pull_or_
# checkout to interpret its argument as a commit?), but that's
# their problem.
+ # initialize submodules
+ base_branch.
except subprocess.
raise CheckoutFailed(