Uh oh!
There was an error while loading. Please reload this page.
[tool] Remove code analysis from podspec-check - #10484
Conversation
Replaces the full build-and-analyze version of `pod lib lint` with the `--quick` version. This means that this step no longer does native code analysis (which `analyze` covers), so it no longer needs an exclusion list for packages with warnings. As a result of this change, flutter/packages no longer has a dependency on the version of Flutter that was published to CocoaPods to facilitate podspec testing. Fixesflutter/flutter#178806
| print(frameworkResult.stdout); | ||
| print(frameworkResult.stderr); | ||
| // Lint plugin as library. |
There was a problem hiding this comment.
The difference only matters when building, so we don't need to run both modes.
| 'lint', | ||
| podspecPath, | ||
| '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. | ||
| '--skip-tests', |
There was a problem hiding this comment.
These flags aren't used in --quick mode.
There was a problem hiding this comment.
Code Review
This pull request modifies the podspec-check command to use pod lib lint --quick instead of a full pod lib lint. This removes the dual-pass linting for library and framework styles and removes the --exclude flag from the CI configuration. The corresponding tests are updated to reflect the new single-pass linting process. My review includes a suggestion to remove a comment that has become obsolete due to these changes.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Replaces the full build-and-analyze version of `pod lib lint` with the `--quick` version. This means that this step no longer does native code analysis (which `analyze` covers), so it no longer needs an exclusion list for packages with warnings. As a result of this change, flutter/packages no longer has a dependency on the version of Flutter that was published to CocoaPods to facilitate podspec testing. Fixesflutter/flutter#178806
flutter/packages@cc3dca6...5d8d954 2025-11-26 stuartmorgan@google.com [video_player_avfoundation] Create a Dart player instance (flutter/packages#10490) 2025-11-25 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump com.google.maps.android:android-maps-utils from 3.6.0 to 3.19.1 in /packages/google_maps_flutter/google_maps_flutter_android/android (flutter/packages#10390) 2025-11-25 stuartmorgan@google.com [path_provider] Revert iOS/macOS to plugin-based implementation (flutter/packages#10517) 2025-11-25 stuartmorgan@google.com [google_maps_flutter] Replace deprecated APIs (flutter/packages#10474) 2025-11-25 stuartmorgan@google.com [tool] Remove code analysis from podspec-check (flutter/packages#10484) 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 flutter-ecosystem@google.com 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
) flutter/packages@cc3dca6...5d8d954 2025-11-26 stuartmorgan@google.com [video_player_avfoundation] Create a Dart player instance (flutter/packages#10490) 2025-11-25 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump com.google.maps.android:android-maps-utils from 3.6.0 to 3.19.1 in /packages/google_maps_flutter/google_maps_flutter_android/android (flutter/packages#10390) 2025-11-25 stuartmorgan@google.com [path_provider] Revert iOS/macOS to plugin-based implementation (flutter/packages#10517) 2025-11-25 stuartmorgan@google.com [google_maps_flutter] Replace deprecated APIs (flutter/packages#10474) 2025-11-25 stuartmorgan@google.com [tool] Remove code analysis from podspec-check (flutter/packages#10484) 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 flutter-ecosystem@google.com 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
) flutter/packages@cc3dca6...5d8d954 2025-11-26 stuartmorgan@google.com [video_player_avfoundation] Create a Dart player instance (flutter/packages#10490) 2025-11-25 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump com.google.maps.android:android-maps-utils from 3.6.0 to 3.19.1 in /packages/google_maps_flutter/google_maps_flutter_android/android (flutter/packages#10390) 2025-11-25 stuartmorgan@google.com [path_provider] Revert iOS/macOS to plugin-based implementation (flutter/packages#10517) 2025-11-25 stuartmorgan@google.com [google_maps_flutter] Replace deprecated APIs (flutter/packages#10474) 2025-11-25 stuartmorgan@google.com [tool] Remove code analysis from podspec-check (flutter/packages#10484) 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 flutter-ecosystem@google.com 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
Replaces the full build-and-analyze version of `pod lib lint` with the `--quick` version. This means that this step no longer does native code analysis (which `analyze` covers), so it no longer needs an exclusion list for packages with warnings. As a result of this change, flutter/packages no longer has a dependency on the version of Flutter that was published to CocoaPods to facilitate podspec testing. Fixesflutter/flutter#178806
Replaces the full build-and-analyze version of
pod lib lintwith the--quickversion. This means that this step no longer does native code analysis (whichanalyzecovers), so it no longer needs an exclusion list for packages with warnings.As a result of this change, flutter/packages no longer has a dependency on the version of Flutter that was published to CocoaPods to facilitate podspec testing.
Fixesflutter/flutter#178806