github

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2015 License: MIT Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultStoryLabel            = "story"
	DefaultApprovedLabel         = "approved"
	DefaultBeingImplementedLabel = "being implemented"
	DefaultImplementedLabel      = "implemented"
	DefaultReviewedLabel         = "reviewed"
	DefaultSkipReviewLabel       = "no review"
	DefaultPassedTestingLabel    = "qa+"
	DefaultFailedTestingLabel    = "qa-"
	DefaultSkipTestingLabel      = "no qa"
	DefaultStagedLabel           = "staged"
	DefaultRejectedLabel         = "client rejected"
)
View Source
const (
	ModuleId   = "salsaflow.modules.issuetracking.github"
	ModuleKind = loader.ModuleKindIssueTracking
)
View Source
const MaxConcurrentRequests = 10
View Source
const ServiceName = "GitHub Issues"

Variables

View Source
var DefaultSkipCheckLabels = []string{"dupe", "wontfix"}

Functions

func NewModule

func NewModule() loader.Module

Types

type GlobalConfig

type GlobalConfig struct {
	UserToken string `prompt:"GitHub token to be used when calling GitHub API" secret:"true" json:"token"`
}

GlobalConfig implements loader.ConfigContainer

func (*GlobalConfig) PromptUserForConfig

func (global *GlobalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer

type LocalConfig

type LocalConfig struct {
	StoryLabel string `prompt:"label to use to to distinguish story issues" default:"story" json:"story_label"`

	StateLabels struct {
		ApprovedLabel         string `prompt:"'approved' label" default:"approved" json:"approved"`
		BeingImplementedLabel string `prompt:"'being implemented' label" default:"being implemented" json:"being_implemented"`
		ImplementedLabel      string `prompt:"'implemented' label" default:"implemented" json:"implemented"`
		ReviewedLabel         string `prompt:"'reviewed' label" default:"reviewed" json:"reviewed"`
		SkipReviewLabel       string `prompt:"'no review' label" default:"no review" json:"skip_review"`
		PassedTestingLabel    string `prompt:"'passed testing' label" default:"qa+" json:"passed_testing"`
		FailedTestingLabel    string `prompt:"'failed testing' label" default:"qa-" json:"failed_testing"`
		SkipTestingLabel      string `prompt:"'skip testing' label" default:"no qa" json:"skip_testing"`
		StagedLabel           string `prompt:"'staged' label" default:"staged" json:"staged_for_acceptance"`
		RejectedLabel         string `prompt:"'rejected' label" default:"rejected" json:"client_rejected"`
	} `json:"state_labels"`

	SkipCheckLabels []string `json:"skip_release_check_labels"`
	// contains filtered or unexported fields
}

LocalConfig implements loader.ConfigContainer interface.

func (*LocalConfig) PromptUserForConfig

func (local *LocalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer interface.

Jump to

Keyboard shortcuts

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