| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 syntax = "proto3"; |
| 6 |
| 7 package milo; |
| 8 |
| 9 import "google/protobuf/timestamp.proto"; |
| 10 |
| 11 // ConsoleGitInfo stores memcache-able data that the console view will use when |
| 12 // displaying git commits. A compressed ConsoleGitInfo should always be < 1MB, |
| 13 // so don't put anything too big in here. |
| 14 message ConsoleGitInfo { |
| 15 message Commit { |
| 16 // The raw commit hash. |
| 17 bytes hash = 1; |
| 18 |
| 19 // The author name (e.g. "Rey Cool") |
| 20 string author_name = 2; |
| 21 |
| 22 // The author email (e.g. "rey_cool@example.com") |
| 23 string author_email = 3; |
| 24 |
| 25 // The commit timestamp (~= when the commit landed... not always true!). |
| 26 google.protobuf.Timestamp commit_time = 4; |
| 27 |
| 28 // The raw commit message as text. |
| 29 string msg = 5; |
| 30 } |
| 31 |
| 32 repeated Commit commits = 1; |
| 33 } |
| OLD | NEW |