Commit Graph

24 Commits

Author SHA1 Message Date
Vyacheslav Egorov
c0565c417b
Revert "Retry cURL downloads (#50731)" (#51466)
This reverts commit 492fb6381e.

Reason for revert: Dart HHH infrastructure including Golem builders are using older images which have older curl which does not support these flags. Upgrading images takes long time - so in the interim we are forced to revert to avoid accumulating gap in coverage.
2020-02-26 12:10:41 +01:00
Fedor Korotkov
492fb6381e
Retry cURL downloads (#50731)
Retry downloading Dart SDK at least 3 times with a 5 seconds wait in between retries
2020-02-25 22:29:16 -05:00
刘冲
51d5b1a2d5
Use the default find if possible else fall back (#47522) 2020-01-30 11:33:02 -08:00
Ian Hickson
449f4a6673
License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Jefferson Quesado
db041de63d Detecting when installing over MingW's Git Bash, fixing paths (#39699) 2019-10-24 11:06:46 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
Todd Volkert
cb1c7a3664
Ensure that Dart SDK dirs have appropriate permissions (#26315)
This is a partial re-application of #24669

https://github.com/flutter/flutter/issues/24413
2019-02-15 11:03:57 -05:00
Jonah Williams
3d2f98498f
handle missing curl (#27295) 2019-01-30 12:53:23 -08:00
Ian Hickson
fb88a7bfd1
Update links for China help (#25238)
We have a page on the Web page now.
2018-12-21 10:12:49 -08:00
Jonah Williams
c461e93363
Revert "Ensure that cache dirs and files have appropriate permissions" (#25240) 2018-12-11 15:33:57 -08:00
Todd Volkert
74ab1bfbbd
Ensure that cache dirs and files have appropriate permissions (#24669)
Fixes https://github.com/flutter/flutter/issues/24413
2018-12-10 13:39:50 -08:00
Ian Hickson
f9374fe071
Update the URL to the recommend bug report (#23708)
We have templates now.
2018-11-07 17:12:35 -08:00
xster
bdc06194fb
Prompt a solution message when flutter tools network fail in China (#16244) 2018-04-06 18:44:05 -07:00
Ohad Rau
e1946f1f68 Fix absolute shebangs in install scripts (#16135)
* Fix absolute shebang in /bin/flutter

* Fix absolute shebang in bin/internal/update_dart_sdk.sh
2018-04-02 22:21:04 -07:00
Alexander Aprelev
a448994543
Use the Dart SDK built from Flutter engine rather than from dartlang.org (#14610)
* Use engine-built dart sdk

* Download dart-sdk from engine

* Move up deps to fix dart sdk constraint problem

* Update update_dart_sdk.ps1 for Windows

* Fix tests so they pass analysis

* More types for tests

* Roll engine

* Update dart sdk stamp location in flutter.bat

* Add newline
2018-02-14 07:18:25 -08:00
Jakob Andersen
e1018fab34
Make artifacts URLs configurable. (#13380)
Add support for configuring the base storage URL for Flutter's
artifacts. If FLUTTER_STORAGE_BASE_URL is set, use it instead of
storage.googleapis.com.

The pub server can be overridden by setting PUB_HOSTED_URL.
2017-12-07 16:30:23 +01:00
Jason Simmons
bb2554abcd Fix the continue-at flag in the curl command used to download the Dart SDK (#11757)
Fixes https://github.com/flutter/flutter/issues/11722
2017-08-23 11:28:19 -07:00
Devon Carew
3b35c0c9fc copy the dart sdk directory when we're upgrading it (#11331) 2017-07-20 21:34:27 -07:00
Alexander Aprelev
272faba1c0 Support 'be' channel so you can download dart-sdk from the tip. (#10625)
* Support 'be' channel so you can download dart-sdk from the tip.

This is triggered when you put 'hash/<build hash>' into dart-sdk.version file. For example, 'hash/c0617d20158955d99d6447036237fe2639ba088c'

* Add README.md

* Fix grammar, spacing, 80 chars, nicer ===
2017-06-13 08:28:16 -07:00
Brian Slesinsky
054c937917 don't use curl progress bar since it looks bad in IDEA console window (#9538)
Without this flag, it shows progress via increasing numbers instead of a progress bar. For some reason, the IDEA console seems to be okay with that.
2017-04-23 10:30:27 -07:00
Todd Volkert
ca2bf1efd0 Redirect curl's stderr to stdout, since it draws its progress bar to stderr (#9497) 2017-04-20 11:37:10 -07:00
Michael Goderbauer
51dc83dd80 Launch Flutter Tools on Windows. (#7613)
This brings the Windows script up to par with the Linux/Mac script.

`flutter doctor` works.

There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent.

Required for https://github.com/flutter/flutter/issues/138
2017-01-24 10:58:11 -08:00
Chris Bracken
ab939ec61f Handle Flutter SDK paths with spaces in doctor (#6578) 2016-10-28 08:32:30 -07:00
Dan Rubel
94a83af5b1 Cleanup bin/cache (#6247) 2016-10-07 15:24:19 -04:00