Class PackageProvenance
One package of this toolkit in the running process: its NuGet id, the version it was built as, the source commit its build
recorded (for the ValheimCLI transport, the valheimCLI commit a candidate version names; empty when none), its state and the
SHA-256 of the assembly file at report time. These are package coordinates from assembly metadata, not the hash or
provenance of a .nupkg. A Valheim.Testing* package is released when the release workflow built it, a
candidate when its version carries -candidate (a local build identity, never published), and unreleased
otherwise (a source build). The transport (Valheim.Testing.Cli, built from the valheimCLI fork) is a candidate
or released: a version without -candidate is one the release refuses unless NuGet.org serves it, whose nuspec
names its commit; its SHA-256 tells a local build of that version apart.
public sealed record PackageProvenance
- Inheritance
-
objectPackageProvenance
Constructors
PackageProvenance(string, string, string, string, string)
One package of this toolkit in the running process: its NuGet id, the version it was built as, the source commit its build
recorded (for the ValheimCLI transport, the valheimCLI commit a candidate version names; empty when none), its state and the
SHA-256 of the assembly file at report time. These are package coordinates from assembly metadata, not the hash or
provenance of a .nupkg. A Valheim.Testing* package is released when the release workflow built it, a
candidate when its version carries -candidate (a local build identity, never published), and unreleased
otherwise (a source build). The transport (Valheim.Testing.Cli, built from the valheimCLI fork) is a candidate
or released: a version without -candidate is one the release refuses unless NuGet.org serves it, whose nuspec
names its commit; its SHA-256 tells a local build of that version apart.
public PackageProvenance(string Id, string Version, string Commit, string State, string Sha256)
Parameters
IdstringVersionstringCommitstringStatestringSha256string
Properties
Commit
public string Commit { get; init; }
Property Value
- string
Id
public string Id { get; init; }
Property Value
- string
Sha256
public string Sha256 { get; init; }
Property Value
- string
State
public string State { get; init; }
Property Value
- string
Version
public string Version { get; init; }
Property Value
- string