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

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

Issue 2979153002: [milo] initial call to get git history (Closed)
Patch Set: 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
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..dbf79e9f89da2ce1c7d79407f54702f23c3d2051
--- /dev/null
+++ b/milo/api/proto/console_git_info.proto
@@ -0,0 +1,33 @@
+// Copyright 2016 The LUCI Authors. All rights reserved.
Ryan Tseng 2017/07/17 20:25:51 2017
iannucci 2017/07/17 21:54:39 Done.
+// 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 ID.
Ryan Tseng 2017/07/17 20:25:51 Is this usually the hash?
iannucci 2017/07/17 21:54:39 Done.
+ bytes id = 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;
+}

Powered by Google App Engine
This is Rietveld 408576698