Skip to content

Introduce GlobalSettings.Version #726

Closed
@nulltoken

Description

@nulltoken

Once #717 is merged, how about introducing GlobalSettings.Version?

This would be a type exposing several properties

  • Version MinorMajorPatch { get; }
  • Features BuiltInFeatures { get; }
  • string LibGit2CommitSha { get; }
  • string LibGit2SharpCommitSha { get; }
  • string CpuArchitecture { get; }

The ToString() method would be overriden to produce what Repository.Version outputs nowadays.

Repository.Version would be deprecated in favor of this new type.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions