Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[extension_google_sign_in_as_googleapis_auth] Move from flutter/plugins.#301

Merged
ditman merged 21 commits intoflutter:masterfrom
ditman:move-extension
Mar 9, 2021
Merged

[extension_google_sign_in_as_googleapis_auth] Move from flutter/plugins.#301
ditman merged 21 commits intoflutter:masterfrom
ditman:move-extension

Conversation

@ditman
Copy link
Member

@ditman ditman commented Mar 8, 2021

This package doesn't make much sense in flutter/plugins, since it's not a true plugin, only an optional extension on google_sign_in.

Testing infrastructure has a hard time in flutter/plugins with this package.

It seems that flutter/packages might be a better home for the extension.

This PR moves the package to flutter/packages, and only minimally changes code to comply with the slightly different analysis rules of this repo.

Pre-launch Checklist

  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

ditman and others added 18 commits July 13, 2020 17:32
Introduce the first version of the `extension_google_sign_in_as_googleapis_auth` package.

This package lets users of the `google_sign_in` plugin to create an authenticated HTTP clients (from `googleapis_auth`) that can access any APIs from the `googleapis` package.
* Make package:e2e a relative reference
* e2e -> integration_test and associated version bumps
This cleans up a number of unnecessary differences in the LICENSE files:
- Removes C++ comments ("// ") from the beginnings of all the lines in license files that had them.
- Standardizes on having a blank line after the copyright line.
- Standardizes on having the final newline in the file.
- Standardizes on the indentation of the bulleted conditions.
- Standardizes on the locations of line breaks (re-wrapping the text)

This makes the license bodies--not including the copyright line--in almost all files the same, and matches the exact formatting already used in flutter/flutter and flutter/engine.

The only remaining non-copyright-line differences should now be:
- packages/image_picker/image_picker/LICENSE has an extra license
- packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/LICENSE use "Google LLC" rather than "Google Inc." in the third condition.
Update Flutter SDK constraint to match templates.
…lutter#3642)

Migrates to NNBD.
Replaces Mockito-based fakes with test's Fake.
@ditman ditman requested a review from stuartmorgan-g March 8, 2021 19:18
@stuartmorgan-g
Copy link
Collaborator

to comply with the slightly different analysis rules of this repo

Something I'm going to work on fixing :)

@ditman ditman requested a review from stuartmorgan-g March 8, 2021 21:33
@ditman
Copy link
Member Author

ditman commented Mar 8, 2021

googleapis: ^2.0.0 with null safety has come out, so I've used this opportunity to update the missing parts of the example app, which is now 💪 Running with sound null safety 💪

# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
Copy link
Member Author

Choose a reason for hiding this comment

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

Should it? I don't remember consciously adding this file :/

@ditman
Copy link
Member Author

ditman commented Mar 9, 2021

I'll merge this via the command-line, so the history of the package is preserved, instead of squashing everything in a single commit.

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM

@ditman ditman merged commit 7cc53c2 into flutter:master Mar 9, 2021
@ditman ditman deleted the move-extension branch March 9, 2021 21:48
@ditman
Copy link
Member Author

ditman commented Mar 9, 2021

The unrelated history before the "Move to flutter/packages" commit has been lost, or at least, it's not visible from the "History" button of the plugin, but its individual commits have been added to the repo. The merge commit is linked to this PR normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants