-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Make HttpSys use ProjectReference and move HttpSys into Servers folder #4335
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
Conversation
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.
👍 Awesomesauce, thanks for helping with this. This is a good start. There are few more things to do:
- You should now be able to completely delete https://github.com/aspnet/AspNetCore/tree/jkotalik/more21/src/Servers/HttpSysServer/build
- To avoid MAX_PATH issues, move
src/Servers/HttpSysServer/src/Microsoft.AspNetCore.Server.HttpSys/**/*
tosrc/Servers/HttpSysServer/src/**/*
- Same for tests. Move
src/Servers/HttpSysServer/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests
tosrc/Servers/HttpSysServer/test/FunctionalTests
and likewise forMicrosoft.AspNetCore.Server.HttpSys.Tests
- Update the .sln for the new .csproj locations
FYI the spec on source code layout: https://github.com/aspnet/specs/blob/master/runtime/design-notes/2018-10-03-mondo-source-org.md
...Microsoft.AspNetCore.Server.IISIntegration/Microsoft.AspNetCore.Server.IISIntegration.csproj
Show resolved
Hide resolved
src/Servers/HttpSysServer/samples/HotAddSample/HotAddSample.csproj
Outdated
Show resolved
Hide resolved
After thought: what do you think about changing the root to |
Yes, moving the code makes sense, but still give it its own sln. |
And while you're shortening folder names, should that become src/Servers/HttpSys/src/HttpSys/.... instaed of src/Servers/HttpSys/src/Microsoft.AspNetCore.Server.HttpSys/....?? |
@Tratcher I agree. If we're following the patterns we picked for a few other projects, the layout would be
|
🆙 📅 |
Almost looks ready to go. Just a few more things: I'm still seeing Btw, as long as we're cleaning this up, here are somethings you can delete:
|
CI check failures:
|
148a0bf
to
f461bd2
Compare
@natemcmaster looks like we don't need to fix IsPackable here: https://github.com/aspnet/BuildTools/blob/master/files/KoreBuild/modules/sharedsources/sharedsources.csproj#L30 as ComputeGraph depends on ResolveSharedSourcesPackageInfo. |
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.
Approved from a "build" perspective.
It looks like there is a failing HttpSys test. Is this a known flaky test?
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.Microsoft.AspNetCore.Server.HttpSys.Listener.ResponseCachingTests.Caching_SendFileWithFullContentLength_Cached
System.Threading.Tasks.TaskCanceledException : A task was canceled.
2.1 had more flaky tests in this area. We've re-written or consolidated many of them. |
676d2ce
to
7b7a50e
Compare
@Tratcher and I chatted about the flaky tests. If they persist, we may disable/port test changes from 2.2 into HttpSys. |
For #4246. Future PRs will contain more than one project.