source

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchSourceFromMelange

func FetchSourceFromMelange(ctx context.Context, filePath, destDir string) (*config.Configuration, error)

FetchSourceFromMelange tries its best to fetch the source from a melange yaml or an apk package.

func GitCheckout added in v0.46.1

func GitCheckout(ctx context.Context, opts *GitCheckoutOptions) error

Types

type GitCheckoutOptions added in v0.46.1

type GitCheckoutOptions struct {
	Repository        string
	Destination       string
	ExpectedCommit    string
	CherryPicks       string
	Patches           string
	WorkspaceDir      string // Directory where patch files are located (usually config dir)
	RecurseSubmodules bool
}

Jump to

Keyboard shortcuts

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