-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Fix inconsistently suffixed macOS flavored bundle directory #127997
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
Fix inconsistently suffixed macOS flavored bundle directory #127997
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. |
21143ee
to
4f8a23f
Compare
4f8a23f
to
234cc12
Compare
234cc12
to
2f5bb33
Compare
2f5bb33
to
058d385
Compare
@goderbauer looks like pretty straight forward, any plans to review merge this? |
Any update please? |
058d385
to
6ffde8a
Compare
Signed-off-by: Arne Molland <[email protected]>
6ffde8a
to
abe4777
Compare
Has there been any movement on this change. It seems pretty simple and would be a huge quality of life upgrade for developers. Currently the only way I can run the macos version of the app is through xcode and that is annoying. I don't like to have to document this for other developers as an exception to the rule for how to run the app during development. |
Hoping to get a review on this shortly, but it doesn’t look like a team member has particular ownership looking at the issue yet. |
Whoops, missed this in tool PR review last week. Looking now. |
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 looks good to me. However, I wonder if this would be a breaking change. @cbracken WDYT?
Yep this will be a breaking change, but given that we haven't officially announced flavours support (the device lab test was broken and was reverted while still in Thanks for CCing me. Taking a look. I wonder if there's a way to get auto cc'ed on macOS-specific tool changes. There's an email-based patch monitoring tool I use; will see if that allows path-based filters. Will also see if there's a reasonable set of paths we can use for the GitHub bot to auto-tag these with the platform where relevant, if it's not too fragile. |
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.
@cbracken If you decide on the paths you're interested in, adding entries to https://github.com/flutter/flutter/blob/master/.github/labeler.yml will enable auto-labeling. |
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
flutter/flutter@95be76a...b0188cd 2023-06-15 [email protected] [web] Pass creation params to the platform view factory (flutter/flutter#128146) 2023-06-15 [email protected] [flutter_tools] cache flutter sdk version to disk (flutter/flutter#124558) 2023-06-14 [email protected] Fix inconsistently suffixed macOS flavored bundle directory (flutter/flutter#127997) 2023-06-14 [email protected] Update golden tests for material (flutter/flutter#128839) 2023-06-14 [email protected] Update getChildrenSummaryTree to handle Diagnosticable as input. (flutter/flutter#128833) 2023-06-14 [email protected] Improve the error message for non-normalized constraints (flutter/flutter#127906) 2023-06-14 [email protected] ContextAction.isEnabled needs a context (flutter/flutter#127721) 2023-06-14 [email protected] Remove temporary default case for PointerSignalKind (flutter/flutter#128900) 2023-06-14 [email protected] Respect allowlisted count of leaks. (flutter/flutter#128823) 2023-06-14 [email protected] Unpin flutter_plugin_android_lifecycle (flutter/flutter#128898) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
The current implementation of macOS flavor support (#119564) assumes a bundle directory that differs from both the iOS implementation and the official documentation. The documentation instructs developers to suffix their Xcode build configurations with
-<flavor>
, but the implementation assumes a space:flutter/packages/flutter_tools/lib/src/macos/application_package.dart
Lines 174 to 178 in 5fd9ef4
Whereas the iOS implementation, which is the reference for the docs, assumes a
-<flavor>
suffix:flutter/packages/flutter_tools/lib/src/ios/xcodeproj.dart
Lines 482 to 488 in a257efc
This change replaces the empty space with the
-
character which is in line with the documentation and iOS implementation, as well as removing the sentence-casing applied to the flavor name; every bundle built with a flavor keeps the original flavor name in its filename.List which issues are fixed by this PR. You must list at least one issue.
#122684.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.