Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchProjectGroupRepos ¶ added in v0.2.1
func FetchProjectGroupRepos(projectGroup string, config LaunchpadConfig) (out []repos.RepoDetails, err error)
FetchProjectGroupRepos creates a slice of RepoDetails types representing the repos associated with a given ProjectGroup in Launchpad.
Types ¶
type LaunchpadConfig ¶ added in v0.3.0
type LaunchpadConfig struct {
ProjectGroups []string `mapstructure:"project-groups"`
IgnoredRepos []string `mapstructure:"ignores"`
}
LaunchpadConfig contains fields used in releasegen's config.yaml file to configure its behaviour when generating reports about Launchpad repositories
type Project ¶
type Project struct {
Name string
// contains filtered or unexported fields
}
Project is a representation of a Launchpad Project
func (*Project) DefaultBranch ¶
DefaultBranch returns the default VCS branch for a Launchpad project
func (*Project) NewCommits ¶
GetNewCommits parses the git log page for a Launchpad project and returns the number of commits that have happened on the default branch since the last tag
type Repository ¶ added in v0.3.0
type Repository struct {
Details repos.RepoDetails
// contains filtered or unexported fields
}
Repository represents a single Launchpad git Repository
func (*Repository) Process ¶ added in v0.3.0
func (r *Repository) Process() error
Process populates the Repository with details of its tags, default branch, and commits