Skip to content

Add Flutter-repo-specific golden comparator - #17205

Merged
tvolkert merged 9 commits into
flutter:masterfrom
tvolkert:goldens
May 3, 2018
Merged

tvolkert merged 9 commits into
flutter:masterfrom
tvolkert:goldens

Conversation

@tvolkert

@tvolkert tvolkert commented May 2, 2018

Copy link
Copy Markdown
Contributor

In order to avoid checking binaries into flutter/flutter,
this comparator is used to retrieve golden files from
a sibling flutter/goldens repository.

#16859

@tvolkert
tvolkert requested review from Hixie and gspencergoog May 2, 2018 19:01
@tvolkert

tvolkert commented May 2, 2018

Copy link
Copy Markdown
Contributor Author

FYI, the tests are failing because this depends on flutter-team-archive/engine#5137, which had rolled into flutter/flutter, but that engine roll was recently reverted.

@gspencergoog

Copy link
Copy Markdown
Contributor

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep using "new" until we have a lint to tell us not to

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @a14n

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what'll happen if you have local changes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are merge conflicts, it'll throw and fail your test run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(otherwise, it'll just work)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constructors first

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Hixie

Hixie commented May 2, 2018

Copy link
Copy Markdown
Contributor

LGTM

@tvolkert
tvolkert merged commit 65079ad into flutter:master May 3, 2018
@tvolkert
tvolkert deleted the goldens branch May 3, 2018 14:39
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
In order to avoid checking binaries into flutter/flutter,
this comparator can be used to retrieve golden files from
a sibling flutter/goldens repository.

flutter#16859
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants