-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rfw] fix macos debug entitlements for wasm example #2958
Conversation
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. |
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
test-exempt: testing this would require running the example on a mac host and doing network traffic, which would be unfortunately rather flake-prone. |
Might be worth adding a CHANGELOG entry just for people to know we changed something. |
@@ -8,5 +8,7 @@ | |||
<true/> | |||
<key>com.apple.security.network.server</key> | |||
<true/> | |||
<key>com.apple.security.network.client</key> | |||
<true/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add this to the other entitlements too? (notably the release mode one)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should definitely be in the release entitlements as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,5 +8,7 @@ | |||
<true/> | |||
<key>com.apple.security.network.server</key> | |||
<true/> | |||
<key>com.apple.security.network.client</key> | |||
<true/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should definitely be in the release entitlements as well.
@dkbast Are you planning on updating this based on my comment above? |
Added it to the release entitlements as well. The example itself is still not running under M1 mac, as reported here: flutter/flutter#90218 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Override: running the example is a dev-only change, so exempt from changelog and version changes. |
* [rfw] fix macos debug entitlements * [rfw] fix macos release entitlements --------- Co-authored-by: Damian Bast <me@damianbast.com>
The macos version of the rfw wasm example was missing debug entitlements to connect to the internet and fetch the remote file.
This is related to flutter/flutter#90218
I belive no changes to
CHANGELOG.md
orpubspec.yaml
are necessary as this does not affect the pub release.Tagging @Hixie for review.
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.