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 Config) ([]repos.RepoDetails, error)
FetchProjectGroupRepos creates a slice of RepoDetails types representing the repos associated with a given ProjectGroup in Launchpad.
Types ¶
type Config ¶ added in v0.4.0
type Config struct {
ProjectGroups []string `mapstructure:"project-groups"`
IgnoredRepos []string `mapstructure:"ignores"`
}
Config 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.
Click to show internal directories.
Click to hide internal directories.