-
Notifications
You must be signed in to change notification settings - Fork 701
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
fix pack issue with readmes and snupkgs #4268
Conversation
basePath = Path.Combine(basePath, parentDirectoryPath); | ||
searchPath = searchPath.Substring(parentDirectoryPath.Length); | ||
} | ||
// while (searchPath.StartsWith(parentDirectoryPath, StringComparison.OrdinalIgnoreCase)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this is commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing! Reverted.
We need a unit test that would have caught the fact that the functionality is broken. |
cb5ccce
to
1633e11
Compare
Thanks! Added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Hi @aortiz-msft , pls approve this PR if it's good to merge. Thanks! |
Edit: Apparently I didn't get enough sleep. All's good. |
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Packaging/PackageCreation/Authoring/PackageBuilder.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please the PR description? I don't think that "This does the stuff over at NuGet/Home#10791 (comment)" is entirely accurate.
Hi @aortiz-msft , thanks for the suggestion! Updated the description in the PR. |
Any ideas when this will roll out? .NET Core 6? |
This should be in .NET 6 RC2 which will be released in a few weeks. |
Bug
Fixes: NuGet/Home#10791
Regression? No
Description
According to NuGet.org symbol package constraints, the symbol package should not have the readme file.
So this PR:
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation