Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Revert Versions API #7828

Merged
merged 5 commits into from
Apr 12, 2019
Merged

Conversation

iskakaushik
Copy link
Contributor

No description provided.

@cbracken
Copy link
Member

cbracken commented Apr 8, 2019

@iskakaushik did you have any plans to rebase and land this? If not, could you close the PR?

I'd be interested in further discussing the objections to this API before we revert.

@iskakaushik
Copy link
Contributor Author

@cbracken , I do plan on rebasing and landing this PR.

The use cases for having this so far have been:

  1. Make sure we upload the right version of artifact. Proposed solution: grep for the string in the binary.
  2. Have a way for Crashlytics or other apps to display the version info. Proposed solution: What they really need is the framework version, not the engine/skia/dart versions. Framework version is not exposed by this PR, so reverting this should be ok.

Let me know if you think reverting this is still a bad idea.

cc: @dnfield , @Hixie , @chinmaygarde

@iskakaushik iskakaushik force-pushed the feature/revert-versions branch from 075e580 to 8ab01da Compare April 11, 2019 20:51
@iskakaushik iskakaushik requested a review from cbracken April 11, 2019 21:47
Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

Code looks good to me but I have no opinions about exposing this API to Dart code. You should probably discuss this with one of the stakeholders to check if the original reasons for this revert still hold.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

Alright; discussed with @Hixie. The original goal here was for us to have a mechanism that allows us to ensure the uploaded engine version in cloud storage/downloaded by the tool matches the version we expect. We can do that without exposing API in the same way that e.g. Dart embeds SNAPSHOT_HASH in both the VM and in snapshots.

LGTM stamp from a Japanese personal seal

@iskakaushik iskakaushik merged commit 7292d62 into flutter:master Apr 12, 2019
@iskakaushik iskakaushik deleted the feature/revert-versions branch April 12, 2019 21:23
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 13, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Apr 15, 2019
flutter/engine@9aa7c9a...c3824f0

git log 9aa7c9a..c3824f0 --no-merges --oneline
c3824f0 Roll src/third_party/skia e62bf561638c..990bfc785891 (2 commits) (flutter/engine#8569)
49a72e1 Roll src/third_party/skia 8be917af4313..e62bf561638c (5 commits) (flutter/engine#8568)
7292d62 Revert Versions API (flutter/engine#7828)
9336671 Revert "Roll src/third_party/dart a8f3a5dae6..c2eb9a9860 (8 commits)" (flutter/engine#8567)
a543543 Roll src/third_party/dart a8f3a5dae6..c2eb9a9860 (8 commits)
23b0e02 Android Embedding PR29: Improve FlutterFragment construction API + engine config API. (flutter/engine#8540)
e6c822d Roll src/third_party/skia 25071cc52b4b..8be917af4313 (6 commits) (flutter/engine#8564)
1bb2c0c Remove unused import in FlutterActivityDelegate (flutter/engine#8563)
ad04340 Add missing <memory> include to text_input_model.h (flutter/engine#8562)
fcd717e Update README.md to point to flutter.dev (flutter/engine#8557)
501892a Roll src/third_party/skia 35f1c154c5e5..25071cc52b4b (7 commits) (flutter/engine#8560)
db99c86 Roll src/third_party/skia 41476708db86..35f1c154c5e5 (1 commits) (flutter/engine#8559)
a88cd80 Roll src/third_party/skia f74fff660084..41476708db86 (1 commits) (flutter/engine#8558)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants