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

Issue 500933002: Refactor the generation from a YAML configuration (Closed)

Created:
6 years, 4 months ago by Søren Gjesse
Modified:
6 years, 3 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/googleapis.git@master
Visibility:
Public.

Description

Refactor the generation from a YAML configuration This is in preparation of moving this into the generator. R=kustermann@google.com BUG= Committed: https://github.com/dart-lang/gcloud/commit/6e0b03a

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed review comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -115 lines) Patch
A .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M main.dart View 1 1 chunk +217 lines, -115 lines 4 comments Download

Messages

Total messages: 6 (0 generated)
Søren Gjesse
6 years, 4 months ago (2014-08-25 09:30:08 UTC) #1
kustermann
I'd prefer if you split this up and make it a bit nicer before this ...
6 years, 4 months ago (2014-08-25 09:47:29 UTC) #2
Søren Gjesse
PTAL https://codereview.chromium.org/500933002/diff/1/main.dart File main.dart (right): https://codereview.chromium.org/500933002/diff/1/main.dart#newcode19 main.dart:19: * Configuration of a set of pacakges generated ...
6 years, 3 months ago (2014-08-26 13:44:13 UTC) #3
kustermann
lgtm https://codereview.chromium.org/500933002/diff/20001/main.dart File main.dart (right): https://codereview.chromium.org/500933002/diff/20001/main.dart#newcode230 main.dart:230: }); Maybe a bit easier like this? return ...
6 years, 3 months ago (2014-08-26 14:27:14 UTC) #4
Søren Gjesse
Committed patchset #2 manually as 6e0b03a (presubmit successful).
6 years, 3 months ago (2014-08-27 07:12:42 UTC) #5
Søren Gjesse
6 years, 3 months ago (2014-08-27 07:13:10 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/500933002/diff/20001/main.dart
File main.dart (right):

https://codereview.chromium.org/500933002/diff/20001/main.dart#newcode230
main.dart:230: });
On 2014/08/26 14:27:14, kustermann wrote:
> Maybe a bit easier like this?
> 
> return allApis
>     .where((item) => !knownApis.contains(item.id))
>     .map((item) => item.id);

Done.

https://codereview.chromium.org/500933002/diff/20001/main.dart#newcode255
main.dart:255: print('WARNING: The following APIs does not exist:');
On 2014/08/26 14:27:14, kustermann wrote:
> does -> do

Done.

Powered by Google App Engine
This is Rietveld 408576698