-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Correct $(SharedFxVersion)
and $(TargetingPackVersion)
values
#25790
Conversation
This is more work coming out of our servicing readiness exercise. My previous changes to use |
@Pilchie any objection to tell-mode for RC2❔ |
<ItemGroup Condition=" '$(TestDependsOnAspNetRef)' == 'true' AND '$(IsTargetingPackBuilding)' == 'true' "> | ||
<HelixContent Include="$(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg" /> | ||
<HelixContent Include="$(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Ref.$(TargetingPackVersion).nupkg" /> |
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.
Nit: can we put this in a variable to use in both here and the nupkg file we pass below into the commands?
Microsoft.AspNetCore.App.Ref.$(TargetingPackVersion).nupkg
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.
Looks like I need to rebase anyhow. So, sure, I'll make another update here.
But, I'll go w/ your earlier suggestion of removing the *.nupkg
names from the command line and instead use the passed $(SharedFxVersion)
to craft the names on the Helix agent.
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.
Nice, a few less arguments is much better since its already getting out of control with how many we pass!
Tell mode is fine with me. |
Hmmm, this PR changes versions used by the gRPC interop tests website - https://github.com/dotnet/aspnetcore/pull/25790/files#diff-016fa755746abada907d870814dee7c8 I wonder if this might be the cause of gRPC interop tests failing in my PR - #25587 Offline discussion with @JunTaoLuo:
Possible fix John added to that PR - Could this issue be the cause instead? |
It's possible but somewhat unlikely. The two property values I'm setting here were wrong for a small subset of the projects and mainly when we're using stable versions. We're not using stable versions (outside a servicing readiness exercise) for 5.0 yet. So, this PR should have minimal impact -- for now. The main exception is if we needed the shared Fx or targeting pack version in a project using SemVer 1.0. So far, we're 🆗 there. So, @JunTaoLuo's fix in your PR is on the right path. Any place we made assumptions that dotnet/runtime and dotnet/aspnetcore sharedFx or TFM and dotnet/aspnetcore sharedFx versions align is usually wrong. |
958eccb
to
55eb953
Compare
- Ensure `$(SharedFxVersion)` doesn't change in `$(NoSemVer20)` projects - Ignore current project's `$(VersionSuffix)` in `$(TargetingPackVersion)` - Never assume `$(AspNetCoreBaselineVersion)` matches released targeting pack - Stabilize both versions correctly - Use these properties more widely - Remove other mechanisms to get the same values - Reduce use of the `_GetPackageVersionInfo` target - Reduce use of `$(SharedFxVersion)` for the targeting pack nits: - Correct comments about old RTMVersions.csproj project - Fix or remove a few other comments
- remove parsing of these command-line arguments from `RuntestOptions` - instead craft the names using passed `$(SharedFxVersion)` - restore `$(DotNetRuntimeSourceFeedKey)` on Helix command line - lost somewhere along the line - correct argument count in runtests.sh - treated 11th argument as both Helix timeout and feed credential - count was messed up somewhere alone the line nits: - update C# syntax in `RuntestOptions` e.g. remove unused `public` setters - sort and group properties and their assignments
55eb953
to
76ce84d
Compare
Hello @dougbu! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Apologies, while this PR appears ready to be merged, it looks like |
1 similar comment
Apologies, while this PR appears ready to be merged, it looks like |
No objection! |
$(SharedFxVersion)
doesn't change in$(NoSemVer20)
projects$(VersionSuffix)
in$(TargetingPackVersion)
$(AspNetCoreBaselineVersion)
matches released targeting pack_GetPackageVersionInfo
target$(SharedFxVersion)
for the targeting packnits: