-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[release/2.1] Include transitive refs in meta-package .nuspec files #30639
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
dougbu
commented
Mar 4, 2021
- 2.1 Reference resolution project fails to add patched CoreFx assembly to Microsoft.Aspnetcore.App #30279
- ensure dependencies are up-to-date even when PatchConfig.props is empty
- also includes 5bafa2d from [release/2.1] Fixup NPM package versioning #30164
Does this mean we'll publish a new version of the meta-packages for all patches, with their dependencies flattened? I'm not against that (it makes things much better for people using 2.1 on .NET Framework for instance, but in the past there were some concerns about needing to update templates, and that affecting the offline package cache size in the SDK, etc. |
@Pilchie our 2.1 builds always produce the two meta-packages. This will flatten only flatten dependencies from dotnet/CoreFx and dotnet/core-setup once it's ready for review. Basically, it'll be similar to the 3.1 and 5.0 special cases we have for some dotnet/runtime repos e.g. https://github.com/dotnet/aspnetcore/blob/release/5.0/eng/Versions.props#L173-L186
|
56b658c
to
2769437
Compare
|
|
|
- correct manual internal builds - need to explicitly set `$(BuildNumber)` property in all build steps - rename `$(BuildScriptArgs)` to avoid circular reference - skip tests by default in internal non-PR builds nits: - include new `$(BuildNumberArg)` in `$(SharedFxArgs)` - run all test jobs in internal pull requests
- however test\SharedFx.UnitTests\SharedFx.UnitTests.csproj always runs as part of `BuildSharedFx` target
- #30279 - ensure dependencies are up-to-date even when PatchConfig.props is empty - change only CoreFx and core-setup dependencies - also change transitive references that weren't mentioned before
487b359
to
d06bde9
Compare
Confirmed this PR does what it says on the tin by comparing https://dev.azure.com/dnceng/internal/_build/results?buildId=1034483 artifacts with our 2.1.25 release. The Microsoft.AspNetCore.App.nuspec file now contains the transitive references from dotnet/CoreFx and dotnet/core-setup. In last |
Can't add reviewers, likely due to GitHub outage. Please review @dotnet/aspnet-build |
Working again 😀 |
@@ -230,5 +230,10 @@ | |||
<XunitExtensibilityExecutionPackageVersion>2.3.1</XunitExtensibilityExecutionPackageVersion> | |||
<XunitPackageVersion>2.4.0</XunitPackageVersion> | |||
<XunitRunnerVisualStudioPackageVersion>2.4.0</XunitRunnerVisualStudioPackageVersion> | |||
|
|||
<!-- Dependencies listed only to include otherwise-transitive references in Microsoft.AspNetCore.App.nuspec. --> | |||
<MicrosoftDotNetPlatformAbstractionsPackageVersion>2.1.0</MicrosoftDotNetPlatformAbstractionsPackageVersion> |
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.
Are these all the latest?
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.
No. The two below are out-of-date. Should I check Microsoft.Extensions.DependencyModel and all of the System.*
packages above❔
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.
Yeah, it'd be better to have the latest for everything
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.
Agreed though I didn't check everything in this file and instead focused on packages CoreFx, core-setup, extensions, and efcore
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.
Seems reasonable
<MicrosoftNETCoreApp10PackageVersion>1.0.16</MicrosoftNETCoreApp10PackageVersion> | ||
<MicrosoftNETCoreApp11PackageVersion>1.1.13</MicrosoftNETCoreApp11PackageVersion> |
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.
These two version variables are only mentioned in external-dependencies.props but I don't want to mess with deleting them
<MicrosoftNETCoreApp20PackageVersion>2.0.9</MicrosoftNETCoreApp20PackageVersion> | ||
<MicrosoftNETCoreWindowsApiSetsPackageVersion>1.0.1</MicrosoftNETCoreWindowsApiSetsPackageVersion> | ||
<MicrosoftNETTestSdkPackageVersion>15.9.0</MicrosoftNETTestSdkPackageVersion> | ||
<MicrosoftNETTestSdkPackageVersion>15.9.2</MicrosoftNETTestSdkPackageVersion> |
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.
This and $(SystemNetHttpWinHttpHandlerPackageVersion)
may only matter in tests. They just got caught in my NuGet checkification
@@ -230,5 +230,10 @@ | |||
<XunitExtensibilityExecutionPackageVersion>2.3.1</XunitExtensibilityExecutionPackageVersion> | |||
<XunitPackageVersion>2.4.0</XunitPackageVersion> | |||
<XunitRunnerVisualStudioPackageVersion>2.4.0</XunitRunnerVisualStudioPackageVersion> | |||
|
|||
<!-- Dependencies listed only to include otherwise-transitive references in Microsoft.AspNetCore.App.nuspec. --> | |||
<MicrosoftDotNetPlatformAbstractionsPackageVersion>2.1.0</MicrosoftDotNetPlatformAbstractionsPackageVersion> |
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.
Agreed though I didn't check everything in this file and instead focused on packages CoreFx, core-setup, extensions, and efcore
- left 3 new transitive dependencies out of #30639
- left 3 new transitive dependencies out of #30639