Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Reclassify the test dependencies in corefx as toolset #34682

Merged
merged 3 commits into from
Jan 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.NETCore.Runtime.CoreCLR" Version="3.0.0-preview-27316-72">
<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.ILAsm" Version="3.0.0-preview-27316-72">
<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.IL" Version="3.0.0-preview-27316-72">
<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview-27317-6">
<Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>464f69912c1e644e1b6e3aa0184f5c7c1a690cec</Sha>
Expand All @@ -25,8 +15,18 @@
<Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>464f69912c1e644e1b6e3aa0184f5c7c1a690cec</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.NETCore.Runtime.CoreCLR" Version="3.0.0-preview-27316-72">
Copy link
Member

Choose a reason for hiding this comment

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

CoreCLR is indeed a product dependency right? We use it for our partial facades and as reference from some of our product assemblies. Unless the intent to use product dependency as “we ship these within our product”, is that the case?

Copy link
Member Author

Choose a reason for hiding this comment

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

@ericstj Can you comment on this? We can move this one back to product if need be.

Copy link
Member Author

Choose a reason for hiding this comment

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

@safern A better question here is this: If the exact version of coreclr mentioned here doesn't make it into the sdk/core-setup outputs, is there an issue?

Copy link
Member

Choose a reason for hiding this comment

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

I think yes. Because we use CoreCLR to generate our facades and some projects use implementation details. So if we use a version that exposes and API and we use it in a project or generate a facade with that API, and then consume a previous CoreCLR version in core-setup that doesn’t contain that API I think it would be an issue, however I see that should be hard to happen.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay I'm move that back for now.

Copy link
Member

Choose a reason for hiding this comment

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

If the exact version of coreclr mentioned here doesn't make it into the sdk/core-setup outputs, is there an issue?

exact version no, we just need a version that has the same public types exposed from CoreLib.
We have no version dependency nor redistribution of coreclr. We only need one with the same public surface.

Historically we've allowed these repositories to build in parallel and I'd expect we'd want to do that moving forward.

Copy link
Member

Choose a reason for hiding this comment

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

I think the values used in Version.Details.xml are kind of confusing, because ProductDependency could be a dependency needed in order to create your product.

TestDependency means to me, something we use to test. Only core-setup is a test depedency in this case I believe.

Coreclr would be more like BuildDependency and arcade ToolChainDependency.

Copy link
Member

Choose a reason for hiding this comment

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

Or ReferenceDependency? I really feel like we need a document with some clear definitions of these terms and the behavior that falls out of using them.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's maybe even more like "MustShipThisOrElseDependency" and "EverythingElseDependency"

Copy link
Member

Choose a reason for hiding this comment

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

Yeah those would also clarify really from the devs mind what that dependency is intended for.

<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.ILAsm" Version="3.0.0-preview-27316-72">
<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.IL" Version="3.0.0-preview-27316-72">
<Uri>https://github.com/dotnet/coreclr</Uri>
<Sha>80720a220c340e99aa88d04ebae8118eb4fc198b</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19066.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>0fb5fc58347f42121ddc9c0b361e84b8acbffb12</Sha>
Expand Down