github

package
v0.0.0-...-36db426 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWinGetPackageVersions

func GetWinGetPackageVersions(pkg_id string) []string

func SubmitManifests

func SubmitManifests(pkg_id, version string, manifests []WinGetManifest, commitType CommitType, forkUser string, reuseDraftPr bool, rmReason ...string)

Types

type CommitType

type CommitType string
const (
	NewVerCommit    CommitType = "New version"
	UpdateVerCommit CommitType = "Update version"
	AddVerCommit    CommitType = "Add version"
	RmVerCommit     CommitType = "Remove"
	NewLocaleCommit CommitType = "New locale"
)

type MetadataFromGithub

type MetadataFromGithub struct {
	PublisherUrl        string
	PublisherSupportUrl string
	License             string
	LicenseUrl          string
	PackageUrl          string
	ReleaseDate         string
	ReleaseNotesUrl     string
	PrivacyUrl          string
	Tags                []string
	ShortDescription    string
}

func GetMetadataFromGitHub

func GetMetadataFromGitHub(release_url string) MetadataFromGithub

type WinGetManifest

type WinGetManifest struct {
	FileName string
	Content  string
}

func GetWinGetManifests

func GetWinGetManifests(pkg_id, version string) []WinGetManifest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL