Skip to content

[pull] master from flutter:master#244

Merged
pull[bot] merged 4 commits intohttpsgithu:masterfrom
flutter:master
Aug 21, 2021
Merged

[pull] master from flutter:master#244
pull[bot] merged 4 commits intohttpsgithu:masterfrom
flutter:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Aug 21, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

ydag and others added 4 commits August 20, 2021 07:17
The federated plugin spec calls for implementation packages to include an `implements` entry in the `plugins` section of the `pubspec.yaml` indicating what app-facing package it implements. Most of the described behaviors of the `flutter` tool aren't implemented yet, and the pub.dev features have `default_plugin` as a backstop, so we haven't noticed that they are mostly missing (or in one case, incorrect).

To better future-proof the plugins, and to provide a better example to people looking at our plugins as examples of federation, this adds a CI check to make sure that we are correctly adding it, and fixes all of the missing/incorrect values it turned up.

Fixes flutter/flutter#88222
Ensures that the full relative path in the 'repository' link is correct,
not just the last segment. This ensure that path-level errors (e.g.,
linking to the group directory rather than the package itself for
app-facing packages) are caught.

Also fixes the errors that this improved check catches, including
several cases where a previously unfederated package wasn't fixed when
it was moved to a subdirectory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment