-
Notifications
You must be signed in to change notification settings - Fork 86
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
Keep scheme sorting info in rsync #2829
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yongjin Cho <49507839+yongjincho92@users.noreply.github.com>
@@ -134,7 +134,7 @@ rsync \ | |||
--chmod=u+w,F-x \ | |||
--exclude=project.xcworkspace \ | |||
--exclude=rules_xcodeproj/bazel \ | |||
--exclude=xcuserdata \ | |||
--exclude="*.xcbkptlist" \ |
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.
User created schemes should be left alone as well. Probably better to leave this exclude as is, and copy over the schememanagement file, similar to the incremental installer?
rules_xcodeproj/xcodeproj/internal/templates/incremental_installer.sh
Lines 138 to 142 in 4f68608
# Copy over `xcschememanagement.plist` | |
username="$(/usr/bin/id -un)" | |
readonly username | |
readonly user_xcschmes="$dest/xcuserdata/$username.xcuserdatad/xcschemes" | |
readonly dest_xcschememanagement="$user_xcschmes/xcschememanagement.plist" |
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.
Sounds good, let me update this PR
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.
@yongjincho92 Any progress on this?
@yongjincho92 This still seems like a good idea. |
Issue :
Xcode schemes were not sorted as expected
Cause :
Scheme sorting hint file was included under xcuserdata dir and was not being rsycn due to existing --exaclude pattern.
Change :
Make the existing exclude a little bit more specific.