Documentation
¶
Index ¶
Constants ¶
View Source
const ( Id = "pivotal_tracker" DefaultPointMeLabel = "point me" DefaultImplementedLabel = "implemented" DefaultNoReviewLabel = "no review" DefaultReviewedLabel = "reviewed" )
View Source
const ServiceName = "Pivotal Tracker"
Variables ¶
View Source
var ( ErrReleaseNotDeliverable = errors.New("Pivotal Tracker: the release is not deliverable") ErrApiCall = errors.New("Pivotal Tracker: API call failed") )
View Source
var DefaultSkipCheckLabels = []string{"dupe", "wontfix"}
Functions ¶
func Factory ¶
func Factory() (common.IssueTracker, error)
Types ¶
type Config ¶ added in v0.5.0
type Config interface { ProjectId() int PointMeLabel() string ImplementedLabel() string NoReviewLabel() string ReviewedLabel() string SkipCheckLabels() []string UserToken() string IncludeStoryLabelFilter() *regexp.Regexp }
func LoadConfig ¶ added in v0.5.0
type GlobalConfig ¶ added in v0.5.0
type GlobalConfig struct { PT struct { UserToken string `yaml:"token"` } `yaml:"pivotal_tracker"` }
type LocalConfig ¶ added in v0.5.0
type LocalConfig struct { PT struct { ProjectId int `yaml:"project_id"` Labels struct { PointMeLabel string `yaml:"point_me"` ImplementedLabel string `yaml:"implemented"` NoReviewLabel string `yaml:"no_review"` ReviewedLabel string `yaml:"reviewed"` SkipCheckLabels []string `yaml:"skip_check_labels"` } `yaml:"labels"` } `yaml:"pivotal_tracker"` }
Click to show internal directories.
Click to hide internal directories.