Description[autoroller] All commits in updates(), only roll interesting ones.
Previously `updates` would only include the 'interesting' updates, which
meant that the new autoroller algorithm skips over chunks of the repo
history. If multiple repos have chunks of non-interesting history, the
autoroller can end up not proposing any good candidates.
This CL simplifies the repo interface by having `updates()` always
return the full list of commits, but adds a new field to the
CommitMetadata which indicates that a given commit was `interesting`.
This way the full history of every repo is available when picking
candidates (e.g. for `CommitList.advance_to`), but find_best_rev will
only consider rolling to interesting commits.
Originally landed: https://codereview.chromium.org/2833723003
R=dnj@chromium.org, phajdan.jr@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2829203002
Committed: https://github.com/luci/recipes-py/commit/763b5442fe13969bc3ffc0fa37bcc527fa9814bf
Patch Set 1 #Patch Set 2 : windows fix #
Messages
Total messages: 10 (3 generated)
|