From afa20e71acec4b262ed8c90c9795238cbb40a90a Mon Sep 17 00:00:00 2001 From: David Auer Date: Thu, 4 Jan 2024 15:30:35 +0100 Subject: [PATCH] Apply `git submodule sync` recursively This should fix build errors where a maintainer uploaded a second level submodule first with a git/ssh remote --- master/buildbot/steps/source/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/buildbot/steps/source/git.py b/master/buildbot/steps/source/git.py index 1b51ffcd49..a700a57663 100644 --- a/master/buildbot/steps/source/git.py +++ b/master/buildbot/steps/source/git.py @@ -467,7 +467,7 @@ def computeSourceRevision(self, changes): def _syncSubmodule(self, _=None): rc = RC_SUCCESS if self.submodules: - rc = yield self._dovccmd(['submodule', 'sync']) + rc = yield self._dovccmd(['submodule', 'sync', '--recursive']) return rc @defer.inlineCallbacks