-
Notifications
You must be signed in to change notification settings - Fork 6k
Reland: This is to move the zipping logic to the repository under test. #35751
Conversation
| # Zip FlutterMacOS.framework. | ||
| if args.zip: | ||
| subprocess.check_call([ | ||
| 'zip', '-r', '-y', 'FlutterMacOS.framework.zip', |
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.
So -y worked and the symlinks are maintained?
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.
For recipes v2 we'll need a follow up or a work around. The Zip command is correct the problem is in the CAS service that follows symlinks by default. I'm taking a look at the service to see if I can implement some logic to preserve symlinks and if it is too complicated I'll send a follow up to regenerate the symlinks in this script.
| parser.add_argument('--x64-out-dir', type=str, required=True) | ||
| parser.add_argument('--strip', action="store_true", default=False) | ||
| parser.add_argument('--dsym', action="store_true", default=False) | ||
| parser.add_argument('--zip', action="store_true", default=False) |
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.
flutter/flutter#110374 (comment)
I'll send a PR protecting the creation of the zip file with a flag that will be used only on the recipes v2 builds.
Is that what this is? Maybe a comment and todo to remove once it's adoped?
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.
TODO added.
Bug: flutter/flutter#81855 Bug: flutter/flutter#/110374
The recipes' macos framework file was including an additional folder coming from the zip file created by the script. This PR is relanding #35623 with an additional flag to avoid zipping twice.
Bug: flutter/flutter#81855
Bug: flutter/flutter#110374
Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.