Documentation ¶
Overview ¶
Package angularcommit analyzes angular-style commit messages
https://gist.github.com/stephenparish/9941e89d80e2bc58a153#format-of-the-commit-message https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultOptions for angular commit Analyzer DefaultOptions = &Options{ ChoreTypes: []string{"chore", "docs", "test"}, FixTypes: []string{"fix", "refactor", "perf", "style"}, FeatureTypes: []string{"feat"}, BreakingChangeMarkers: []string{ `BREAKING\s+CHANGE:`, `BREAKING\s+CHANGE`, `BREAKING:`, }, ExternalChangeMarkers: []string{ `EXTERNAL\s+CHANGE:`, `EXTERNAL\s+CHANGE`, `EXTERNAL:`, }, } )
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer is a semrel.Analyzer instance that parses commits according to angularjs commit conventions
func NewWithOptions ¶
NewWithOptions initializes Analyzer with options provided
type Change ¶
type Change struct { CommitType string Scope string Subject string BreakingMessage string ExternalMessage string Hash string // contains filtered or unexported fields }
Change captures commit message analysis
func (*Change) ExternalCategory ¶
func (*Change) IsExternal ¶
func (*Change) PreReleased ¶
PreReleased implements semrel.Change interface
Click to show internal directories.
Click to hide internal directories.