repo

package
v0.0.0-...-db105f3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NoneBranch = "<none>"
View Source
const NoneTag = "<none>"

Variables

View Source
var Verbose bool

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Public  ProjectGroup // public. these are generally not touched by developer
	Private ProjectGroup // repos touched by developer
}

func LoadConfig

func LoadConfig(cfgfile string) *Manifest

type Project

type Project struct {
	RepoUrl   string // This is the complete url including protocol. If not specified group spec
	Repo      string // One of repourl or repo can be specified. repo => rest from group spec
	UseRepo   string // final derivation which is actually used
	Reference string // Branch, tag or commit id. if not specified the "default" as setup in the repo to read
	Path      string // The folder where the checkout is performed under the Work area
	Build     string // Build Command. Execute this shell command upon pull
}

func (Project) Show

func (prj Project) Show()

type ProjectGroup

type ProjectGroup struct {
	Workarea  string // Local work area where checked out
	Server    string // Server name e.g. github.com | gitlab.com. Default for all Projects
	Reference string // Default branch/tag
	Projects  Projects
}

func (ProjectGroup) Show

func (proj ProjectGroup) Show(grpname string)

type Projects

type Projects []Project

Jump to

Keyboard shortcuts

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