Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestTag ¶
func GetLatestTag(s utils.UserSettings) (string, string)
Given a tag, return a (start, end) tag tuple
end = the given tag start = latest formal version tag before the given tag
func Post2Issue ¶
func Post2Issue(changes string, s utils.UserSettings) error
Types ¶
type Branch ¶
type Branch struct { Name string `json:"name"` Merged bool `json:"merged"` Protected bool `json:"protected"` Default bool `json:"default"` Url string `json:"web_url"` }
func ParseBranches ¶
type Gitlab ¶
func (*Gitlab) FindMRsBetween ¶
type Issue ¶
type Issue struct { ProjectId int `json:"project_id"` Id int `json:"id"` Iid int `json:"iid"` Title string `json:"title"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Type string `json:"type"` Author User `json:"author"` Description string `json:"description"` State string `json:"state"` ClosedAt string `json:"closed_at"` ClosedBy User `json:"closed_by"` WebUrl string `json:"web_url"` }
func ParseIssue ¶
func ParseIssueList ¶
type MergeRequest ¶
type MergeRequest struct { Id int `json:"id"` IId int `json:"iid"` Title string `json:"title"` State string `json:"state"` MergeUser User `json:"merge_user"` MergedAt string `json:"merged_at"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` SourceBranch string `json:"source_branch"` TargetBranch string `json:"target_branch"` Author User `json:"author"` MergeUrl string `json:"web_url"` MergeCommit string `json:"merge_commit_sha"` }
func FetchMrs ¶
func FetchMrs(s utils.UserSettings) ([]MergeRequest, error)
func ParseMRs ¶
func ParseMRs(json_str []byte) []MergeRequest
Click to show internal directories.
Click to hide internal directories.