gitlabfetcher

package
v0.0.0-...-1743fbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckToken

func CheckToken() bool

CheckToken tests if token file exists and is readable

func GNOMEContributions

func GNOMEContributions(progress chan<- DownloadProgressData) ([]contrib.Contribution, error)

GNOMEContributions returns all contributions for current gitlab token

func SaveToken

func SaveToken(token string) error

SaveToken records gitlab token to disk

Types

type DownloadProgressData

type DownloadProgressData struct {
	Current int
	Max     int
}

DownloadProgressData represents current status over max expected one.

type IssueAction

type IssueAction string
const (
	Opened      IssueAction = "Opened"
	Closed      IssueAction = "Closed"
	CommentedOn IssueAction = "Commented On"
)

type MRAction

type MRAction string
const (
	ReviewedAndMerged    MRAction = "Reviewed and Merged"
	ImplementedAndMerged MRAction = "Implemented and Merged"
	Implemented          MRAction = "Implemented"
	Rejected             MRAction = "Rejected"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL