Documentation ¶
Index ¶
Constants ¶
View Source
const ( RevisionCurrent = "current" UserSelf = "self" )
Variables ¶
This section is empty.
Functions ¶
func NewGerritClient ¶
Types ¶
type Change ¶
type Change struct { GerritHost GerritHost // e.g. chromium, chrome-internal ID string // change ID or number Revision int // The revision we should vote on }
Change identifys a change on Gerrit
func CheckKernelUpstream ¶
Check if the CL has Return the checked CL with revision information, and a bool indicating whether it has:
No changes have been detected between this change and its upstream source!
from sean@poorly.run.
func FindDependencies ¶
func FindDependencies(opt DependencyResolverOptions, roots ...Change) (cls []Change, err error)
func ParseChange ¶
ParseChange parses a change in the following form: - 12345 - *12345 - chromium:12345 - chrome-internal:12345 - https://crrev.com/c/12345 - https://crrev.com/i/12345
func (Change) CrosTryjobID ¶
returns the ID as understood by `cros tryjob`
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Host ¶
func (c *Client) Host(h GerritHost) *gerrit.Client
Source Files ¶
Click to show internal directories.
Click to hide internal directories.