extractor

package
v0.0.0-...-cc6e33c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidVersionInterval = errors.New("invalid version interval")
	ErrInvalidSemver          = errors.New("invalid semver")
	ErrInvalidContent         = errors.New("invalid content")
	ErrVersionGap             = errors.New("missing some versions between affected-version & fixed-version")
	ErrFieldEmpty             = errors.New("field is empty")
)

Functions

func ContainsBugTemplate

func ContainsBugTemplate(comment string) bool

Types

type BugInfos

type BugInfos struct {
	AllTriggerConditions string
	RCA                  string // Root Cause Analysis
	Symptom              string
	Workaround           string
	AffectedVersions     []string
	FixedVersions        []string
}

func ParseCommentBody

func ParseCommentBody(githubCommentBody string) (*BugInfos, map[string][]error)

ParseCommentBody extract BugInfos from githubCommentBody comment

Jump to

Keyboard shortcuts

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