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.
R=dnj@chromium.org, phajdan.jr@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2833723003
Committed: https://github.com/luci/recipes-py/commit/30925bd08c1f78e835f04a2a3d409cf027cde55e
Patch Set 1 #
Total comments: 8
Patch Set 2 : fix test #Patch Set 3 : fix nits #
Messages
Total messages: 10 (4 generated)
|