Skip to content

SBE needs git-info for individual repo submodules #3573

@mthalman

Description

@mthalman

Related to #3565 (comment)

The SBE repo has a git submodule for azure-activedirectory-identitymodel-extensions-for-dotnet. The script which dynamically injects assembly version info needs to be reimplemented as a Bash script. But the implementation relies on git to get the current commit SHA. This won't work when the .NET source is extracted from a tarball to be built, outside the context of a git repo configuration.

Instead, we need the same concept that the VMR has today: git-info. But this needs to be defined within the SBE repo itself, scoped to its own submodules. This will allow scripts or other logic to consume that state rather than relying on git. It specifically should be contained within the SBE repo to allow the logic which needs that info to work when building the repo locally or in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-upstream-fixNeeds a change in a contributing repo

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions