mirrored from https://chromium.googlesource.com/infra/luci/recipes-py
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
7 changed files
with
154 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.