Documentation ¶
Index ¶
- func Commit(path string, commitMessage string, gitName string, gitEmail string) (err error)
- func CreateBranch(path string, name string) (err error)
- func GetBranchName(path string) (name string, err error)
- func Init(inputParserNames []string)
- func OpenPR(path, mainBranch, prTitle, gitToken string) (err error)
- func ParseDir(location string, output chan<- Result)
- func PullBranch(path string, branchName string) (err error)
- func Push(path string, gitUsername string, gitToken string) (err error)
- func SearchPR(path, prTitle, gitToken string) (pr github.Issue, err error)
- func SearchPrByBranch(path, branchName, gitToken string) (pr github.Issue, err error)
- func SwitchBranch(path string, branchName string) (err error)
- func UpdatePR(pr github.Issue, path, title, gitToken string) (err error)
- func UpdatePackage(pkg Result) (err error)
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBranch ¶
CreateBranch creates a new branch within the input repository.
func GetBranchName ¶
GetBranchName returns the name of the current branch.
func ParseDir ¶ added in v0.0.6
ParseDir walks through the repository and outputs the parsed values of the spack packages.
func PullBranch ¶
PullBranch attempts to pull the branch from the git origin.
func SearchPR ¶
SearchPR searches for the a pull request with the input name in the given repository + owner.
func SearchPrByBranch ¶
SearchPrByBranch checks to see if there is an existing PR based on a specific branch and if so returns the name.
func SwitchBranch ¶
SwitchBranch switches from the current branch to the one with the name provided.
func UpdatePackage ¶
UpdatePackage patches the package with the current updated package data.
Types ¶
Click to show internal directories.
Click to hide internal directories.