pivotaltracker

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2015 License: MIT Imports: 20 Imported by: 0

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

func LoadConfig() (Config, error)

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"`
}

Jump to

Keyboard shortcuts

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