Skip to content

Conversation

@chenglu
Copy link
Member

@chenglu chenglu commented May 8, 2020

Description

A small fix to #56164, also @xster .

Since the FLUTTER_STORAGE_BASE_URL has been set up to a complete URL like:
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

hence the scheme https:// which in the maven URL setting should be removed as well as added it to the default setting: storage.googleapis.com,
or the final URL will be like: https://https/storage.flutter-io.cn/download.flutter.io as Issue #56678 mentioned, which will be connection failed.

Related Issues

#55134
Fixes #56678

Tests

Could we use the existing tests that @xster created?

dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read Handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change. If not, delete the remainder of this section.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label May 8, 2020
@xster
Copy link
Member

xster commented May 8, 2020

Ah this looks right. Thanks for the quick fix!
You can also add yourself to the AUTHORS file :)

We can change this line https://github.com/flutter/flutter/pull/56164/files#diff-d56182dedf1e8eaecb470e8900b4e19eR61 in the test.

LGTM

@xster
Copy link
Member

xster commented May 9, 2020

嗯,谢谢程路

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • Please get at least one approved review before re-applying this label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

@fluttergithubbot fluttergithubbot merged commit 793e6a4 into flutter:master May 10, 2020
pcsosinski pushed a commit to pcsosinski/flutter that referenced this pull request May 12, 2020
pcsosinski pushed a commit that referenced this pull request May 13, 2020
* Always remove the workspace settings (#56703)

* [flutter_tools] hide tree-shake-icons (#56924)

* fix pushAndRemoveUntil incorrectly removes the routes below the first… (#56732)

* let the embedding maven engine dependency reference the storage proxy (#56164)

* typo fix on the FLUTTER_STORAGE_BASE_URL usage (#56685)

* Update engine hash for 1.18.0-11.1.pre

Co-authored-by: Jenn Magder <[email protected]>
Co-authored-by: Jonah Williams <[email protected]>
Co-authored-by: chunhtai <[email protected]>
Co-authored-by: xster <[email protected]>
Co-authored-by: Luke Cheng <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path FLUTTER_STORAGE_BASE_URL 在flutter master上面工作不友好

4 participants