ReleaseEntry Class
⚠️ Warning: This release format has been replaced by VelopackRelease
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.942+a011233
Represents a Velopack release, as described in a RELEASES file - usually also with an accompanying package containing the files needed to apply the release.
[DataContract]
[Obsolete("This release format has been replaced by VelopackRelease")]
public class ReleaseEntry
Inheritance: object → ReleaseEntry
Attributes: DataContractAttribute,ObsoleteAttribute
Properties
Name | Description |
---|---|
BaseUrl | If the release corresponds to a remote http location, this will be the base url. |
EntryAsString | The unparsed text used to construct this release. |
Filesize | The size in bytes of the update package containing this release. |
Identity | The release identity - including id, version and so forth. |
IsDelta | Whether this package represents a full update, or a delta update. |
OriginalFilename | The filename of the update package containing this release. |
PackageId | The name or Id of the package containing this release. |
Query | The http url query (if applicable). |
SHA1 | The SHA1 checksum of the update package containing this release. |
StagingPercentage | The percentage of users this package has been released to. This release may or may not be applied if the current user is not in the staging group. |
Version | The version of this release. |
Methods
Name | Description |
---|---|
BuildReleasesFile(string, bool) | Generates a list of ReleaseEntry's from a local directory containing package files. Also writes/updates a RELEASES file in the specified directory to match the packages the are currently present. |
FromVelopackAsset(VelopackAsset) | |
GenerateFromFile(Stream, string, string) | Generates a ReleaseEntry from a local update package file (such as a nupkg). |
GenerateFromFile(string, string) | Generates a ReleaseEntry from a local update package file (such as a nupkg). |
GetHashCode() | |
IsStagingMatch(Guid?) | Checks if the current user is eligible for the current staging percentage. |
ParseReleaseEntry(string) | Parses an string entry from a RELEASES file and returns a ReleaseEntry. |
ParseReleaseFile(string) | Parse the contents of a RELEASES file into a list of ReleaseEntry's. |
ParseReleaseFileAndApplyStaging(string, Guid?) | Parse the contents of a RELEASES file into a list of ReleaseEntry's, with any staging-ineligible releases removed. |
ToString() | |
WriteReleaseFile(IEnumerable<ReleaseEntry>, Stream) | Write a list of ReleaseEntry's to a stream |
WriteReleaseFile(IEnumerable<ReleaseEntry>, string) | Write a list of ReleaseEntry's to a local file |
Documentation generated by MdDocs