robotally

package module
v0.0.0-...-e8bf5cf Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2015 License: MIT Imports: 13 Imported by: 0

README

robotally

GitHub pull request review aggregator

Documentation

Overview

Package robotally is an AppEngine based GitHub webhook to aggregate review votes on opened pull requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Branch string `json:"ref"`
}

Endpoint represents one of the enpoints of a PR comparison.

type Event

type Event struct {
	Action      string       `json:"action"`
	Issue       *Issue       `json:"issue"`
	PullRequest *PullRequest `json:"pull_request"`
	Repository  *Repository  `json:"repository"`
	Sender      *User        `json:"sender"`
}

Event is the GitHub webhook notification of a repository action.

type Issue

type Issue struct {
	Number int `json:"number"`
}

Issue represents the data about the issue being reported on.

type PullRequest

type PullRequest struct {
	Number int       `json:"number"`
	Base   *Endpoint `json:"base"`
}

PullRequest represents the data about the PR being reported on.

type Repository

type Repository struct {
	Name  string `json:"name"`
	Owner *User  `json:"owner"`
}

Repository represents the repository originating a webhook event.

type User

type User struct {
	Login string `json:"login"`
}

User represents a GitHub user.

Jump to

Keyboard shortcuts

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