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

Sync only input derived data when assembling derived data directory #774

Open
1 task
Tracked by #775
lacasseio opened this issue Feb 23, 2023 · 2 comments
Open
1 task
Tracked by #775
Labels

Comments

@lacasseio
Copy link
Member

lacasseio commented Feb 23, 2023

As a user delegating to Xcode, I want to sync only input-derived data directories (keeping unrelated and existing files) when assembling the derived data directory for delegation so that I can ensure xcodebuild perform an incremental build.

Sub-stories

Preview Give feedback
  1. a:chore in:xcode-build-adapter

Acceptance Criteria

@lacasseio
Copy link
Member Author

Essentially, this issue is about performing a lenient sync which could be described as only the files from the source directory should be synced into the destination directory. Any additional files in the destination directory should be left untouched. There is a tiny gap where a source file could be replaced by "an additional file" between two syncs which would essentially cause the "additional file" to be deleted. Despite being a very small possibility, it would essentially mean, for this particular scenario, that Xcode is overwriting an input file with an output (or intermediate) file. This behaviour is a terrible practice and should be avoided at all costs, e.g. modifying the build specification.

@lacasseio
Copy link
Member Author

Following the investigation #798, we should split the derived data assembling to another task. It would also allow for a solution to #770.

@lacasseio lacasseio moved this from Backlog to Blocked in Gradle Native Development Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Blocked
Development

No branches or pull requests

1 participant