-
Notifications
You must be signed in to change notification settings - Fork 703
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
Write static graph restore arguments to standard input instead of passing on the command-line #4772
Conversation
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
795db93
to
c4f4957
Compare
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 7 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch. |
src/NuGet.Core/NuGet.Build.Tasks/GetReferenceNearestTargetFrameworkTask.cs
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
@nkolev92 what are your thoughts about when to merge this? Do you feel its too risky for 17.4? |
We can wait for 17.5. |
This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 7 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch. |
src/NuGet.Core/NuGet.Build.Tasks/StaticGraphRestoreArguments.cs
Outdated
Show resolved
Hide resolved
df09dd6
to
aecb3f2
Compare
test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/StaticGraphRestoreArgumentsTests.cs
Outdated
Show resolved
Hide resolved
90fa662
to
0e2267d
Compare
0e2267d
to
5a087f7
Compare
5a087f7
to
03f3cf8
Compare
@nkolev92 are you okay if I merge this? |
Yep, I had reviewed it in the past, and it looks like it was mostly cleanup that was added on top. |
…ts to standard input (#5080) * Revert "Properly handle alternate console stream encodings in StaticGraphRestoreArguments (#5010)" This reverts commit 6512bed. * Revert "Write static graph restore arguments to standard input instead of passing on the command-line (#4772)" This reverts commit 19a4170.
Bug
Fixes: NuGet/Home#11968
Regression? Last working version:
Description
Write the arguments to standard input and read them in the new process. Also refactored
GenerateRestoreGraphFileTask
to use a base class thatRestoreTaskEx
also uses since so much of the logic was duplicated.PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation