We'd like to do the following:
- Have a feature branch off master
- Upload CLs for that branch to Gerrit codereview
- Use trybots and CQ just like on master
To get this going in V8, I will:
- Add a feature to the gerrit recipe module to get the branch for a CL
- In the V8 recipe, we'll use this to query gerrit before bot_update
- Pass the branch name to bot_update
Sounds like a plan! Please make sure that the work is generalizable, as this is a thing that many other projects also want (in particular for release branches, not feature branches, but the concept is the same).
Wondering if we could/should generalize this by moving the query logic into bot_update's ensure_checkout?
A challenge would be the sync step without patch on trybots. This should still sync the same branch as the first sync step, but without patch. Not sure if bot_update knows patch/CL information at all in that case...
Another challenge: This should work for patch_project. E.g. if a chromium trybot is used on a V8 CL on a feature branch, then V8 in Chromium should be synced to the feature branch + patch. Likewise on the run without patch, all revision should stay the same, except v8 in chromium needs to be the feature branch revision without patch.
Comment 1 by machenb...@chromium.org
, Jul 10 2017