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

Issue 2989033002: Migrate status file entries when migrating files. Yay! (Closed)

Created:
3 years, 4 months ago by Bob Nystrom
Modified:
3 years, 4 months ago
Reviewers:
bkonyi
CC:
dart2now-team_google.com, reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Migrate status file entries when migrating files. Yay! This looks at all the files in the batch being migrated. It goes through the status files in the 1.0 and strong directories. If it sees an entry that matches that file, it adds it to the resulting "_2" status file. It handles adding entries to an existing section if already present in the new status file. Otherwise, it adds a new section at the end with the entries. R=bkonyi@google.com Committed: https://github.com/dart-lang/sdk/commit/385b88f2894d9d5482ae27c0ea052e943c280750

Patch Set 1 #

Total comments: 12

Patch Set 2 : Remove old TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -109 lines) Patch
M pkg/status_file/lib/status_file.dart View 3 chunks +15 lines, -5 lines 0 comments Download
M tools/migration/bin/migrate_batch.dart View 6 chunks +14 lines, -94 lines 0 comments Download
A tools/migration/lib/src/editable_status_file.dart View 1 chunk +109 lines, -0 lines 0 comments Download
M tools/migration/lib/src/fork.dart View 7 chunks +13 lines, -10 lines 0 comments Download
A tools/migration/lib/src/migrate_statuses.dart View 1 1 chunk +128 lines, -0 lines 0 comments Download
A tools/migration/lib/src/test_directories.dart View 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Bob Nystrom
3 years, 4 months ago (2017-07-27 21:40:04 UTC) #2
bkonyi
Overall, this looks good! I did notice one issue caused by a recent updated to ...
3 years, 4 months ago (2017-07-27 22:02:01 UTC) #3
Bob Nystrom
Thanks! https://codereview.chromium.org/2989033002/diff/1/tools/migration/bin/migrate_batch.dart File tools/migration/bin/migrate_batch.dart (right): https://codereview.chromium.org/2989033002/diff/1/tools/migration/bin/migrate_batch.dart#newcode57 tools/migration/bin/migrate_batch.dart:57: print("Migrating ${bold(tests.length)} test$s from ${bold(first)} " On 2017/07/27 ...
3 years, 4 months ago (2017-07-27 22:58:19 UTC) #4
bkonyi
lgtm
3 years, 4 months ago (2017-07-28 17:43:40 UTC) #5
Bob Nystrom
3 years, 4 months ago (2017-07-28 18:10:35 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
385b88f2894d9d5482ae27c0ea052e943c280750 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698