runbot/runbot/models
Xavier-Do 54ecee8c4e [IMP] runbot: create build when old HEAD is force-pushed
_find_new_commits will check if a build exists with current branch HEAD
before creating build. This is crutial to avoid to create a new build
at each loop turn. The problem is that in some rare cases, when
force-pushing an old head on a branch, the build won't appear and the only
way to update the branch is to find the corresponding build that may be
hidden in hitory. This may be confusing for the user that will rebuild the
created build with a commit that doesn't represent the head of the branch.

This commit only search for the last build of each branch, in order to
only skip build creation if the last build as the same hash. The new
created build should be marked as the duplicate of the first one.
2019-11-27 15:37:58 +01:00
..
__init__.py [IMP] runbot: add build_error model 2019-09-03 11:10:38 +02:00
branch.py [FIX] runbot: choose quickconnect build with same config 2019-05-23 10:52:13 +02:00
build_config.py [IMP] runbot: use a config file to simplify args 2019-11-27 15:37:43 +01:00
build_dependency.py [IMP] runbot: commit message dep param. 2019-08-13 14:30:30 +02:00
build_error.py [IMP] runbot: add auto test-tags management. 2019-11-07 09:51:05 +01:00
build.py [IMP] runbot: use a config file to simplify args 2019-11-27 15:37:43 +01:00
event.py [IMP] runbot: dump database at the end of step 2019-10-21 16:23:05 +02:00
host.py [WIP] runbot: monitoring tools 2019-09-03 11:10:38 +02:00
ir_cron.py [IMP] runbot: replace jobs by build configs 2019-05-18 10:42:31 +02:00
repo.py [IMP] runbot: create build when old HEAD is force-pushed 2019-11-27 15:37:58 +01:00
res_config_settings.py [IMP] runbot: add optional warning message on frontend 2019-06-18 12:43:25 +02:00