sideline

package
v0.0.0-...-b2bb2c0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouldNotDetectSource0   = errors.New("could not detect source0")
	ErrCouldNotFindSource0File = errors.New("could not find source0 file")
)

Functions

func ParseCfg

func ParseCfg(path string) (*sidelinepb.Configuration, error)

Types

type BackportResponse

type BackportResponse struct {
	AffectingCommits []*Commit
}

type Commit

type Commit struct {
	Hash    string
	Message string
	Author  string
	Date    string
}

type FetchRepo

type FetchRepo struct {
	URL     string
	Tag     *string
	Branch  *string
	Depth   int32
	UseOsfs bool
	Mode    sidelinepb.Upstream_CompareMode
}

type Response

type Response struct {
	Srpmproc     *srpmprocpb.Cfg
	PatchName    string
	PatchContent string
}

func Run

func Run(cfg *sidelinepb.Configuration) (*Response, error)

type UpstreamRepo

type UpstreamRepo struct {
	Fetch   *FetchRepo
	Repo    *git.Repository
	Remote  *git.Remote
	TempDir *string
}

type UpstreamRepos

type UpstreamRepos struct {
	Target      *UpstreamRepo
	CompareWith *UpstreamRepo
}

Jump to

Keyboard shortcuts

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