Git Hub Upstream
data class GitHubUpstream(val user: String, val repo: String, val baseUrl: String? = "https://api.github.com/", val baseUrlEndpoint: String? = "repos/", val releaseBaseUrl: String? = "https://github.com/", val releaseBaseUrlEndpoint: String? = "/", val upstreamPriority: Priority = 0.priority) : Upstream
The GitHub upstream.
Constructors
Properties
Link copied to clipboard
The endpoint from where the data is requested [baseUrl+baseUrlEndpoint]
Link copied to clipboard
The url that is used as a base for all releases
Link copied to clipboard
The endpoint where the release should lead to [baseUrl+baseUrlEndpoint]
Link copied to clipboard
Priority is that used when comparing versions from multiple upstreams.
Functions
Link copied to clipboard
Fetches a version object from the upstream.
Link copied to clipboard
Converts a version string into a DefaultVersion.