Documentation ¶
Index ¶
- func AssignUserToIssue(organization string, repository string, user *github.User, issue *github.Issue) error
- func FeatureStart(repositoryPath string, gitHubToken string, featureTitle string)
- func GetAuthenticatedUser() (*github.User, error)
- func GetIssue(organization string, repository string, issueID int) (*github.Issue, error)
- func ListIssuesByRepo(repoFullName string) ([]*github.Issue, error)
- func ParseGithubURL(url string) (string, string, string, error)
- func ParseRepositoryFullName(fullName string) (string, string)
- func ReleaseFinish(path string, gitHubToken string)
- func ReleaseStart(path string, gitHubToken string)
- func ShowVersionInfo(version, build string) string
- func Slugify(str string) string
- func SlugifyIssue(issue *github.Issue) string
- func SlugifyRepository(repositoryFullName string) string
- type Repository
- type SemVer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignUserToIssue ¶
func AssignUserToIssue(organization string, repository string, user *github.User, issue *github.Issue) error
AssignUserToIssue ...
func FeatureStart ¶
FeatureStart ...
func GetAuthenticatedUser ¶
GetAuthenticatedUser ...
func ListIssuesByRepo ¶
ListIssuesByRepo ...
func ParseGithubURL ¶
ParseGithubURL ...
func ParseRepositoryFullName ¶
ParseRepositoryFullName ...
func ShowVersionInfo ¶
ShowVersionInfo returns version and build information
func SlugifyRepository ¶
SlugifyRepository ...
Types ¶
type Repository ¶
type Repository struct { Path string GitHubToken string GitRepository *git.Repository GitHubRepository *github.Repository }
Repository ...
func OpenRepository ¶
func OpenRepository(path string, gitHubToken string) (*Repository, error)
OpenRepository opens a repository from a path
func (*Repository) GetCurrentVersion ¶
func (r *Repository) GetCurrentVersion() (*SemVer, error)
GetCurrentVersion ...
func (*Repository) GetNewIssueURL ¶
func (r *Repository) GetNewIssueURL(repositoryFullName string) string
GetNewIssueURL ...
func (*Repository) GetRemoteGithubRepository ¶
func (r *Repository) GetRemoteGithubRepository(remoteName string) error
GetRemoteGithubRepository ...
func (*Repository) NextVersion ¶
func (r *Repository) NextVersion() (*SemVer, error)
NextVersion ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.