Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: milo/api/resp/build.go

Issue 2823413002: Milo buildbot: Add in the rest of the blame/commits information. (Closed)
Patch Set: Review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | milo/appengine/backend/git/gitiles.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 //go:generate stringer -type=Status,ComponentType,Verbosity 5 //go:generate stringer -type=Status,ComponentType,Verbosity
6 6
7 package resp 7 package resp
8 8
9 import ( 9 import (
10 "encoding/json" 10 "encoding/json"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 p.Property[i], p.Property[j] = p.Property[j], p.Property[i] 67 p.Property[i], p.Property[j] = p.Property[j], p.Property[i]
68 } 68 }
69 func (p PropertyGroup) Less(i, j int) bool { return p.Property[i].Key < p.Proper ty[j].Key } 69 func (p PropertyGroup) Less(i, j int) bool { return p.Property[i].Key < p.Proper ty[j].Key }
70 70
71 // Commit represents a single commit to a repository, rendered as part of a blam elist. 71 // Commit represents a single commit to a repository, rendered as part of a blam elist.
72 type Commit struct { 72 type Commit struct {
73 // Who made the commit? 73 // Who made the commit?
74 AuthorName string 74 AuthorName string
75 // Email of the committer. 75 // Email of the committer.
76 AuthorEmail string 76 AuthorEmail string
77 // Time of the commit.
78 CommitTime time.Time
77 // Full URL of the main source repository. 79 // Full URL of the main source repository.
78 Repo string 80 Repo string
79 // Branch of the repo. 81 // Branch of the repo.
80 Branch string 82 Branch string
81 // Requested revision of the commit or base commit. 83 // Requested revision of the commit or base commit.
82 » RequestRevision string 84 » RequestRevision *Link
83 // Revision of the commit or base commit. 85 // Revision of the commit or base commit.
84 » Revision string 86 » Revision *Link
85 // The commit message. 87 // The commit message.
86 Description string 88 Description string
87 // The commit title, usually the first line of the commit message. 89 // The commit title, usually the first line of the commit message.
88 Title string 90 Title string
89 // Rietveld or Gerrit URL if the commit is a patch. 91 // Rietveld or Gerrit URL if the commit is a patch.
90 Changelist *Link 92 Changelist *Link
91 // Browsable URL of the commit. 93 // Browsable URL of the commit.
92 CommitURL string 94 CommitURL string
93 // List of changed filenames. 95 // List of changed filenames.
94 File []string 96 File []string
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 296
295 // An icon for the link. Not compatible with label. Rendered as <img> 297 // An icon for the link. Not compatible with label. Rendered as <img>
296 Img string `json:",omitempty"` 298 Img string `json:",omitempty"`
297 299
298 // Alt text for the image, only supported with img. 300 // Alt text for the image, only supported with img.
299 Alt string `json:",omitempty"` 301 Alt string `json:",omitempty"`
300 302
301 // Alias, if true, means that this link is an [alias link]. 303 // Alias, if true, means that this link is an [alias link].
302 Alias bool `json:",omitempty"` 304 Alias bool `json:",omitempty"`
303 } 305 }
OLDNEW
« no previous file with comments | « no previous file | milo/appengine/backend/git/gitiles.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698