[ci] Removes bespoke web scripts.#4129
Conversation
|
I think this PR can ignore the changelog and versioning checks, since all it's doing is removing non-standard scripts that trip those checks :) |
@stuartmorgan I gave this some thought before removing custom scripts, and there's a couple of things that bothered me:
Minor annoyances, really, and I'm not sure if they warrant a fix or they're a quirk of the way I'm used to working with the repo! |
92b6c80 to
68dfde1
Compare
That's definitely annoying; I'd gotten so used to it that it hadn't occurred to me that we can easily fix it now: flutter/flutter#128231
I pared
This one is probably best left out of the tool since adding it in a cross-platform way would be kind of a pain. But if we fix the others then your wrapper script can just be that one check. |
|
Thanks for creating the tracking issues!
I haven't tried the check in a while, it might be something that can be made part of |
68dfde1 to
7c48a7b
Compare
flutter/packages@db4e5c2...da72219 2023-06-06 [email protected] remove unnecessary typed_data imports (flutter/packages#4136) 2023-06-06 [email protected] [local_auth_android] Bump androidx.fragment to 1.5.7 and androidx.core to 1.10.1 (flutter/packages#4142) 2023-06-05 [email protected] [google_maps] Endorses package:google_maps_flutter_web. (flutter/packages#4124) 2023-06-05 [email protected] [ci] Removes bespoke web scripts. (flutter/packages#4129) 2023-06-05 [email protected] [webview_flutter]: fix typo (flutter/packages#4070) 2023-06-05 49699333+dependabot[bot]@users.noreply.github.com [camera]: Bump com.google.guava:guava from 31.1-android to 32.0.0-android in /packages/camera/camera_android_camerax/android (flutter/packages#4116) 2023-06-05 [email protected] [tools] Fix OOB test error (flutter/packages#4144) 2023-06-05 [email protected] [path_provider] Allow win32 up to version 5.x (flutter/packages#4125) 2023-06-05 49699333+dependabot[bot]@users.noreply.github.com [sign_in]: Bump com.google.guava:guava from 31.1-android to 32.0.0-android in /packages/google_sign_in/google_sign_in_android/android (flutter/packages#4112) 2023-06-05 49699333+dependabot[bot]@users.noreply.github.com [video_player]: Bump exoplayer_version from 2.18.6 to 2.18.7 in /packages/video_player/video_player_android/android (flutter/packages#4053) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Now that the repo tooling is always run from source, not via `pub global`, we no longer need to infer the repo location from the current directory. Instead, hard-code knowledge of where the repository root is. This makes it much easier to run the tooling, since it's common to be in a package directory rather than the repo root. To make it even easier to run from within a package, this also adds a `--current-package` as an alternative to `--packages`. This makes it possible to, e.g., write local wrapper scripts that run a specific set of commands on whatever the current package happens to be (such as a generic version of the script discussed in #4129). As related cleanup, makes the tool non-publishable (we haven't been publishing it since the repo merge, but I never made it unpublishable; this is important now that it would not work if published) and remove the LICENSE and CHANGELOG since it's no longer a stand-alone package. Fixes flutter/flutter#128231 Fixes flutter/flutter#128232
Removes the bespoke scripts (
regen_mocks.sh,run_test.sh) that I had added to web packages.I'll keep those in my own
~/binmoving forward, since I'm not sure anybody else actually used/needed them other than myself :)Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.