✒ Spell Check All .md Files Related to Flutter 💙 (#61564)
* 🐛 Fix Spelling Issues in Main README.md * 🐛 Fix spelling issues in dev README.md * 🐛 Fix spelling issues in complex_layout README.md * 🐛 Fix spelling issues in macrobenchmarks README.md * 🐛 Fix spelling issues in platform_views_layout README.md * 🐛 Fix spelling issues in test_Apps/stocks README.md * 🐛 Fix spelling issues in bots README.md * ✒ Spell Check dev/ci README.md * ✒ Spell Check dev/ci/docker_linux README.md * ✒ Spell Check dev/devicelab README.md * ✒ Spell Check dev/docs README.md * ✒ Spell Check dev/snippets README.md * ✒ Spell Check dev/snippets/config/templates README.md * ✒ Spell Check dev/tools/gen_keycodes README.md * ✒ Spell Check dev/tools/vitool README.md * ✒ Spell Check examples/catalog README.md * ✒ Spell Check examples/flutter_view README.md * ✒ Spell Check examples/image_list README.md * ✒ Spell Check examples/layers README.md * ✒ Spell Check examples/platform_channel README.md * ✒ Spell Check examples/platform_channel_swift README.md * ✒ Spell Check examples/platform_view README.md * ✒ Spell Check packages/_flutter_web_build_script README.md * ✒ Spell Check packages/flutter_localizations README.md * ✒ Spell Check packages/flutter_tools README.md * ✒ Spell Check CODE_OF_CONDUCT.md * ✒ Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md * ✒ Spell Check dev/integration_test/android_views README.md * ✒ Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md * ✒ Spell Check dev/integration_tests/flutter_gallery README.md * ✒ Spell Check dev/integration_tests/gradle_deprecated_settings README.md * ✒ Spell Check dev/integration_tests/ios_add2app_life_cycle README.md * ✒ Spell Check dev/integration_tests/ios_host_app README.md * ✒ Spell Check dev/integration_tests/ios_platform_view_tests README.md * ✒ Spell Check dev/automated_tests/flutter_test README.md * ✒ Spell Check .github/PULL_REQUEST_TEMPLATE.md * ✒ Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md * ✒ Spell Check .github/ISSUE_TEMPLATE/BUG.md * ✒ Spell Check .github/ISSUE_TEMPLATE/feature_request.md * ✒ Spell Check .github/ISSUE_TEMPLATE/performance_others.md * ✒ Spell Check .github/ISSUE_TEMPLATE/performance_speed.md * ✒ Spell Check packages/flutter_tools/doc/daemon.md * ✒ Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md * ✒ Minimize line to 80 columns * ✒ Minimize line to 80 columns * ✒ Fix Typo * ✒ Chnaged numbers to 1 for testing purposes * ✒ Changed numbers to 1 for testing purposes * ❌ Remove 'a' which is a typo * ✒ Change a sentence to be better * ✒ Remove 'a' which is a typo * ✒ Fix small issue * ✒ Fix small typo * ✒ Fix some typos * ❌ Remove trailing space * ❌ Remove trailing space * 🐛 Fix small typo * ✒ Fix Typo * 🐛 Fix small bug
This commit is contained in:
@@ -4,9 +4,9 @@ This directory exists to support building Flutter on our build infrastructure.
|
||||
|
||||
The results of such builds are viewable at:
|
||||
* https://cirrus-ci.com/github/flutter/flutter/master
|
||||
- Testing done on PRs and submitted changes on GitHub.
|
||||
- Testing is done on PRs and submitted changes on GitHub.
|
||||
* https://ci.chromium.org/p/flutter/
|
||||
- Additional testing and processing done after changes are submitted.
|
||||
- Additional testing and processing are done after changes are submitted.
|
||||
|
||||
The LUCI infra requires permissions to retrigger or schedule builds. Contact
|
||||
@kf6gpe or another Google member of the Flutter team if you need to do that.
|
||||
@@ -29,7 +29,7 @@ machines and what kind are managed internally by Google. Contact @kf6gpe or
|
||||
another Google member of the Flutter team if you suspect changes are needed
|
||||
there. Both of these technologies are highly specific to the [LUCI](https://github.com/luci)
|
||||
project, which is the successor to Chromium's infra. We're just borrowing some
|
||||
of their infrastructure.
|
||||
of their infrastructures.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
@@ -39,17 +39,17 @@ To work on this infrastructure you will need:
|
||||
- Python package installer: `sudo apt-get install python-pip`
|
||||
- Python coverage package (only needed for `training_simulation`): `sudo pip install coverage`
|
||||
|
||||
To run prepare_package.dart locally:
|
||||
To run `prepare_package.dart` locally:
|
||||
|
||||
- Make sure the depot_tools is in your PATH. If you're on Windows, you also need
|
||||
an environment variable called DEPOT_TOOLS with the path to depot_tools as value.
|
||||
- Make sure the `depot_tools` is in your `PATH`. If you're on Windows, you also need
|
||||
an environment variable called `DEPOT_TOOLS` with the path to `depot_tools` as value.
|
||||
- Run `gsutil.py config` (or `python %DEPOT_TOOLS%\gsutil.py` on Windows) to
|
||||
authenticate with your auth token.
|
||||
- Create a local temp directory. `cd` into it.
|
||||
- Run `dart [path to your normal Flutter repo]/dev/bots/prepare_package.dart
|
||||
--temp_dir=. --revision=[revision to package] --branch=[branch to deploy to]
|
||||
--publish`.
|
||||
- If you're running into gsutil permission issues, check with @Hixie to make sure
|
||||
- If you're running into `gsutil` permission issues, check with @Hixie to make sure
|
||||
you have the right push permissions.
|
||||
|
||||
### Getting the code
|
||||
@@ -81,22 +81,22 @@ and
|
||||
|
||||
Recipes are just Python with some limitations on what can be imported. They are
|
||||
[documented](https://github.com/luci/recipes-py/blob/master/doc/user_guide.md)
|
||||
by the [luci/recipes-py github project](https://github.com/luci/recipes-py).
|
||||
by the [luci/recipes-py GitHub project](https://github.com/luci/recipes-py).
|
||||
|
||||
The typical cycle for editing a recipe is:
|
||||
|
||||
1. Checkout the recipes project using `git clone https://flutter.googlesource.com/recipes`.
|
||||
1. Check out the recipes project using `git clone https://flutter.googlesource.com/recipes`.
|
||||
2. Make your edits (probably to files in
|
||||
`//recipes/recipes`).
|
||||
3. Update the tests. Run `recipes.py test train` to update
|
||||
existing expected output to match the new output. Verify completely new test
|
||||
the existing expected output to match the new output. Verify completely new test
|
||||
cases by altering the `GenTests` method of the recipe. The recipe is required
|
||||
to have 100% test coverage.
|
||||
4. Run `led get-builder 'luci.flutter.prod:BUILDER_NAME' | led edit -p 'revision="GIT_HASH"' | led edit-recipe-bundle | led launch`, where `BUILDER_NAME` is the builder name (e.g. `Linux Engine`), and
|
||||
`GIT_HASH` is the hash to build (which is important for the engine but not
|
||||
for the framework).
|
||||
5. To submit a CL, you need a local branch first (`git checkout -b [some branch name]`).
|
||||
6. Upload the patch (`git commit`, `git cl upload`) and send it to someone in
|
||||
6. Upload the patch (`git commit`, `git cl upload`), and send it to someone in
|
||||
the `OWNERS` file for review.
|
||||
|
||||
### The infra config repository
|
||||
@@ -112,7 +112,7 @@ schema that describes available properties.
|
||||
|
||||
### Future Directions
|
||||
|
||||
We would like to host our own recipes instead of storing them in
|
||||
We would like to host our recipes instead of storing them in
|
||||
[build](https://chromium.googlesource.com/chromium/tools/build.git/+/master/scripts/slave/recipes/flutter).
|
||||
Support for [cross-repository
|
||||
recipes](https://github.com/luci/recipes-py/blob/master/doc/cross_repo.md) is
|
||||
@@ -123,7 +123,7 @@ tried, but it's not quite ready.
|
||||
### Android Tools
|
||||
|
||||
The Android SDK and NDK used by Flutter's Chrome infra bots are stored in Google
|
||||
Cloud. During the build a bot runs the `download_android_tools.py` script that
|
||||
Cloud. During the build, a bot runs the `download_android_tools.py` script that
|
||||
downloads the required version of the Android SDK into `dev/bots/android_tools`.
|
||||
|
||||
To check which components are currently installed, download the current SDK
|
||||
@@ -216,8 +216,8 @@ want to do, run:
|
||||
$ dart ./unpublish_package.dart --confirm --temp_dir=/tmp/foo --revision d444a455de87a2e40b7f576dc12ffd9ab82fd491
|
||||
```
|
||||
|
||||
and it will actually perform the actions. You will of course need to have access
|
||||
to the cloud storage server and have gsutil installed in order to perform this
|
||||
and it will perform the actions. You will of course need to have access
|
||||
to the cloud storage server and have `gsutil` installed to perform this
|
||||
operation. Only runs on Linux or macOS systems.
|
||||
|
||||
See `dart ./unpublish_package.dart --help` for more details.
|
||||
|
||||
Reference in New Issue
Block a user