Commit Graph

75 Commits

Author SHA1 Message Date
Nate
3267fbc07a
Implement switch expressions in dev/ (#139048)
I previously made a PR (#136140) that used `switch` expressions to make some parts of the Flutter codebase easier to understand. It was assigned to the framework team, and @christopherfujino let me know that it was too large to effectively review and recommended breaking it up into smaller pull requests.

Here's a PR that only targets files in the `dev/` directory. Hopefully this will be easier to work with!

(solves issue https://github.com/flutter/flutter/issues/136139)
2023-11-28 23:40:28 +00:00
Casey Hillers
d9634155ab
[conductor] Remove PublishChannel and use MPA command (#135884)
Move more of the playbook into conductor. The MPA command inputs are prone to human error.
2023-10-09 21:13:55 +00:00
Chris Yang
22e4088134
codeisn extension safe iOS framework (#134966)
Update the conductor to code sign extension safe iOS frameworks
The new frameworks are added in
https://github.com/flutter/engine/pull/45781/files

part of https://github.com/flutter/flutter/issues/124291

Also includes an Engine roll includes:

9232e76c30

39c0f2ea1f

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2023-09-20 11:50:04 -07:00
Zachary Anderson
118c2df776
Allows adding a storage 'realm' to the storage base URL (#131951)
Context: https://github.com/flutter/flutter/issues/131862

This PR injects a "realm" component to the storage base URL when the contents of the file `bin/internal/engine.realm` is non-empty.

As documented in the PR, when the realm is `flutter_archives_v2`, and `bin/internal/engine.version` contains the commit hash for a commit in a `flutter/engine` PR, then the artifacts pulled by the tool will be the artifacts built by the presubmit checks for the PR.

This works for everything but the following two cases:
1. Fuchsia artifacts are not uploaded to CIPD by the Fuchsia presubmit builds.
2. Web artifacts are not uploaded to gstatic by the web engine presubmit builds.

For (1), the flutter/flutter presubmit `fuchsia_precache` is driven by a shell script outside of the repo. It will fail when the `engine.version` and `engine.realm` don't point to a post-submit engine commit.

For (2), the flutter/flutter web presubmit tests that refer to artifacts in gstatic hang when the artifacts aren't found, so this PR skips them.
2023-08-09 23:26:05 +00:00
Christopher Fujino
b89bfd8e37
re-enable "Linux packages_autoroller" (#130088)
Fixes https://github.com/flutter/flutter/issues/129744

This change:

1. re-enables the Linux packages_autoroller
2. ensures we redact the token from appearing in any logs (in local testing I realized some failure logs might still expose the token)

What actually fixed authentication however was creating and uploading a new GitHub personal access token, not this change.

It's currently failing post-submit because being marked `bringup` it is running in the try pool, which does not have permissions to access the cloud KMS. However, I ran a LED build in the prod pool that succeeded:

3a8f128c35/+/build.proto
2023-07-10 19:32:56 +00:00
Christopher Fujino
67b7aa22c2
Change pub roller bot to push to flutter-pub-roller-bot/flutter.git (#129844)
Fixes https://github.com/flutter/flutter/issues/129744
Part of https://github.com/flutter/flutter/issues/129847

Migrate the packages_autoroller script to push to
flutter-pub-roller-bot/flutter.git, rather than
fluttergithubbot/flutter.git.
2023-06-30 16:28:00 -07:00
Christopher Fujino
0d2772238e
migrate the package_autoroller from querying by label to title (#128066)
Fixes https://github.com/flutter/flutter/issues/128067
2023-06-01 22:16:50 +00:00
Michael Goderbauer
5e1ba701ed
enable no_literal_bool_comparisons lint (#126647) 2023-05-16 16:14:23 +00:00
Michael Goderbauer
fda9ecfef7
Remove 1745 decorative breaks (#123259)
Remove 1745 decorative breaks
2023-03-22 21:12:22 +00:00
Zachary Anderson
055769e63a
Roll Flutter Engine from 3194afad72f0 to 7ee528267b03 (4 revisions) (#122806) 2023-03-16 09:24:20 -07:00
Casey Hillers
22e33275b5
[conductor] Roll engine->flutter whenever version is out of date (#121502)
[conductor] Roll engine whenever version is out of date
2023-03-03 18:10:09 +00:00
Casey Hillers
d193f050b5
[conductor] Remove cherrypick option (#121405)
[conductor] Remove cherrypick option
2023-02-27 15:00:26 +00:00
Kevin Chisholm
dfe7f841b3
[Conductor] Add documentation to individual files (#121277)
* add documentation to files

* Update dev/conductor/core/lib/src/stdio.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/start.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/repository.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/next.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/git.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/git.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update stdio.dart

---------

Co-authored-by: Christopher Fujino <fujino@google.com>
2023-02-24 09:44:15 -06:00
Lioness100
26b6c1bedd
Fix typos (#121171)
* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-02-23 19:43:21 +00:00
Ian Hickson
6205c110d6
Remove "note that" in our documentation (as per style guide) (#120842)
* lerp documentation

* Remove Note, Note That from repo

* Improve BorderSide documentation.

* apply review comments
2023-02-17 22:27:33 +00:00
Casey Hillers
65fd924d84
[conductor] Remove CiYaml model (#120458)
* [conductor] Remove CiYaml model

* Remove package:yaml

* Update pubspec checksum
2023-02-10 20:29:31 +00:00
Casey Hillers
b2e37c6592
[conductor] Tag engine versions (#120419)
* [conductor] Tag engine versions

* Move tag to repository
2023-02-10 19:01:04 +00:00
Kevin Chisholm
484d881f27
[conductor] update console link (#118338)
* update console link

* update test to include new console link
2023-02-01 14:05:45 -06:00
Michael Goderbauer
ec51d3271e
Remove unnecessary null checks in ‘dev/conductor’ (#118843)
* Remove unnecessary null checks in dev/conductor

* review
2023-01-20 04:04:08 +00:00
Phil Quitslund
f9acb1e88c
-- unnecessary parens (#117081) 2022-12-14 21:18:37 +00:00
Kevin Chisholm
4a55eefa38
[conductor] Add instructions to update oncall logs (#115871)
* add retro instructions

* make message more noticable
2022-12-02 11:17:17 -06:00
Xilai Zhang
30efcf406b
[flutter_conductor] Conductor should stop mirroring beta releases to dev (#100716) 2022-09-21 16:19:20 +00:00
Kevin Chisholm
02c8fb35f1
Add prompt to publish on discord (#111154) 2022-09-08 02:21:21 +00:00
Kevin Chisholm
c49531f02c
[Conductor] Prefer ssh over https (#110591) 2022-08-30 17:07:13 +00:00
Kevin Chisholm
21d3c3f255
replace engine and framework mirror args with github username arg (#109239) 2022-08-10 21:03:32 +00:00
Christopher Fujino
3ce2ab9159
Auto-submit pub packages autoroll PRs (#108635) 2022-07-29 19:53:05 +00:00
engine-flutter-autoroll
54bd629780
Roll Flutter Engine from efc604ee6256 to 0f83a6fbc443 (15 revisions) (#107894) 2022-07-19 04:12:06 +00:00
Christopher Fujino
aac5e95ae5
[flutter_tools] refactor packages_autoroller.dart script (#106580) 2022-06-27 14:09:10 -07:00
Christopher Fujino
a30012b275
Add update packages roller (#100982) 2022-06-22 17:04:07 -07:00
Mouad Debbar
f67d9b75f5
Revert "[Conductor] Update post submit location (#106120)" (#106127)
This reverts commit 9e67070f84.
2022-06-16 15:55:37 -04:00
Kevin Chisholm
9e67070f84
[Conductor] Update post submit location (#106120)
* readability refactor

* update post-submits

Update post submit testing status location from LUCI to cocoon.  Conductor users will still have to use navigation to pick the correct repository and release candidate to monitor.
2022-06-16 14:20:07 -05:00
Kevin Chisholm
a7ddb9b64e
readability refactor (#106026) 2022-06-15 13:14:18 -05:00
engine-flutter-autoroll
9651f1d717
Roll Flutter Engine from fce741dd83cf to 8ab17202937d (7 revisions) (#103982)
* e0f736dab Set error handler (flutter/engine#33402)

* dcd596a99 Roll Dart SDK from 381855557df2 to f3bf9025c141 (1 revision) (flutter/engine#33411)

* 5c2a16e07 Roll Fuchsia Linux SDK from F0_B8WVKY... to IZ7_b83xC... (flutter/engine#33415)

* 4958a245a Roll dart sdk to 1bdb83bddf96c41cc046810c697a2c80bfaaaf19 (flutter/engine#33416)

* d2fd3d852 Roll Fuchsia Mac SDK from t_ky8l6nb... to egBfZMmTP... (flutter/engine#33417)

* d58fc83f1 Roll Dart SDK from 1bdb83bddf96 to 0bc104c3e959 (1 revision) (flutter/engine#33419)

* 8ab172029 Roll Skia from 0a5146ca3ffd to 16fa353926b8 (28 revisions) (flutter/engine#33420)

* Remove fraction translation

* Update codesign.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2022-05-17 11:45:05 -07:00
engine-flutter-autoroll
7d234c966a
Roll Flutter Engine from 58193a3b6ef1 to 10e0e15347d3 (5 revisions) (#103742)
* c4b899f63 Roll dart sdk to 7b24ff4d92e2d2136020fc5bedadfe7025861510 (flutter/engine#33309)

* 7956603cc [web] Migrate Flutter Web DOM usage to JS static interop - 12. (flutter/engine#33241)

* 1d0c2ae6f Roll Skia from 1e43dce386c9 to f6e31bf1dcfb (6 revisions) (flutter/engine#33320)

* ed5a2fef0 Roll Skia from f6e31bf1dcfb to 69fecd6c2d85 (1 revision) (flutter/engine#33322)

* 10e0e1534 Revert "[web] Migrate Flutter Web DOM usage to JS static interop - 12. (#33241)" (flutter/engine#33321)

* fix local tests

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2022-05-13 14:30:19 -07:00
Casey Hillers
0bcdd8d89d
[conductor] Fix branch version to use framework branch (#103381) 2022-05-11 17:59:09 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() (#103226) 2022-05-06 16:04:13 -07:00
engine-flutter-autoroll
f7db489366
Roll Engine from d73708ca8882 to c08675194a66 (16 revisions) (#103103) 2022-05-04 20:34:09 -07:00
Kevin Chisholm
6ce794e034
update post release steps with links to release items (#102822) 2022-04-29 13:51:15 -05:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
engine-flutter-autoroll
de6689aaa3
Roll Engine from 4df9cf27052b to 79152137a94c (8 revisions) (#102551)
* b2ca1ce53 [web] Migrate Flutter Web to JS static interop - 14. (flutter/engine#32683)

* d3886d6c5 Roll Fuchsia Linux SDK from MbA1RtjV4... to YyokSAVV4... (flutter/engine#32907)

* 0aca7c0a1 Roll Skia from 4f33f5bef8eb to f8e52b27aa70 (4 revisions) (flutter/engine#32911)

* ccf075470 Roll Skia from f8e52b27aa70 to 74742130b08d (2 revisions) (flutter/engine#32913)

* a2d8df99e Roll Skia from 74742130b08d to 82146a7fcde2 (1 revision) (flutter/engine#32914)

* 1e19613db Roll Fuchsia Mac SDK from JVNKiIJWP... to Jki3kG8_P... (flutter/engine#32916)

* 65bc7e348 Roll Dart SDK from 865c2ff0940e to e89b629ed91d (1 revision) (flutter/engine#32917)

* 79152137a Revert "[web] Migrate Flutter Web to JS static interop - 14. (#32683)" (flutter/engine#32919)

* Add impellerc to conductor codesigning list

* Update coductor codesigning for libtessellator.dylib

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2022-04-25 22:02:38 -07:00
Kevin Chisholm
0f0da62fed
update console output to specify post release steps (#102173)
* update console output to specify post release steps

* move post release instructions

* update instructions for beta vs stable

* add logic to differentiate beta and stable steps
2022-04-20 09:56:09 -05:00
engine-flutter-autoroll
8785dbee8d
Roll Engine from dd6ef5dd5b68 to 5ab671f54e17 (1 revision) (#102012) 2022-04-15 16:52:12 -07:00
Christopher Fujino
462427d53c
[flutter_conductor] fix conductor codesign --upstream flag (#101782) 2022-04-13 10:39:05 -07:00
Michael Goderbauer
ca2d60e8e2
Prepare more of dev for use_super_parameters (#101073) 2022-03-30 14:05:05 -07:00
Casey Hillers
a3d8026993
[flutter_conductor] Add candidate branch version to releases (#100781) 2022-03-25 12:28:57 -07:00
Christopher Fujino
0adf9671f8
[flutter_conductor] clone from remote upstream, and not local filesystem (#100335) 2022-03-18 11:20:15 -07:00
Christopher Fujino
7a60b6eea6
[flutter_conductor] Fix conductor start branch point (#100170) 2022-03-15 19:20:17 -07:00
Christopher Fujino
38dbbb17f8
[flutter_conductor] deprecate increment (#99189) 2022-03-01 12:11:22 -08:00
Christopher Fujino
fac90f44ba
[flutter_conductor] log to stderr but do not crash conductor if branch name validation fails (#99181) 2022-02-25 15:26:16 -08:00
Christopher Fujino
74881c12bd
[flutter_conductor] fix auto-tagging branch point (#98618) 2022-02-18 16:19:25 -08:00