mirror of
https://github.com/odoo/runbot.git
synced 2025-03-17 00:15:47 +07:00
![]() _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. |
||
---|---|---|
.. | ||
__init__.py | ||
branch.py | ||
build_config.py | ||
build_dependency.py | ||
build_error.py | ||
build.py | ||
event.py | ||
host.py | ||
ir_cron.py | ||
repo.py | ||
res_config_settings.py |