mirror of
https://github.com/IEEE-SB-Passau/pelican-deployment-system.git
synced 2017-09-06 16:35:38 +02:00
Revert "rework submodule updating, they suck really!"
The manual submodule recursing most likely does not work any better
This reverts commit df8b8e915b.
This commit is contained in:
@@ -181,9 +181,11 @@ class DeploymentRunner:
|
||||
|
||||
def _update_build_repo_submodules(self, repo):
|
||||
log.info("%s build_repo: update submodules", self.name)
|
||||
results = repo.submodule_sync_update_init_recursive_force()
|
||||
for r in results:
|
||||
log_git(r)
|
||||
# we must update the urls if changed!
|
||||
result = repo.submodule("sync", "--recursive")
|
||||
log_git(result)
|
||||
result = repo.submodule("update", "--init", "--force", "--recursive")
|
||||
log_git(result)
|
||||
|
||||
def build(self, abort_running=False, wait=False, ignore_pull_error=False,
|
||||
build_fn=None):
|
||||
|
||||
Reference in New Issue
Block a user