bugutil

package
v0.0.0-...-35c0fb1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BugCountPlural

func BugCountPlural(c int, capitalize bool) string

func DegradePriority

func DegradePriority(trans []config.Transition, in string) string

DegradePriority transition Priority and Severity fields one level down

func FormatBugMessage

func FormatBugMessage(b bugzilla.Bug) string

func FormatComponent

func FormatComponent(cs []string) string

func FormatPriority

func FormatPriority(priority string) string

func FormatVersion

func FormatVersion(vs []string) string

func GetBugURL

func GetBugURL(b bugzilla.Bug) string

func LastChangeTimeToRevision

func LastChangeTimeToRevision(value string) string

ParseLastChangeTime parse the "2020-05-20 10:45:16 +0000 UTC" to "2020-05-20T10:45:16Z" which can be used for cache revision.

func NewStagingBugzillaClient

func NewStagingBugzillaClient(c bugzilla.Client, s slack.ChannelClient) bugzilla.Client

func ParseChangeWhenString

func ParseChangeWhenString(v string) time.Time

func ParseTimeString

func ParseTimeString(v string) time.Time

func ShortenURL

func ShortenURL(url string, token string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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