Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[many] More v1 embedding deletion that was missed in https://github.com/flutter/packages/pull/6494 #6923

Merged
merged 15 commits into from
Jun 20, 2024

Conversation

gmackall
Copy link
Member

@gmackall gmackall commented Jun 13, 2024

There were some additional v1 Android embedding references missed by #6494.

This PR aims to remove those missed references.

I built the android example app of each plugin affected here on the deletion branch to be completely sure:

  • video_player
  • google_sign_in (builds, but only with the fixes to espresso applied).
  • espresso
  • in_app_purchase
  • image_picker (builds, but only with the fixes to both espresso and video_player applied)

Final testing, I tested that the all_packages app builds on the v1 embedding deletion branch:

$ ./.ci/scripts/create_all_packages_app.sh && cd all_packages
...
$ flutter build apk --debug --local-engine-src-path=/Users/mackall/development/engine/src --local-engine=android_debug_arm64 --local-engine-host=host_debug

Running Gradle task 'assembleDebug'...                              4.8s
✓ Built build/app/outputs/flutter-apk/app-debug.apk

🎉

Linux repo checks are failing

The following packages had errors:
  packages/google_maps_flutter/google_maps_flutter:
    Missing CHANGELOG change
  packages/palette_generator:
    Missing CHANGELOG change
  packages/quick_actions/quick_actions:
    Missing CHANGELOG change
  packages/webview_flutter/webview_flutter:
    Missing CHANGELOG change

The only changes to these packages are xml changes to example apps which won't cause build failures even when the v1 embedding is deleted (they will just be unused). So I believe these changes should be version exempt.

Pre-launch Checklist

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

@gmackall
Copy link
Member Author

cc @stuartmorgan for a versioning question (no rush) - In a PR like this, where a fix to google_sign_in depends on a fix to espresso, will I need to land the fix to the latter first, and then put up a follow up PR to fix the former?

@gmackall gmackall marked this pull request as ready for review June 17, 2024 23:37
@gmackall gmackall requested a review from a team June 17, 2024 23:37
@gmackall
Copy link
Member Author

  • If google_sign_in's tests now actually require a higher version of espresso to successfully run, then that should be expressed in pubspec.yaml, which will require the espresso change to be published first.

It will require a newer espresso version to run when flutter/engine#52022 lands, but does not at this time

@gmackall
Copy link
Member Author

  • If google_sign_in's tests now actually require a higher version of espresso to successfully run, then that should be expressed in pubspec.yaml, which will require the espresso change to be published first.

It will require a newer espresso version to run when flutter/engine#52022 lands, but does not at this time

I believe this means it should be safe to land in the same PR

Also, separately from the versioning question would also appreciate your review, when you have a chance @stuartmorgan (not a rush just a clarification that the review request wasn't only for versioning question 🙂 )

@stuartmorgan
Copy link
Contributor

I believe this means it should be safe to land in the same PR

Agreed, I don't expect any issue given that. And if it weren't safe, I would expect presubmits to fail, since the native tests in CI are not using path-based deps.

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo making format happy.

@stuartmorgan stuartmorgan added the override: no changelog needed Override the check requiring CHANGELOG updates for most changes label Jun 19, 2024
@stuartmorgan
Copy link
Contributor

Overriding CHANGELOG check: the manifest XML changes are not interesting to clients, so don't need to be mentioned.

@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 20, 2024
@auto-submit auto-submit bot merged commit b135e2a into flutter:main Jun 20, 2024
74 checks passed
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 25, 2024
flutter/packages@711b4ac...03f5f6d

2024-06-24 [email protected] [interactive_media_ads] Fix README badge image URL (flutter/packages#6979)
2024-06-24 [email protected] [multicast_dns] Optimized Socket Binding: Always bind to 0.0.0.0 for simplicity and efficiency - #79772 (flutter/packages#6700)
2024-06-24 [email protected] [flutter_adaptive_scaffold] Allows for the animation duration to be adjusted using SlotLayout.from() (flutter/packages#6510)
2024-06-22 [email protected] [in_app_purchase_storekit] Remove OCMock (flutter/packages#6862)
2024-06-22 [email protected] [google_maps_flutter] Add iOS SDK 9.x support (flutter/packages#6902)
2024-06-21 [email protected] [google_maps_flutter] Partial Android host API Pigeon conversion (flutter/packages#6967)
2024-06-21 [email protected] Revert "Migrate `camera/android` from `SurfaceTexture`->`SurfaceProducer`." (flutter/packages#6964)
2024-06-21 [email protected] [quick_actions] Update to Pigeon 20 (flutter/packages#6961)
2024-06-20 [email protected] [google_maps_flutter] Move Android inspector to Pigeon (flutter/packages#6958)
2024-06-20 [email protected] Manual roll Flutter from ccf3abe to 6c06abb (21 revisions) (flutter/packages#6954)
2024-06-20 [email protected] [many] More v1 embedding deletion that was missed in flutter/packages#6494 (flutter/packages#6923)
2024-06-20 [email protected] [google_maps_flutter] deprecate old BitmapDescriptor methods (flutter/packages#6905)
2024-06-18 [email protected] [pigeon] Fully-qualify types in Equatable extension test (flutter/packages#6946)
2024-06-18 [email protected] [flutter_markdown] fixes null check operator used on null value if onSelectionChanged isâ�¦ (flutter/packages#6883)
2024-06-17 [email protected] Roll Flutter from 5187cab to ccf3abe (6 revisions) (flutter/packages#6940)
2024-06-17 [email protected] [google_sign_in_web] README.md typo (flutter/packages#6642)
2024-06-17 49699333+dependabot[bot]@users.noreply.github.com [camera]: Bump com.google.guava:guava from 32.0.1-android to 33.2.1-android and CameraX version to 1.3.4 in /packages/camera/camera_android_camerax/android (flutter/packages#6847)
2024-06-17 49699333+dependabot[bot]@users.noreply.github.com [sign_in]: Bump com.google.guava:guava from 32.0.1-android to 33.2.1-android in /packages/google_sign_in/google_sign_in_android/android (flutter/packages#6846)
2024-06-17 49699333+dependabot[bot]@users.noreply.github.com [quick_actions]: Bump com.android.tools.build:gradle from 7.2.1 to 8.4.1 in /packages/quick_actions/quick_actions_android/android (flutter/packages#6799)
2024-06-17 49699333+dependabot[bot]@users.noreply.github.com [path_provider]: Bump androidx.annotation:annotation from 1.7.1 to 1.8.0 in /packages/path_provider/path_provider_android/android (flutter/packages#6773)
2024-06-17 49699333+dependabot[bot]@users.noreply.github.com [camera]: Bump androidx.annotation:annotation from 1.7.1 to 1.8.0 in /packages/camera/camera_android/android (flutter/packages#6766)

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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants