Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yongjincho92
Copy link
Contributor

@yongjincho92 yongjincho92 commented Dec 20, 2023

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.

Signed-off-by: Yongjin Cho <49507839+yongjincho92@users.noreply.github.com>
@yongjincho92 yongjincho92 requested a review from a team as a code owner December 20, 2023 22:11
@yongjincho92 yongjincho92 self-assigned this Dec 20, 2023
@@ -134,7 +134,7 @@ rsync \
--chmod=u+w,F-x \
--exclude=project.xcworkspace \
--exclude=rules_xcodeproj/bazel \
--exclude=xcuserdata \
--exclude="*.xcbkptlist" \
Copy link
Contributor

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?

# 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"

Copy link
Contributor Author

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

Copy link
Contributor

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?

@brentleyjones
Copy link
Contributor

@yongjincho92 This still seems like a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants