Skip to content

Commit 25f0f70

Browse files
[various] Update flutter/plugins links (#3256)
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).
1 parent 2e16733 commit 25f0f70

File tree

226 files changed

+566
-395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+566
-395
lines changed

.cirrus.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,13 @@ task:
243243
CHANNEL: "stable"
244244
unit_test_script:
245245
- ./script/tool_runner.sh test --exclude=script/configs/dart_unit_tests_exceptions.yaml
246-
pathified_unit_test_script:
246+
# TODO(stuartmorgan): Re-enable once https://github.com/flutter/packages/pull/3256 lands.
247+
#pathified_unit_test_script:
247248
# Run tests with path-based dependencies to ensure that publishing
248249
# the changes won't break tests of other packages in the repository
249250
# that depend on it.
250-
- ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates
251-
- $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml
251+
#- ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates
252+
#- $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml
252253
- name: linux-custom_package_tests
253254
env:
254255
PATH: $PATH:/usr/local/bin

packages/camera/camera/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.3+1
2+
3+
* Updates links for the merge of flutter/plugins into flutter/packages.
4+
15
## 0.10.3
26

37
* Adds back use of Optional type.

packages/camera/camera/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For web integration details, see the
5959

6060
### Handling Lifecycle states
6161

62-
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:
62+
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:
6363

6464
<?code-excerpt "main.dart (AppLifecycle)"?>
6565
```dart
@@ -169,6 +169,6 @@ class _CameraAppState extends State<CameraApp> {
169169
}
170170
```
171171

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

174174
[1]: https://pub.dev/packages/camera_web#limitations-on-the-web-platform

packages/camera/camera/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: camera
22
description: A Flutter plugin for controlling the camera. Supports previewing
33
the camera feed, capturing images and video, and streaming image buffers to
44
Dart.
5-
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera
5+
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
66
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
7-
version: 0.10.3
7+
version: 0.10.3+1
88

99
environment:
1010
sdk: ">=2.14.0 <3.0.0"

packages/camera/camera_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.4+1
2+
3+
* Updates links for the merge of flutter/plugins into flutter/packages.
4+
15
## 0.10.4
26

37
* Temporarily fixes issue with requested video profiles being null by falling back to deprecated behavior in that case.

packages/camera/camera_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: camera_android
22
description: Android implementation of the camera plugin.
3-
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_android
3+
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5-
version: 0.10.4
5+
version: 0.10.4+1
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: camera_android_camerax
22
description: Android implementation of the camera plugin using the CameraX library.
3-
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_android_camerax
3+
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
55
publish_to: 'none'
66

packages/camera/camera_avfoundation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.9.11+1
2+
3+
* Updates links for the merge of flutter/plugins into flutter/packages.
4+
15
## 0.9.11
26

37
* Adds back use of Optional type.

packages/camera/camera_avfoundation/ios/camera_avfoundation.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Pod::Spec.new do |s|
88
s.description = <<-DESC
99
A Flutter plugin to use the camera from your Flutter app.
1010
DESC
11-
s.homepage = 'https://github.com/flutter/plugins'
11+
s.homepage = 'https://github.com/flutter/packages'
1212
s.license = { :type => 'BSD', :file => '../LICENSE' }
1313
s.author = { 'Flutter Dev Team' => '[email protected]' }
14-
s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/camera_avfoundation' }
14+
s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/camera_avfoundation' }
1515
s.documentation_url = 'https://pub.dev/packages/camera_avfoundation'
1616
s.source_files = 'Classes/**/*.{h,m}'
1717
s.public_header_files = 'Classes/**/*.h'

packages/camera/camera_avfoundation/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: camera_avfoundation
22
description: iOS implementation of the camera plugin.
3-
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_avfoundation
3+
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_avfoundation
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5-
version: 0.9.11
5+
version: 0.9.11+1
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)