Skip to content

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Aug 24, 2020

Description

The intention of adding VALID_ARCHS allow list was to exclude i386 simulators. However, at some point Flutter will need to run on the new ARM simulators. Change the allow list to a deny list and just exclude i386.

Related Issues

VALID_ARCHS added in #41828
Discovered with #63252.

Tests

This is already tested in plugin_lint_mac.

Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change. If not, delete the remainder of this section.

@jmagman jmagman self-assigned this Aug 24, 2020
@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 24, 2020
@jmagman
Copy link
Member Author

jmagman commented Aug 24, 2020

Actually it might be better to declare this in the Flutter.podspec instead of the plugins. Let me try that...

@jmagman
Copy link
Member Author

jmagman commented Aug 24, 2020

Actually it might be better to declare this in the Flutter.podspec instead of the plugins. Let me try that...

Nope it's needed on the plugin, too.

@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.

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

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Aug 24, 2020
@jmagman
Copy link
Member Author

jmagman commented Aug 24, 2020

#41828 didn't migrate existing plugins, this one doesn't either. I don't think we have any tooling for migrating this file for existing plugins...

@xster
Copy link
Member

xster commented Aug 25, 2020

LGTM. Good find

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

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants