-
Notifications
You must be signed in to change notification settings - Fork 137
Description
https://github.com/dotnet/source-build/blob/main/Documentation/planning/arcade-powered-source-build/onboarding/local-onboarding.md#patching misses out on --work-tree
option. We use that everywhere else. For example:
The option was originally added in #937 to allow tarball builds to work when it was extracted to a sub-directory of another (non-related) git repository.
For example, I see this error now manifesting as:
dotnet6.0/dotnet-1afc0b6892dcd718cd88e281f3acd840cb966a4d-x64-bootstrap/.dotnet/sdk/6.0.100-preview.6.21355.2/NuGet.targets(565,5): error : File 'dotnet6.0/dotnet-1afc0b6892dcd718cd88e281f3acd840cb966a4d-x64-bootstrap/src/nuget-client.7363366401b43f4ea250394db8dad3707e9a9636/NuGet.config' does not exist. [dotnet6.0/dotnet-1afc0b6892dcd718cd88e281f3acd840cb966a4d-x64-bootstrap/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21319.2/tools/Tools.proj]
Which looks impossible on first sight because https://github.com/NuGet/NuGet.Client/blob/7363366401b43f4ea250394db8dad3707e9a9636/eng/source-build-patches/0001-Rename-NuGet.Config-to-NuGet.config-to-account-for-a.patch was supposed to have renamed the file.