Skip to content

turn on stable flag and pin version - #43182

Merged
mmitche merged 2 commits into
dotnet:release/5.0from
Anipik:stable
Oct 9, 2020
Merged

mmitche merged 2 commits into
dotnet:release/5.0from
Anipik:stable

Conversation

@Anipik

@Anipik Anipik commented Oct 8, 2020

Copy link
Copy Markdown
Contributor

Adding no merge label to wait for @mmitche to merge the changes.

@Anipik Anipik added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Oct 8, 2020
@Anipik
Anipik requested a review from marek-safar as a code owner October 8, 2020 18:28
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-Infrastructure-coreclr Only use for closed issues label Oct 8, 2020
@Anipik

Anipik commented Oct 8, 2020

Copy link
Copy Markdown
Contributor Author

Non shipping packages
Screen Shot 2020-10-08 at 11 28 19 AM


<!-- Set the boolean below to true to generate packages with stabilized versions -->
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Anipik Can you please open an issue two remove these duplications?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We need the the one in coreclr to ship non-stabilized versions of the packages with every servicing release. i can create an issue to remove the mono one.

@ViktorHofer

ViktorHofer commented Oct 8, 2020 •

Copy link
Copy Markdown
Member

Can someone please explain why we need to pin the version of these two packages? I don't know much about how installer ships packages.

@safern

safern commented Oct 8, 2020

Copy link
Copy Markdown
Member

Can someone please explain why we need to pin the version of these two packages? I don't know much about how installer ships packages.

It is not that we're pinning their version. The Microsoft.NETCore.App package will not be stable ever, so the $(Version) property in that pkgproj will not be stable, and we would get build failures when trying to restore those packages from the local directory as their version is stable.

<ItemGroup>
<Dependency Include="Microsoft.NETCore.Platforms" Version="$(Version)" TargetFramework="$(NetCoreAppCurrent)" />
<Dependency Include="Microsoft.NETCore.Targets" Version="$(Version)" TargetFramework="$(NetCoreAppCurrent)" />
<Dependency Include="Microsoft.NETCore.Platforms" Version="$(MicrosoftNETCorePlatformsPackageVersion)" TargetFramework="$(NetCoreAppCurrent)" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What would happen when we're on a servicing wave when the .NETCore.* packages are not stable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We don't service these packages every-time but true we have to manually update when we service these packages.
I can create an issue to track this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we use these properties as the property that drives the package version that we produce as well? I think we should provide a better solution than this... what do you think?

@mmitche
mmitche merged commit 5d64972 into dotnet:release/5.0 Oct 9, 2020
@mmitche

mmitche commented Oct 9, 2020

Copy link
Copy Markdown
Member

...and here we go.

@Anipik
Anipik deleted the stable branch October 28, 2020 20:16
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants