Skip to content
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

Update CPD after extensions migration #20627

Merged
merged 1 commit into from
Apr 8, 2020
Merged

Update CPD after extensions migration #20627

merged 1 commit into from
Apr 8, 2020

Conversation

JunTaoLuo
Copy link
Contributor

Part of #19254. I'm going through our darc subscriptions to ensure everything is correct.

@JunTaoLuo JunTaoLuo added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 7, 2020
@JunTaoLuo JunTaoLuo requested a review from a team April 7, 2020 21:30
@JunTaoLuo JunTaoLuo requested a review from dougbu as a code owner April 7, 2020 21:30
@@ -273,23 +273,23 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>59ca590949ade88c712e4ca8c6835acd0e9cbf46</Sha>
</Dependency>
<Dependency Name="Microsoft.Extensions.DependencyModel" Version="5.0.0-preview.4.20205.13" CoherentParentDependency="Microsoft.Extensions.Logging">
<Dependency Name="Microsoft.Extensions.DependencyModel" Version="5.0.0-preview.4.20205.13" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually should these be changed to Razor instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have a direct subscription on dotnet/runtime, no. If it's still runtime -> tooling -> AspNetCore, then yes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely not depend directly on dotnet/runtime. We hit problems almost every time the repo gets a newer runtime than what tooling built against.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I brain-farted and forgot we haven't done Tooling's consolidation yet. Yes, everything should be CPD'd thru AspNetCore-Tooling

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, that's what I thought but I saw a bunch of CPDs in this file are set to NETCore.App for some reason and suspected we might have had a reason for it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason was history and this PR reflects the need to fix it up. Note as well that extensions, aspnetcore-tooling, ef6, efcore and extensions (anything that depends on dotnet/runtime packages) shouldn't need CPD at all in their 'master' branches -- assuming we're done taking anything through extensions.

eng/Version.Details.xml Outdated Show resolved Hide resolved
Copy link
Member

@dougbu dougbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All dotnet/roslyn and dotnet/runtime dependencies must be linked using CoherentParentDependency="Microsoft.AspNetCore.Razor.Language". None of those should be linked to dotnet/runtime dependencies.

@dougbu
Copy link
Member

dougbu commented Apr 7, 2020

Is this PR hitting TLS1.2 issues?

@JunTaoLuo
Copy link
Contributor Author

Yea

@JunTaoLuo
Copy link
Contributor Author

Actually, I'm not sure about it, the error signature looks a bit different.

@JunTaoLuo
Copy link
Contributor Author

@pranavkm pranavkm merged commit 827178a into master Apr 8, 2020
@pranavkm pranavkm deleted the johluo/cpd branch April 8, 2020 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants