cli

package
v0.0.0-...-351974c Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdFetch

func CmdFetch(_ *cobra.Command, _ []string) error

func CmdGraphs

func CmdGraphs(_ *cobra.Command, args []string) error

func CmdReport

func CmdReport(_ *cobra.Command, args []string) error

func GraphMultiRepoOpenPRsDaily

func GraphMultiRepoOpenPRsDaily(c *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphMultiRepoTotalPRsDaily

func GraphMultiRepoTotalPRsDaily(cache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphRepoOpenPRsByAuthorsDaily

func GraphRepoOpenPRsByAuthorsDaily(theCache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphRepoOpenPRsDaily

func GraphRepoOpenPRsDaily(theCache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphRepoOpenPRsDailyByType

func GraphRepoOpenPRsDailyByType(cache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphRepoTotalPRsDaily

func GraphRepoTotalPRsDaily(cache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func GraphsRepoOpenedPRsDaily

func GraphsRepoOpenedPRsDaily(cache *cache.Cache, outPath string, from, to time.Time, repos []string) error

func Make

func Make(cmdName string) (*cobra.Command, error)

func ValidateParams

func ValidateParams(params []string) func(cmd *cobra.Command, args []string) error

Types

type DayStatsIssuesByType

type DayStatsIssuesByType struct {
	Date          time.Time
	Total         int
	Bug           int
	Enhancement   int
	Question      int
	Crash         int
	Documentation int
	NewResource   int
	NewDatasource int
	Other         int
}

type DayStatsPRs

type DayStatsPRs struct {
	Date          time.Time
	Total         int
	Open          int
	Blocked       int
	Waiting       int
	WaitingOver   int
	Approved      int
	TrendSevenDay int
}

type DayStatsPRsByAuthor

type DayStatsPRsByAuthor struct {
	Date    time.Time
	Total   int
	ByGroup map[string]int
}

type FlagData

type FlagData struct {
	Token     string
	Repos     []string
	Authors   []string
	CachePath string
}

func GetFlags

func GetFlags() FlagData

type WeekStatsPRs

type WeekStatsPRs struct {
	Total           int
	OpenDays        float64
	WaitingDays     float64
	DaysTillFirst   float64
	WaitingOverDays float64
}

Jump to

Keyboard shortcuts

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