From 138bc32cd99871aadaf3e80dacc3e05bc0840b1c Mon Sep 17 00:00:00 2001 From: Chris Rummel Date: Wed, 22 Jun 2022 15:33:09 -0500 Subject: [PATCH] [source-build] [release/6.0.1xx] Additional changes to make the tarball commitable. (#14004) * Additional changes to make the tarball commitable. - Add an empty file so an empty packages/prebuilt directory is not removed (NuGet depends on all file sources existing even if empty). - Use version of source-build-externals with fix for patching in a broken git repo. - Delete `objects` directory from submodule .gitdirs. * Enable work-tree and unsafe-paths for repo-level patches to be able to apply in the checked-in tarball. * Update src/SourceBuild/tarball/patches/nuget-client/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch Co-authored-by: Michael Simons --- eng/Version.Details.xml | 8 +++---- .../tools/SourceBuildArcadeTarball.targets | 7 ++++++ ...-and-unsafe-paths-to-be-able-to-appl.patch | 23 +++++++++++++++++++ ...-and-unsafe-paths-to-be-able-to-appl.patch | 23 +++++++++++++++++++ ...-and-unsafe-paths-to-be-able-to-appl.patch | 23 +++++++++++++++++++ ...-and-unsafe-paths-to-be-able-to-appl.patch | 23 +++++++++++++++++++ ...-and-unsafe-paths-to-be-able-to-appl.patch | 23 +++++++++++++++++++ 7 files changed, 126 insertions(+), 4 deletions(-) create mode 100644 src/SourceBuild/tarball/patches/command-line-api/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch create mode 100644 src/SourceBuild/tarball/patches/fsharp/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch create mode 100644 src/SourceBuild/tarball/patches/nuget-client/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch create mode 100644 src/SourceBuild/tarball/patches/vstest/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch create mode 100644 src/SourceBuild/tarball/patches/xliff-tasks/0001-Enable-work-tree-and-unsafe-paths-to-be-able-to-appl.patch diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 99bd9d4dd..14ed5b29a 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -152,8 +152,8 @@ - https://dev.azure.com/devdiv/DevDiv/_git/NuGet-NuGet.Client-Trusted - a5782faf46b91a7b43935a28d1e185e79a50588a + https://github.com/NuGet/NuGet.Client + 75551652b352f860ea0b29095b64fa63715dd672 @@ -170,9 +170,9 @@ https://github.com/dotnet/emsdk 52e9452f82e26f9fcae791e84c082ae22f1ef66f - + https://github.com/dotnet/source-build - 10d0f7e94aa45889155c312f51cfc01bf326b853 + 126aed9b11b5aece8ebcf7bdbb82d0654206d5a4 diff --git a/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets b/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets index c4f3f6ec2..a516a86cf 100644 --- a/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets +++ b/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets @@ -176,6 +176,11 @@ Command="git submodule update --init --recursive --depth 1" WorkingDirectory="$(TarballRepoSourceDir)" /> + + @@ -329,6 +334,8 @@ Overwrite="true" /> + +