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

Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[in_app_purchase] Replace errorColor to land deprecations #6377

Merged
merged 3 commits into from
Sep 12, 2022

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented Sep 9, 2022

Anticipate deprecations from flutter/flutter#110848

Related flutter/flutter#91772

Pre-launch Checklist

  • 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 relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

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

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Contributor

@GaryQian GaryQian left a comment

Choose a reason for hiding this comment

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

Lgtm. You need to bump the version in pubspec and CHANGELOG to pass publishable.

@guidezpl
Copy link
Member Author

guidezpl commented Sep 9, 2022

Is that necessary since this only touches example code?

@Hixie
Copy link
Contributor

Hixie commented Sep 9, 2022

test-exempt: refactor with no semantic change

@guidezpl guidezpl added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Sep 12, 2022
@guidezpl guidezpl merged commit f032cdc into main Sep 12, 2022
@guidezpl guidezpl deleted the update-deprecations branch September 12, 2022 09:44
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 12, 2022
@stuartmorgan-g
Copy link
Contributor

Is that necessary since this only touches example code?

example/lib/main.dart is published on pub.dev, so this should have been published (the repo tooling knows which example file changes require publishing and which don't, so wouldn't have flagged it otherwise). People look at, and copy from, example code on pub.dev, so we don't generally want to leave deprecated code there.

@guidezpl
Copy link
Member Author

I see, should I create a separate PR to bump the version and add a changelog entry?

@stuartmorgan-g
Copy link
Contributor

It's not critical in this case, just please don't override the checks in the future without checking with #hackers-ecosystem first (unless you're certain it's a false-positive).

@guidezpl
Copy link
Member Author

@stuartmorgan-g
Copy link
Contributor

Gotcha. Please consider updating https://github.com/flutter/plugins/blob/main/script/tool/lib/src/version_check_command.dart#L563-L586

Do you have specific suggestions for updates? It currently says to use the override of it's a false positive, which is correct.

@guidezpl
Copy link
Member Author

Checking with

Gotcha. Please consider updating https://github.com/flutter/plugins/blob/main/script/tool/lib/src/version_check_command.dart#L563-L586

Do you have specific suggestions for updates? It currently says to use the override of it's a false positive, which is correct.

Specifically checking with the Discord channel if that's expected

@stuartmorgan-g
Copy link
Contributor

It doesn't have to specifically be the Discord channel, that was just a suggestion for where to ask; asking your reviewer would also work.

I just meant, please don't unilaterally decide that it's a false positive if you don't actually know. If you aren't sure, the right thing to do is to make sure you get an answer before overriding a check.

adam-harwood pushed a commit to adam-harwood/flutter_plugins that referenced this pull request Nov 3, 2022
…6377)

* Replace `errorColor` to land deprecations

* x

* x
josh88versa pushed a commit to versa-asia/plugins that referenced this pull request Nov 23, 2022
…6377)

* Replace `errorColor` to land deprecations

* x

* x
josh88versa pushed a commit to versa-asia/plugins that referenced this pull request Dec 20, 2022
…6377)

* Replace `errorColor` to land deprecations

* x

* x
josh88versa pushed a commit to versa-asia/plugins that referenced this pull request Jan 25, 2023
…6377)

* Replace `errorColor` to land deprecations

* x

* x
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
…6377)

* Replace `errorColor` to land deprecations

* x

* x
josh88versa pushed a commit to versa-asia/plugins that referenced this pull request Feb 7, 2023
…6377)

* Replace `errorColor` to land deprecations

* x

* x
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs tests override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: in_app_purchase platform-android platform-ios
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants