Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 2837493002: Revert of [autoroller] All commits in updates(), only roll interesting ones. (Closed)

Created:
3 years, 8 months ago by iannucci
Modified:
3 years, 8 months ago
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Revert of [autoroller] All commits in updates(), only roll interesting ones. (patchset #2 id:20001 of https://codereview.chromium.org/2829203002/ ) Reason for revert: somehow this is still broken... Original issue's 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 TBR=dnj@chromium.org,phajdan.jr@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review-Url: https://codereview.chromium.org/2837493002 Committed: https://github.com/luci/recipes-py/commit/51e6ae23f698f81136bc508f633588354b5969ca

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -163 lines) Patch
M recipe_engine/autoroll_impl/candidate_algorithm.py View 3 chunks +4 lines, -9 lines 0 comments Download
M recipe_engine/autoroll_impl/commit_list.py View 2 chunks +0 lines, -23 lines 0 comments Download
M recipe_engine/fetch.py View 15 chunks +38 lines, -53 lines 0 comments Download
M recipe_engine/package.py View 2 chunks +13 lines, -4 lines 0 comments Download
M recipe_engine/unittests/fetch_test.py View 13 chunks +31 lines, -58 lines 0 comments Download
M unittests/autoroll_test.py View 1 chunk +10 lines, -10 lines 0 comments Download
M unittests/repo_test_util.py View 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
iannucci
Created Revert of [autoroller] All commits in updates(), only roll interesting ones.
3 years, 8 months ago (2017-04-21 00:22:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837493002/1
3 years, 8 months ago (2017-04-21 00:22:56 UTC) #3
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 00:23:02 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://github.com/luci/recipes-py/commit/51e6ae23f698f81136bc508f633588354b5...

Powered by Google App Engine
This is Rietveld 408576698