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

Unified Diff: milo/api/proto/console_git_info.proto

Issue 2979153002: [milo] initial call to get git history (Closed)
Patch Set: fix nits Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/api/proto/buildbot.pb.go ('k') | milo/api/proto/console_git_info.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/api/proto/console_git_info.proto
diff --git a/milo/api/proto/console_git_info.proto b/milo/api/proto/console_git_info.proto
new file mode 100644
index 0000000000000000000000000000000000000000..dcca55957c8ff5e789afaff88c89da354f31950e
--- /dev/null
+++ b/milo/api/proto/console_git_info.proto
@@ -0,0 +1,33 @@
+// Copyright 2017 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package milo;
+
+import "google/protobuf/timestamp.proto";
+
+// ConsoleGitInfo stores memcache-able data that the console view will use when
+// displaying git commits. A compressed ConsoleGitInfo should always be < 1MB,
+// so don't put anything too big in here.
+message ConsoleGitInfo {
+ message Commit {
+ // The raw commit hash.
+ bytes hash = 1;
+
+ // The author name (e.g. "Rey Cool")
+ string author_name = 2;
+
+ // The author email (e.g. "rey_cool@example.com")
+ string author_email = 3;
+
+ // The commit timestamp (~= when the commit landed... not always true!).
+ google.protobuf.Timestamp commit_time = 4;
+
+ // The raw commit message as text.
+ string msg = 5;
+ }
+
+ repeated Commit commits = 1;
+}
« no previous file with comments | « milo/api/proto/buildbot.pb.go ('k') | milo/api/proto/console_git_info.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698