commit | 1b47d4da8cb3825ad395f7e205dcae925c775000 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Mon Jan 06 10:16:24 2025 -0800 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Mon Jan 06 10:17:57 2025 -0800 |
tree | 00beff4832ffaa1e21d2797e7a72ef58ddcfce70 | |
parent | 69d40579e71bf13b6ac416e5cc450f6f149685cf [diff] |
Bump test to f364fc8291d668d85c702a5b9f9a4f2e5c1ade0e Changes: ``` > git log --format="%C(auto) %h %s" 165608a..f364fc8 https://dart.googlesource.com/test.git/+/f364fc82 fake_async: latest lints (2433) https://dart.googlesource.com/test.git/+/eb870b9a Bump the github-actions group with 3 updates (2444) https://dart.googlesource.com/test.git/+/82a1ca84 Merge `package:test_descriptor` (2424) https://dart.googlesource.com/test.git/+/711978a0 Merge branch 'master' into merge-test_descriptor-package https://dart.googlesource.com/test.git/+/fea78528 Update URL secret generation to use Random.secure() (2432) https://dart.googlesource.com/test.git/+/8366c616 test: allow latest pkg:matcher (2431) https://dart.googlesource.com/test.git/+/9f70ed27 Moving fixes https://dart.googlesource.com/test.git/+/b42c80e7 Add issue template and other fixes https://dart.googlesource.com/test.git/+/9d7c6dc5 Merge package:test_descriptor into the test monorepo https://dart.googlesource.com/test.git/+/4d404120 Bump dart-lang/setup-dart in the github-actions group (dart-lang/test_descriptor74) https://dart.googlesource.com/test.git/+/7369e36a Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group (dart-lang/test_descriptor73) https://dart.googlesource.com/test.git/+/3184eef9 blast_repo fixes (dart-lang/test_descriptor72) https://dart.googlesource.com/test.git/+/d137708d Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group (dart-lang/test_descriptor71) https://dart.googlesource.com/test.git/+/3dc3cbe3 Fix angle brackets in doc comments (dart-lang/test_descriptor70) https://dart.googlesource.com/test.git/+/a9284c19 Bump the github-actions group with 2 updates (dart-lang/test_descriptor69) https://dart.googlesource.com/test.git/+/bffa621f update lints (dart-lang/test_descriptor68) https://dart.googlesource.com/test.git/+/62cda695 Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group (dart-lang/test_descriptor67) https://dart.googlesource.com/test.git/+/67dc6e8d Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group (dart-lang/test_descriptor66) https://dart.googlesource.com/test.git/+/e74c332d blast_repo fixes (dart-lang/test_descriptor65) https://dart.googlesource.com/test.git/+/3f87f74a Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/test_descriptor64) https://dart.googlesource.com/test.git/+/18b52879 Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/test_descriptor63) https://dart.googlesource.com/test.git/+/c8528c20 Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/test_descriptor62) https://dart.googlesource.com/test.git/+/db63bd7f Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/test_descriptor61) https://dart.googlesource.com/test.git/+/4f32b9bd Bump and fix latest lints, require Dart 3.1 (dart-lang/test_descriptor60) https://dart.googlesource.com/test.git/+/80e218d2 Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/test_descriptor59) https://dart.googlesource.com/test.git/+/dad38786 Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/test_descriptor58) https://dart.googlesource.com/test.git/+/90e0e41d Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/test_descriptor57) https://dart.googlesource.com/test.git/+/ed138a97 Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/test_descriptor56) https://dart.googlesource.com/test.git/+/4964036b Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/test_descriptor55) https://dart.googlesource.com/test.git/+/23876d6d Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/test_descriptor53) https://dart.googlesource.com/test.git/+/69447aef update formatting for recent lints (dart-lang/test_descriptor54) https://dart.googlesource.com/test.git/+/64b9f9ab blast_repo fixes (dart-lang/test_descriptor52) https://dart.googlesource.com/test.git/+/5d041fe5 Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/test_descriptor51) https://dart.googlesource.com/test.git/+/6e1e9983 Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/test_descriptor49) https://dart.googlesource.com/test.git/+/8a467122 Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/test_descriptor50) https://dart.googlesource.com/test.git/+/f95831e1 Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/test_descriptor48) https://dart.googlesource.com/test.git/+/268564a0 Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/test_descriptor47) https://dart.googlesource.com/test.git/+/c2f2a40f Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/test_descriptor46) https://dart.googlesource.com/test.git/+/fc7b4ec6 update lints (dart-lang/test_descriptor45) https://dart.googlesource.com/test.git/+/7f94d3ba update the CI configuration; prep for publishing (dart-lang/test_descriptor44) https://dart.googlesource.com/test.git/+/25339efd Add permission key to CI (dart-lang/test_descriptor43) https://dart.googlesource.com/test.git/+/068bd476 Remove deprecated experimental invariant_booleans lint rule (dart-lang/test_descriptor42) https://dart.googlesource.com/test.git/+/c4a9f9c3 Move TestOn annotation to library level (dart-lang/test_descriptor41) https://dart.googlesource.com/test.git/+/1b703a62 populate the repository field (dart-lang/test_descriptor40) https://dart.googlesource.com/test.git/+/d34b480e Bump actions/checkout from 2 to 3 (dart-lang/test_descriptor39) https://dart.googlesource.com/test.git/+/f22b8ebf Migrate to pkg:lints, enable two disable lints (dart-lang/test_descriptor38) https://dart.googlesource.com/test.git/+/81a712bc Bump dart-lang/setup-dart from 0.3 to 1 (dart-lang/test_descriptor36) https://dart.googlesource.com/test.git/+/9f8f62be Add dependabot https://dart.googlesource.com/test.git/+/64f5c516 Update LICENSE (dart-lang/test_descriptor35) https://dart.googlesource.com/test.git/+/6f4fcb0b stable null safety release (dart-lang/test_descriptor34) https://dart.googlesource.com/test.git/+/6ea0b782 Migrate to GitHub Actions (dart-lang/test_descriptor33) https://dart.googlesource.com/test.git/+/cb319bf7 Remove unused dart:async imports. (dart-lang/test_descriptor32) https://dart.googlesource.com/test.git/+/a09855d1 Remove unused dependency on package:meta (dart-lang/test_descriptor31) https://dart.googlesource.com/test.git/+/07879dd7 clean up some apis (dart-lang/test_descriptor30) https://dart.googlesource.com/test.git/+/7e7be216 Migrate to null safety (dart-lang/test_descriptor29) https://dart.googlesource.com/test.git/+/5d74c520 Migrate to runZonedGuarded (dart-lang/test_descriptor28) https://dart.googlesource.com/test.git/+/7c4677c7 Remove unused dart:async imports (dart-lang/test_descriptor27) https://dart.googlesource.com/test.git/+/53f4eeda Remove unused dep on package:stack_trace (dart-lang/test_descriptor26) https://dart.googlesource.com/test.git/+/eaf1432c Bump min Dart SDK to 2.7 (dart-lang/test_descriptor24) https://dart.googlesource.com/test.git/+/65d7dbc1 remove author from pubspec https://dart.googlesource.com/test.git/+/1959a778 Fix newly enforced package:pedantic lints (dart-lang/test_descriptor23) https://dart.googlesource.com/test.git/+/5defcba3 Fix URLs https://dart.googlesource.com/test.git/+/7237f103 Test on oldest supported Dart SDK (2.0.0) https://dart.googlesource.com/test.git/+/bf11985c Add an archive descriptor (dart-lang/test_descriptor21) https://dart.googlesource.com/test.git/+/139dfc9a Fix missing_return violation newly enforced in Dart ~2.3.2-dev.0.1 (dart-lang/test_descriptor20) https://dart.googlesource.com/test.git/+/a115baf3 Enable and fix a number of lints, test on the oldest supported SDK (dart-lang/test_descriptor19) https://dart.googlesource.com/test.git/+/19126871 Merge pull request dart-lang/test_descriptor18 from dart-lang/dart-2-ready https://dart.googlesource.com/test.git/+/9f15b417 Don't run Travis on stable. https://dart.googlesource.com/test.git/+/c2dab5a2 Fix dart:convert "UTF8" -> "utf8". https://dart.googlesource.com/test.git/+/0f753c2a Fix code awaiting void values, for dart 2. https://dart.googlesource.com/test.git/+/d9a6cac0 Add helpers to make it easier to do stuff in the sandbox (dart-lang/test_descriptor13) https://dart.googlesource.com/test.git/+/1bf333d5 Merge pull request dart-lang/test_descriptor14 from dart-lang/test-update https://dart.googlesource.com/test.git/+/f188cdf4 Support test 1.x.x https://dart.googlesource.com/test.git/+/f22a69b7 Remove comment-based generic syntax (dart-lang/test_descriptor10) https://dart.googlesource.com/test.git/+/5365a292 Enable Travis-CI (dart-lang/test_descriptor8) https://dart.googlesource.com/test.git/+/94160377 Declare support for async 2.0.0 (dart-lang/test_descriptor5) https://dart.googlesource.com/test.git/+/92094aa7 Fix a broken link in the README. (dart-lang/test_descriptor4) https://dart.googlesource.com/test.git/+/07201491 Fix a precedence bug in DirectoryDescriptor.load(). (dart-lang/test_descriptor2) https://dart.googlesource.com/test.git/+/b16348df Allow malformed UTF-8. (dart-lang/test_descriptor3) https://dart.googlesource.com/test.git/+/3934d0b1 Add the contents of the package. (dart-lang/test_descriptor1) https://dart.googlesource.com/test.git/+/4029d524 Add template files. ``` Diff: https://dart.googlesource.com/test.git/+/165608a34917dcfc281ba67d64a814c57ae05c4e..f364fc8291d668d85c702a5b9f9a4f2e5c1ade0e/ Change-Id: I63caf02364479e58644757884a167c1791bb77f6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/402902 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Auto-Submit: Devon Carew <devoncarew@google.com> https://dart.googlesource.com/sdk/+/0a0134613b9ebc0453faaedc413ca6357e034d2e
Monorepo is:
With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:
mkdir monorepo cd monorepo gclient config --unmanaged https://dart.googlesource.com/monorepo gclient sync -D
This gives you a checkout in the monorepo directory that contains:
monorepo/ DEPS - the DEPS used for this gclient checkout commits.json - the pinned commits for Dart, flutter/engine, and flutter/flutter tools/ - scripts used to create monorepo DEPS engine/src/ - the flutter/buildroot repo flutter/ - the flutter/engine repo out/ - the build directory, where Flutter engine builds are created third_party/ - Flutter dependencies checked out by DEPS dart/ - the Dart SDK checkout. third_party - Dart dependencies, also used by Flutter flutter/ - the flutter/flutter repo
Flutter's instructions for building the engine are at Compiling the engine
They can be followed closely, with a few changes:
goma_ctl ensure_start
is sufficient.Example build commands that work on linux:
MONOREPO_PATH=$PWD if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then PATH=$MONOREPO_PATH/flutter/bin:$PATH fi export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin goma_ctl ensure_start pushd engine/src flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk autoninja -C out/host_debug_unopt popd
The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine
option is provided.
For example, to build and run the Flutter spinning square sample on the web platform,
MONOREPO_PATH=$PWD cd flutter/examples/layers flutter --local-engine=host_debug_unopt \ -d chrome run widgets/spinning_square.dart cd $MONOREPO_PATH
To build for desktop, specify the desktop platform device in flutter run
as -d macos
or -d linux
or -d windows
. You may also need to run the command
flutter create --platforms=windows,macos,linux
on existing apps, such as sample apps. New apps created with flutter create
already include these support files. Details of desktop support are at Desktop Support for Flutter
Tests in the Flutter source tree can be run with the flutter test
command, run in the directory of a package containing tests. For example:
MONOREPO_PATH=$PWD cd flutter/packages/flutter flutter test --local-engine=host_debug_unopt cd $MONOREPO_PATH
Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.
We will update this documentation to address them.
flutter
commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.gclient sync
needs to be run in an administrator session, because some installed dependencies create symlinks.