226 Commits

Author SHA1 Message Date
1469b765ee [tool] Rename all-plugins-app command (#6600) 2022-10-31 17:42:58 +00:00
60ffcafcd5 [tool] Update tool to set macOS deployment target to 10.15. (#6605) 2022-10-28 15:09:30 +00:00
fc3e2b1d1e Update Gradle and AGP in examples to 7.0 (#6625) 2022-10-26 19:42:05 +00:00
d328840973 [tool] Get dependencies in package examples before publish check. (#6596) 2022-10-20 23:47:37 +00:00
159a3042b2 [tool] Fix version mistake in CHANGELOG (#6552) 2022-10-07 22:35:03 +00:00
28bdd6dff8 [tool] Improve changed-package run mode logging (#6521) 2022-09-30 21:55:50 +00:00
d231b240f1 [tool] Only run postsubmit on changed packages (#6516) 2022-09-30 14:53:12 +00:00
70ff6821af [tool] Adds a fix command (#6512) 2022-09-28 20:51:15 +00:00
92330dbd2c Enable no_leading_underscores_for_local_identifiers (#6509) 2022-09-28 18:22:46 +00:00
2e2c4c5837 Enable prefer_relative_imports (#6501) 2022-09-28 14:25:24 +00:00
9974a8ef44 [tool] Clean up "plugin" references (#6503) 2022-09-27 19:43:04 +00:00
ecaf5a954b [tools] Add 'run_tests.sh' to the dev-only list (#6474) 2022-09-23 21:38:04 +00:00
5a069fe5b3 [tools] Require implementation package README warning (#6459) 2022-09-22 16:11:56 +00:00
1aa2e82b56 [tools] Improves version-check logic (#6354)
Improves the logic used to determine whether to require a version and/or CHANGELOG change:
- Removes the requirement that dev-only (e.g., test) changes update the CHANGELOG, since in practice we were essentially always overriding in that case.
- Adds file-level analysis of `build.gradle` files to determine whether they are only changing test dependencies.
- Improves the "is this a published example file" logic to better match pub.dev's logic, to fix some false positives and false negatives (e.g., `rfw`'s `example/<foo>/lib/main.dart` being considered published).

Removes the no-longer-necessary special-case handling of some Dependabot PRs, as well as the PR-description-based system it was built on (and that turned out not to be very useful due to the way `CIRRUS_CHANGE_MESSAGE` actually worked). `build.gradle` analysis should not cover all such cases, and without the need to hard-code them by package name.
2022-09-09 13:52:16 -04:00
edcd2662e6 Add missing submodule command to setup for packages repo. (#6276) 2022-09-02 13:22:13 +00:00
e353d4a284 [webview]: Bump webkit from 1.0.0 to 1.5.0 in /packages/webview_flutter/webview_flutter_android/android (#6325) 2022-08-31 23:18:32 +00:00
33b29cd7a0 Upload firebase test result to a buket in flutter-cirrus. (#6337) 2022-08-30 22:54:04 +00:00
8ceef0db44 [tools] Validate code excerpt configuration (#6286) 2022-08-26 20:51:20 +00:00
2e2d4d265d Adds info about commands requiring Flutter-bundled dart (#6312) 2022-08-26 18:40:55 +00:00
d20563f6f4 Uncomments avoid_redundant_argument_values in analysis_options.yaml (#6163) 2022-08-08 23:52:06 +00:00
2b712593b4 [ci] Run analyze with minimum resolved packages (#6207) 2022-08-05 20:33:05 +00:00
62141c86f1 Move Cirrus task logs to flutter-infra-staging project (#6180)
* Changed cirrus logging to flutter-firebase-testlab-staging

* Fix test data
2022-08-04 16:25:42 -07:00
1725b0721d [script] fix script noop interpolated toString()s (#6175) 2022-08-03 22:16:04 +00:00
1fbf2f6219 [camera_windows] Improve several error handling scenarios (#6149) 2022-07-28 23:16:05 +00:00
b83209e3e5 [tool] Switch PR description overrides over to labels (#6145) 2022-07-27 17:59:04 +00:00
f2d9f51dd1 [path_provider] Restore 2.8 compatibility on Android and iOS (#6039)
Adds a new repo tooling command that removes dev_dependencies, which
aren't needed to consume a package, only for development. Also adds
a --lib-only flag to analyze to analyze only the client-facing code.
This is intended for use in the legacy analyze CI steps, primarily to
solve the problem that currently plugins that use Pigeon can't support a
version of Flutter older than the version supported by Pigeon, because
otherwise the legacy analysis CI steps fail.

Adds this new command to the legacy analysis CI step, and restores
the recently-removed 2.8/2.10 compatibility to path_provider.
2022-07-27 13:13:05 -04:00
c8e2e07857 [tool] Include dev_dependencies in make-deps-path-based (#6146) 2022-07-26 00:18:03 +00:00
f972cb1500 [tool] Handle dependabot commit messages (#6127) 2022-07-21 00:15:06 +00:00
223a080ad6 [tool] Bypass version/changelog checks for some PRs (#6124) 2022-07-20 20:15:04 +00:00
b74ce39eb1 [tools] Allow pre-release versions (#6061) 2022-07-01 11:54:04 -07:00
b232558eb8 [tools] Allow skipping packages by Dart version (#6038) 2022-06-30 16:34:08 -07:00
840feda14f [ci] Ensure complete dependabot coverage (#5976) 2022-06-22 11:29:12 -07:00
79eb10169a [tools] Check integration tests for test (#5936) 2022-06-08 14:53:09 -07:00
66824fd7e6 [various] Clean up obsolete references to "master" (#5912) 2022-06-06 12:23:10 -07:00
7877a8beb0 [google_maps_flutter] Updates platform interface to new analysis options (#5793) 2022-05-23 11:08:08 -07:00
dd2fc61b1c [tools] Add update-release-info (#5643) 2022-05-18 16:17:29 -07:00
ca9a81d653 [ci/tools] Add iOS/macOS analysis to catch deprecated code (#5778) 2022-05-18 08:47:12 -07:00
517d3761f2 [tools] Validate example READMEs (#5775) 2022-05-17 17:32:10 -07:00
5f2b2300ef [tools] Fix publish flag calculation (#5694) 2022-05-13 17:34:12 -07:00
e8b4147fcc Re-sync analysis_options.yaml with flutter/flutter (#5695)
The analysis options have gotten behind; this re-syncs to the current state of flutter/flutter. For options that are non-trivial to enable, either because they are non-trivial to fix, or touch a very large number of files, they are locally disabled with clear "LOCAL CHANGE" markers so that it's obvious where we are out of sync. For options that are simple to resolve, they are enabled in the PR.

Part of https://github.com/flutter/flutter/issues/76229
2022-05-11 11:48:47 -04:00
9544f04a50 Re-land: Enable lints library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors (#5692)
Re-lands https://github.com/flutter/plugins/pull/5428

This is a revert of flutter/plugins#5691 (the revert of the above) with the following changes:
- Excludes the repo tooling changes that had to be added to the revert, since we want those
- Fixes local_auth:
    - Updates code for the new analysis failure
    - Fixes the bad version merge that dropped the version change
- Reverts a version change in `file_selector_platform_interface`, which didn't otherwise change
2022-05-10 14:43:28 -04:00
1a124b18d3 Revert "Enable lints library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors" (#5691)
This reverts commit 5d92a4717a7a266f485974ff5403122ef2570935.

This includes a fix for a latent bug in the version-check repo tooling command that caused it to fail when reverting a package that previously had a NEXT section, so that tests will pass.
2022-05-10 13:05:18 -04:00
5d92a4717a Enable lints library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors (#5428) 2022-05-09 11:54:11 -07:00
5ec6644f3f [tools] Convert test utils to RepositoryPackage (#5605) 2022-05-03 14:14:11 -07:00
5a06b47e51 [tools] Remove single-example RepositoryPackage method (#5600) 2022-05-03 10:59:11 -07:00
1186d6831f [flutter_plugin_tools] Include examples in test (#5453) 2022-05-02 21:44:10 -07:00
fbf53f284b [flutter_plugin_tools] Support non-plugin packages for drive-examples (#5468) 2022-05-02 14:44:12 -07:00
d43fae6fb4 [flutter_plugin_tools] Validate code blocks in readme-check (#5436) 2022-04-28 19:29:09 -07:00
6770bf9245 [flutter_plugin_tools] Remove UWP (#5432) 2022-04-28 10:19:12 -07:00
4cecb9b264 [flutter_plugin_tools] Adds update-excerpts command (#5339) 2022-04-28 09:34:11 -07:00