github

package
v0.0.0-...-cb7e519 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackportDoneLabel

func BackportDoneLabel(version string) string

func BackportLabel

func BackportLabel(version string) string

func GeneratePatchRelease

func GeneratePatchRelease(
	ctx context.Context,
	ghClient *gh.Client,
	owner string,
	repo string,
	bar *progressbar.ProgressBar,
	printer func(msg string),
	backportPRs types.BackportPRs,
	listOfPRs types.PullRequests,
	nodeIDs types.NodeIDs,
	commits []string,
) (
	types.BackportPRs,
	types.PullRequests,
	types.NodeIDs,
	[]string,
	error,
)

GeneratePatchRelease will returns a map that maps the backport PR number to the upstream PR number and a map that maps the backport PR number to the PR if no upstream PR was found. In case of an error, a list of non-processed commits will be returned.

func MajorMinorErsion

func MajorMinorErsion(version string) string

func NewClient

func NewClient() *gh.Client

func PreviousTagOf

func PreviousTagOf(tags []string, tag string) string

func ReleaseBlockerLabel

func ReleaseBlockerLabel(version string) string

func SortTags

func SortTags(tags []string) ([]string, error)

func Token

func Token() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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