github

package
v0.0.0-...-f573b35 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GithubExtractCommands []*cli.Command
View Source
var GithubUpdateCommands []*cli.Command

Functions

func CreateGithubCommand

func CreateGithubCommand() *cli.Command

func IssueData

func IssueData(org string, repo string, name string) string

func IssueDir

func IssueDir(org string, repo string) string

func IssueFile

func IssueFile(org string, repo string, number string) string

func PrData

func PrData(org string, repo string, name string) string

func PrDir

func PrDir(org string, repo string) string

func PrFile

func PrFile(org string, repo string, number string) string

func RegisterGithubExtract

func RegisterGithubExtract(command cli.Command)

func RegisterGithubUpdate

func RegisterGithubUpdate(command cli.Command)

func RepoDir

func RepoDir(org string) string

func RepoFile

func RepoFile(org string, repo string) string

func TeamDir

func TeamDir(org string, team string) string

func TeamUserFile

func TeamUserFile(org string, team string, user string) string

Types

type Contribution

type Contribution struct {
	Org           string
	Repo          string
	Type          string
	Identifier    string
	SubIdentifier string
	Date          int64
	Author        string
	Owner         string
}

type GitCommit

type GitCommit struct {
	Org            string
	Repo           string
	Hash           string
	AuthorTime     string
	AuthorEmail    string
	AuthorName     string
	CommitterTime  string
	CommitterEmail string
	CommitterName  string
}

type GithubPr

type GithubPr struct {
	Repo           string  `parquet:"name=repo, type=UTF8, encoding=PLAIN_DICTIONARY"`
	Number         int32   `parquet:"name=number, type=INT32"`
	CreatedAt      int64   `parquet:"name=createdAt, type=TIMESTAMP_MILLIS"`
	UpdatedAt      *int64  `parquet:"name=updatedAt, type=TIMESTAMP_MILLIS"`
	ClosedAt       *int64  `parquet:"name=closedAt, type=TIMESTAMP_MILLIS"`
	Merged         bool    `parquet:"name=merged, type=BOOLEAN"`
	Closed         bool    `parquet:"name=closed, type=BOOLEAN"`
	IsDraft        bool    `parquet:"name=isDraft, type=BOOLEAN"`
	Author         string  `parquet:"name=author, type=UTF8, encoding=PLAIN_DICTIONARY"`
	Reviews        int32   `parquet:"name=reviews, type=INT32"`
	Comments       int32   `parquet:"name=comments, type=INT32"`
	MergedBy       string  `parquet:"name=mergedBy, type=UTF8, encoding=PLAIN_DICTIONARY"`
	Title          string  `parquet:"name=title, type=UTF8, encoding=PLAIN"`
	FirstResponse  *int64  `parquet:"name=firtsResponse, type=UTF8, encoding=PLAIN"`
	FirstResponder *string `parquet:"name=firstResponder, type=UTF8, encoding=PLAIN_DICTIONARY"`
}

type GithubPrComment

type GithubPrComment struct {
	Org        string `parquet:"name=org, type=UTF8, encoding=PLAIN_DICTIONARY"`
	Repo       string `parquet:"name=repo, type=UTF8, encoding=PLAIN_DICTIONARY"`
	Number     int32  `parquet:"name=number, type=INT32"`
	CreatedAt  int64  `parquet:"name=createdAt, type=TIMESTAMP_MILLIS"`
	Author     string `parquet:"name=author, type=UTF8, encoding=PLAIN_DICTIONARY"`
	AuthorRole string `parquet:"name=role, type=UTF8, encoding=PLAIN_DICTIONARY"`
}

type GithubWorkflowRun

type GithubWorkflowRun struct {
	Org              string
	Repo             string
	Id               int64
	RunNumber        int64
	CreatedAt        int64
	UpdatedAt        *int64
	Status           string
	Conclusion       string
	WorkflowId       int
	FirstJobStarted  int64
	LastJobCompleted int64
	JobDetails       bool
	Jobs             int
	JobSeconds       int64
}

type Repo

type Repo struct {
	Org             string
	Name            string
	WatcherCount    int
	StargazersCount int
	Size            int
	OpenIssuesCount int
	ForksCount      int
}

Jump to

Keyboard shortcuts

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