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

Remove option to clone inner source during source-build #14540

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

MichaelSimons
Copy link
Member

@MichaelSimons MichaelSimons requested review from ViktorHofer, mmitche and a team March 1, 2024 20:36
mmitche
mmitche previously approved these changes Mar 1, 2024
mthalman
mthalman previously approved these changes Mar 1, 2024
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this is a breaking change as the PrepareInnerSourceBuildRepoRoot target is referenced in a few repos: https://github.com/search?q=repo%3Adotnet%2Fdotnet%20PrepareInnerSourceBuildRepoRoot&type=code

I would rename this back to the old target name. CopyInnerSourceBuildRepoRoot and CloneInnerSourceBuildRepoRoot aren't used anywhere outside and can be safely removed.

@MichaelSimons MichaelSimons dismissed stale reviews from mthalman and mmitche via c8d6ebf March 25, 2024 19:55
@MichaelSimons
Copy link
Member Author

Unfortunately this is a breaking change as the PrepareInnerSourceBuildRepoRoot target is referenced in a few repos: https://github.com/search?q=repo%3Adotnet%2Fdotnet%20PrepareInnerSourceBuildRepoRoot&type=code

I would rename this back to the old target name. CopyInnerSourceBuildRepoRoot and CloneInnerSourceBuildRepoRoot aren't used anywhere outside and can be safely removed.

Thanks for the catch. That was a silly oversite on my part. I pushed an update.

@mmitche
Copy link
Member

mmitche commented Mar 25, 2024

SBE isn't dependent on inner-clone behavior, is it?

@NikolaMilosavljevic
Copy link
Member

NikolaMilosavljevic commented Mar 25, 2024

SBE isn't dependent on inner-clone behavior, is it?

We are using inner-clone (clone or copy) for SBE, in VMR build, to avoid file mutations.

@mmitche
Copy link
Member

mmitche commented Mar 25, 2024

Cool, I see how SBE is using a copy right now.

@ViktorHofer ViktorHofer merged commit cd27fcf into dotnet:main Mar 26, 2024
11 checks passed
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.

5 participants