Skip to content

Commit

Permalink
[various] Update flutter/plugins links (flutter#3256)
Browse files Browse the repository at this point in the history
Updates links and references to `flutter/plugins` to use `flutter/packages` instead, including making the `repository` pubspec.yaml check stricter in the repo tooling to ensure all packages are pointing to the right place.

Exceptions to the updates are:
- Changelog entries.
- Links to pull requests.

This will re-publish all the moved plugins, thus fixing the current redness of `release` (due to the current versions not being tagged in this repository).
  • Loading branch information
stuartmorgan committed Feb 22, 2023
1 parent 2e16733 commit 25f0f70
Show file tree
Hide file tree
Showing 226 changed files with 566 additions and 395 deletions.
7 changes: 4 additions & 3 deletions .cirrus.yml
Expand Up @@ -243,12 +243,13 @@ task:
CHANNEL: "stable"
unit_test_script:
- ./script/tool_runner.sh test --exclude=script/configs/dart_unit_tests_exceptions.yaml
pathified_unit_test_script:
# TODO(stuartmorgan): Re-enable once https://github.com/flutter/packages/pull/3256 lands.
#pathified_unit_test_script:
# Run tests with path-based dependencies to ensure that publishing
# the changes won't break tests of other packages in the repository
# that depend on it.
- ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates
- $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml
#- ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates
#- $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml
- name: linux-custom_package_tests
env:
PATH: $PATH:/usr/local/bin
Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera/CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.10.3+1

* Updates links for the merge of flutter/plugins into flutter/packages.

## 0.10.3

* Adds back use of Optional type.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera/README.md
Expand Up @@ -59,7 +59,7 @@ For web integration details, see the

### Handling Lifecycle states

As of version [0.5.0](https://github.com/flutter/plugins/blob/main/packages/camera/CHANGELOG.md#050) of the camera plugin, lifecycle changes are no longer handled by the plugin. This means developers are now responsible to control camera resources when the lifecycle state is updated. Failure to do so might lead to unexpected behavior (for example as described in issue [#39109](https://github.com/flutter/flutter/issues/39109)). Handling lifecycle changes can be done by overriding the `didChangeAppLifecycleState` method like so:
As of version [0.5.0](https://github.com/flutter/packages/blob/main/packages/camera/CHANGELOG.md#050) of the camera plugin, lifecycle changes are no longer handled by the plugin. This means developers are now responsible to control camera resources when the lifecycle state is updated. Failure to do so might lead to unexpected behavior (for example as described in issue [#39109](https://github.com/flutter/flutter/issues/39109)). Handling lifecycle changes can be done by overriding the `didChangeAppLifecycleState` method like so:

<?code-excerpt "main.dart (AppLifecycle)"?>
```dart
Expand Down Expand Up @@ -169,6 +169,6 @@ class _CameraAppState extends State<CameraApp> {
}
```

For a more elaborate usage example see [here](https://github.com/flutter/plugins/tree/main/packages/camera/camera/example).
For a more elaborate usage example see [here](https://github.com/flutter/packages/tree/main/packages/camera/camera/example).

[1]: https://pub.dev/packages/camera_web#limitations-on-the-web-platform
4 changes: 2 additions & 2 deletions packages/camera/camera/pubspec.yaml
Expand Up @@ -2,9 +2,9 @@ name: camera
description: A Flutter plugin for controlling the camera. Supports previewing
the camera feed, capturing images and video, and streaming image buffers to
Dart.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.10.3
version: 0.10.3+1

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera_android/CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.10.4+1

* Updates links for the merge of flutter/plugins into flutter/packages.

## 0.10.4

* Temporarily fixes issue with requested video profiles being null by falling back to deprecated behavior in that case.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_android/pubspec.yaml
@@ -1,8 +1,8 @@
name: camera_android
description: Android implementation of the camera plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_android
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.10.4
version: 0.10.4+1

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
@@ -1,6 +1,6 @@
name: camera_android_camerax
description: Android implementation of the camera plugin using the CameraX library.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_android_camerax
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
publish_to: 'none'

Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera_avfoundation/CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.9.11+1

* Updates links for the merge of flutter/plugins into flutter/packages.

## 0.9.11

* Adds back use of Optional type.
Expand Down
Expand Up @@ -8,10 +8,10 @@ Pod::Spec.new do |s|
s.description = <<-DESC
A Flutter plugin to use the camera from your Flutter app.
DESC
s.homepage = 'https://github.com/flutter/plugins'
s.homepage = 'https://github.com/flutter/packages'
s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/camera_avfoundation' }
s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/camera_avfoundation' }
s.documentation_url = 'https://pub.dev/packages/camera_avfoundation'
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h'
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_avfoundation/pubspec.yaml
@@ -1,8 +1,8 @@
name: camera_avfoundation
description: iOS implementation of the camera plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_avfoundation
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_avfoundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.9.11
version: 0.9.11+1

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera_platform_interface/CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.4.1

* Updates links for the merge of flutter/plugins into flutter/packages.

## 2.4.0

* Allows camera to be switched while video recording.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_platform_interface/pubspec.yaml
@@ -1,10 +1,10 @@
name: camera_platform_interface
description: A common platform interface for the camera plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_platform_interface
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.4.0
version: 2.4.1

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down
3 changes: 2 additions & 1 deletion packages/camera/camera_web/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.3.1+2

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 0.3.1+1
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_web/pubspec.yaml
@@ -1,8 +1,8 @@
name: camera_web
description: A Flutter plugin for getting information about and controlling the camera on Web.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_web
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.3.1+1
version: 0.3.1+2

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/camera/camera_windows/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.2.1+5

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 0.2.1+4
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_windows/pubspec.yaml
@@ -1,8 +1,8 @@
name: camera_windows
description: A Flutter plugin for getting information about and controlling the camera on Windows.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_windows
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.2.1+4
version: 0.2.1+5

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
4 changes: 4 additions & 0 deletions packages/espresso/CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.2.0+9

* Updates links for the merge of flutter/plugins into flutter/packages.

## 0.2.0+8

* Updates espresso and junit dependencies.
Expand Down
4 changes: 2 additions & 2 deletions packages/espresso/pubspec.yaml
@@ -1,9 +1,9 @@
name: espresso
description: Java classes for testing Flutter apps using Espresso.
Allows driving Flutter widgets from a native Espresso test.
repository: https://github.com/flutter/plugins/tree/main/packages/espresso
repository: https://github.com/flutter/packages/tree/main/packages/espresso
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22
version: 0.2.0+8
version: 0.2.0+9

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
@@ -1,5 +1,6 @@
## NEXT
## 2.0.8

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 2.0.7
Expand Down
Expand Up @@ -30,7 +30,7 @@ This package contains a modified version of Flutter's Google Sign In example app

See it [here](https://github.com/flutter/packages/blob/main/packages/extension_google_sign_in_as_googleapis_auth/example/lib/main.dart).

The original code (and its license) can be seen [here](https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).
The original code (and its license) can be seen [here](https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).

## Testing

Expand Down
Expand Up @@ -8,7 +8,7 @@ name: extension_google_sign_in_as_googleapis_auth
description: A bridge package between google_sign_in and googleapis_auth, to create Authenticated Clients from google_sign_in user credentials.
repository: https://github.com/flutter/packages/tree/main/packages/extension_google_sign_in_as_googleapis_auth
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+extension_google_sign_in_as_googleapis_auth%22
version: 2.0.7
version: 2.0.8

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.9.2+3

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.

Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector/pubspec.yaml
@@ -1,9 +1,9 @@
name: file_selector
description: Flutter plugin for opening and saving files, or selecting
directories, using native file selection UI.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.2+2
version: 0.9.2+3

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_ios/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.5.0+3

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.

Expand Down
Expand Up @@ -9,10 +9,10 @@ Pod::Spec.new do |s|
s.description = <<-DESC
Displays the native iOS document picker.
DESC
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/file_selector'
s.homepage = 'https://github.com/flutter/packages/tree/main/packages/file_selector'
s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_ios' }
s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_ios' }
s.source_files = 'Classes/**/*.{h,m}'
s.module_map = 'Classes/FileSelectorPlugin.modulemap'
s.dependency 'Flutter'
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_ios/pubspec.yaml
@@ -1,8 +1,8 @@
name: file_selector_ios
description: iOS implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_ios
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.5.0+2
version: 0.5.0+3

environment:
sdk: ">=2.14.4 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_linux/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.9.1+1

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.

Expand Down
Expand Up @@ -58,10 +58,9 @@ target_link_libraries(${TEST_RUNNER} PRIVATE PkgConfig::GTK)
target_link_libraries(${TEST_RUNNER} PRIVATE gtest_main gmock)

include(GoogleTest)
# TODO(stuartmorgan): Switch back to gtest_discover_tests when moving to
# flutter/plugins; it doesn't work in the FDE CI because it requires actually
# running a GTK app, which it hasn't been set up for.
gtest_add_tests(TARGET ${TEST_RUNNER})
# TODO(stuartmorgan): Ensure that all of the necessary steps are running under
# xvfb, and re-enable this.
#gtest_discover_tests(${TEST_RUNNER})
endif() # CMake version check
endif() # include_${PROJECT_NAME}_tests
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_linux/pubspec.yaml
@@ -1,8 +1,8 @@
name: file_selector_linux
description: Liunx implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_linux
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.1
version: 0.9.1+1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_macos/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.9.0+5

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.

Expand Down
Expand Up @@ -9,9 +9,9 @@ Pod::Spec.new do |s|
Displays native macOS open and save panels.
DESC
s.license = { :type => 'BSD', :file => '../LICENSE' }
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/file_selector'
s.homepage = 'https://github.com/flutter/packages/tree/main/packages/file_selector'
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_macos' }
s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_macos' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'

Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_macos/pubspec.yaml
@@ -1,8 +1,8 @@
name: file_selector_macos
description: macOS implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_macos
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_macos
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.0+4
version: 0.9.0+5

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
@@ -1,5 +1,6 @@
## NEXT
## 2.4.1

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 2.4.0
Expand Down
@@ -1,10 +1,10 @@
name: file_selector_platform_interface
description: A common platform interface for the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_platform_interface
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.4.0
version: 2.4.1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_web/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.9.0+3

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 0.9.0+2
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_web/pubspec.yaml
@@ -1,8 +1,8 @@
name: file_selector_web
description: Web platform implementation of file_selector
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_web
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.0+2
version: 0.9.0+3

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_windows/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 0.9.1+5

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.

Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_windows/pubspec.yaml
@@ -1,8 +1,8 @@
name: file_selector_windows
description: Windows implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_windows
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.1+4
version: 0.9.1+5

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/flutter_plugin_android_lifecycle/CHANGELOG.md
@@ -1,5 +1,6 @@
## NEXT
## 2.0.8

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 2.0.7
Expand Down

0 comments on commit 25f0f70

Please sign in to comment.