Skip to content

UseStableVersions property should be eliminated #1627

Closed as not planned
Closed as not planned

Description

@crummel

We should be able to use checked-in metadata to determine whether to build a given repo as stabilized or unstabilized. Previously when I tried this I ran into issues with WriteSourceRepoProperties not getting the stable/unstable metadata correctly.

Activity

  1. added
    area-build
    on Jun 16, 2020
  2. dagood commented on Jun 16, 2020

    @dagood
    Member

    We should be able to use checked-in metadata to determine

    Since ProdCon v2/Arcade/Darc (3.0+), I think we shouldn't even need to determine it... the value is checked in, so using a default build command should create the right stabilization.

    https://github.com/dotnet/corefx/blob/c68bc274ce95cb5eda143223942d6fd86a547a0d/eng/Versions.props#L14
    https://github.com/dotnet/installer/blob/v3.1.201/src/redist/targets/Versions.targets#L11

    In ProdCon v1, we had to know it because an orchestrator passed in a value, which could be changed without any source code changes. It was literally impossible to know based on the source code. 😛 I expect we'll always need to pass this in manually in release/2.1.

    In ProdCon v2, there's no more orchestrator. As far as this kind of build param goes, it's deterministic.

  3. dagood commented on Jun 18, 2020

    @dagood
    Member

    Triage:
    @dseefeld ran into stabilization property issues in 5.0, and I think we should probably do this there. We don't think it's necessary in 3.1 because things should be stable there.

  4. mthalman commented on Jun 23, 2026

    @mthalman
    Member

    No longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-build

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions