mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 07:55:45 +07:00
![]() Before this commit, dependencies (i.e. community commit to use when testing enterprise) were computed at checkout, when the build was going from pending to testing state and were not stored. Since the duplicate detection was done at create, the get_closest_branch_name was called in a loop for each posible duplicate candidate, then a last time at checkout. The main idea of this pr is to store the build dependecies on build at create, making the duplicate detection faster (especially when the build name is matching many indirect builds). The side effect of this change is that the build dependencies won't be affected if a new commit is pushed between the build creation and the checkout. The build is fully determined at creation. get_closest_branch is only called once per build The duplicate detection will also be more precise since we are matching on the commits groups that were used to run the build, and not only the branch name. Some work has also been done to rework the closest branch detection in order to manage new corner cases. Hopefully, everything should work as before (or in a better way). In a soon future, it will also be possible to use this information to make an "exact rebuild" or to find corresponding community build. Pr: #117 |
||
---|---|---|
runbot | ||
runbot_cla | ||
runbot_merge | ||
.gitignore | ||
README.md |
Odoo Runbot Repository
This repository contains the source code of Odoo testing bot runbot.odoo.com and related addons.
Runbot
The runbot/
directory holds the main runbot Odoo addon.
Runbot CLA addon
The runbot_cla/
directory contains an Odoo addon that checks CLA.