Documentation ¶
Index ¶
Constants ¶
View Source
const PRBaseBranchDefault = "master"
Variables ¶
View Source
var ( ErrAlreadyUpdated = errors.New("pkgmgmtutils: formula already updated") ErrMissingRequiredVersion = errors.New("pkgmgmtutils: missing required version") ErrMissingRequiredVersionTagSha = errors.New("pkgmgmtutils: missing required version tag sha") ErrMissingRequiredDarwinSha = errors.New("pkgmgmtutils: missing required sha for darwin binary") ErrMissingRequiredLinuxSha = errors.New("pkgmgmtutils: missing required sha for linux binary") ErrMissingRequiredWindowsSha = errors.New("pkgmgmtutils: missing required sha for windows binary") )
Functions ¶
This section is empty.
Types ¶
type FormulaOptions ¶
type FormulaOptions struct { Name string // Descriptive name to be used for logging and general identification FormulaName string // proper formula name without file extension Path string // repo relative path with file extension RepoOwner string // repo owner for Formula change RepoName string // repo name for Formula change PRRepoOwner string // optional, empty means use RepoOwner PRRepoName string // optional, empty means use RepoName PRBranch string // optional, default to master PRDescription string PRCommitName string PRCommitEmail string VersionRegex string VersionShaRegex string DarwinShaRegex string LinuxShaRegex string WindowsShaRegex string // contains filtered or unexported fields }
type FormulaStatus ¶
func UpdateFormulas ¶
func UpdateFormulas(projectRepoOwner string, projectRepoName string, parentPathSha256 string, reShaFilenames string, fOpts []FormulaOptions) ([]FormulaStatus, error)
Click to show internal directories.
Click to hide internal directories.