From 286b1a3d3004994ae515fb2cc877a117ea8a5d72 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 26 Feb 2019 17:34:34 +0100 Subject: [PATCH] [FIX] runbot: update dependency repo before checkout At checkout time when a build has no server (e.g. enterprise), the dependency repo that contains the server needs to be extracted too. It happens that this dependency repo is not up to date. With this commit, the dependency repo is updated before its extracttion. --- runbot/models/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/runbot/models/build.py b/runbot/models/build.py index 07c4b165..5662de46 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -553,6 +553,7 @@ class runbot_build(models.Model): 'Building environment', 'Server built based on commit %s from %s' % (commit_oneline, closest_name) ) + repo._update_git(force=True) repo._git_export(closest_name, build._path()) # Finally mark all addons to move to openerp/addons