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

Unified Diff: milo/common/config/project.pb.go

Issue 2946443003: Milo: (Breaking proto change) Update console definition (Closed)
Patch Set: Created 3 years, 6 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/common/config/project.pb.go
diff --git a/milo/common/config/project.pb.go b/milo/common/config/project.pb.go
index 009bb40140df05637f0e0e97b35af10d3cd632ab..381138492c47d4167889ada4cccf652fd8487b0b 100644
--- a/milo/common/config/project.pb.go
+++ b/milo/common/config/project.pb.go
@@ -1,5 +1,6 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
+// Code generated by protoc-gen-go.
// source: github.com/luci/luci-go/milo/common/config/project.proto
+// DO NOT EDIT!
/*
Package config is a generated protocol buffer package.
@@ -35,14 +36,8 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Project struct {
// ID is the identifier for the project, if different from its repository name.
ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
- // Readers is the list of gaia users or Chrome-infra-auth groups allowed to view
- // the project.
- Readers []string `protobuf:"bytes,2,rep,name=Readers" json:"Readers,omitempty"`
- // Writers is the list of gaia users or Chrome-infra-auth groups allowed to
- // perform actions on parts of the project.
- Writers []string `protobuf:"bytes,3,rep,name=Writers" json:"Writers,omitempty"`
// Consoles is a list of consoles to define under /console/
- Consoles []*Console `protobuf:"bytes,4,rep,name=Consoles" json:"Consoles,omitempty"`
+ Consoles []*Console `protobuf:"bytes,2,rep,name=Consoles" json:"Consoles,omitempty"`
}
func (m *Project) Reset() { *m = Project{} }
@@ -57,20 +52,6 @@ func (m *Project) GetID() string {
return ""
}
-func (m *Project) GetReaders() []string {
- if m != nil {
- return m.Readers
- }
- return nil
-}
-
-func (m *Project) GetWriters() []string {
- if m != nil {
- return m.Writers
- }
- return nil
-}
-
func (m *Project) GetConsoles() []*Console {
if m != nil {
return m.Consoles
@@ -86,12 +67,17 @@ type Console struct {
// Name is the longform name of the waterfall, and will be used to be
// displayed in the title.
Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
- // RepoURL is the name of the git repository to display as the rows of the console.
+ // RepoURL is the URL of the git repository to display as the rows of the console.
RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitempty"`
// Branch is the branch to pull commits from when displaying the console.
Branch string `protobuf:"bytes,4,opt,name=Branch" json:"Branch,omitempty"`
+ // ManifestName is the name of the manifest the waterfall looks at.
+ // By convention, Manifest Names can be:
+ // * UNPATCHED - For non patched builds, such as continuous builds
+ // * PATCHED - For patched builds, such as those on try jobs
+ ManifestName string `protobuf:"bytes,5,opt,name=ManifestName" json:"ManifestName,omitempty"`
// Builders is a list of builder configurations to display as the columns of the console.
- Builders []*Builder `protobuf:"bytes,5,rep,name=Builders" json:"Builders,omitempty"`
+ Builders []*Builder `protobuf:"bytes,6,rep,name=Builders" json:"Builders,omitempty"`
}
func (m *Console) Reset() { *m = Console{} }
@@ -127,6 +113,13 @@ func (m *Console) GetBranch() string {
return ""
}
+func (m *Console) GetManifestName() string {
+ if m != nil {
+ return m.ManifestName
+ }
+ return ""
+}
+
func (m *Console) GetBuilders() []*Builder {
if m != nil {
return m.Builders
@@ -136,16 +129,16 @@ func (m *Console) GetBuilders() []*Builder {
// A builder is a reference to a Milo builder.
type Builder struct {
- // Module is the name of the Milo module this builder is in reference to.
- Module string `protobuf:"bytes,1,opt,name=Module" json:"Module,omitempty"`
- // Name is the identifier to find the builder within the module.
- Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
+ // Name is the identifier to find the builder, which includes the module.
+ // Buildbot builds would be like "buildbot/chromium.linux/Linux Tests"
+ // Buildbucket builds would be like "buildbucket/luci.chromium.try/linux_chromium_rel_ng"
+ Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"`
// Category describes the hierarchy of the builder on the header of the
// console as a "|" delimited list. Neighboring builders with common ancestors
// will be have their headers merged.
- Category string `protobuf:"bytes,3,opt,name=Category" json:"Category,omitempty"`
+ Category string `protobuf:"bytes,2,opt,name=Category" json:"Category,omitempty"`
// ShortName is the 1-3 character abbreviation of the builder.
- ShortName string `protobuf:"bytes,4,opt,name=ShortName" json:"ShortName,omitempty"`
+ ShortName string `protobuf:"bytes,3,opt,name=ShortName" json:"ShortName,omitempty"`
}
func (m *Builder) Reset() { *m = Builder{} }
@@ -153,13 +146,6 @@ func (m *Builder) String() string { return proto.CompactTextString(m)
func (*Builder) ProtoMessage() {}
func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
-func (m *Builder) GetModule() string {
- if m != nil {
- return m.Module
- }
- return ""
-}
-
func (m *Builder) GetName() string {
if m != nil {
return m.Name
@@ -192,23 +178,22 @@ func init() {
}
var fileDescriptor0 = []byte{
- // 280 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xcd, 0x4a, 0xf4, 0x30,
- 0x14, 0x86, 0xe9, 0xcf, 0xd7, 0x4e, 0xcf, 0x07, 0x0a, 0x59, 0x48, 0x10, 0x17, 0xa5, 0xab, 0x82,
- 0xd8, 0x82, 0x6e, 0x5c, 0xcf, 0xcc, 0x66, 0x40, 0x45, 0x22, 0xe2, 0xba, 0x93, 0x89, 0x6d, 0xa4,
- 0xed, 0x29, 0x69, 0xba, 0xd0, 0x6b, 0xf0, 0xa2, 0xa5, 0x49, 0xa6, 0x22, 0xba, 0x29, 0x79, 0xde,
- 0xf7, 0xb4, 0xe7, 0x29, 0x81, 0xdb, 0x5a, 0xea, 0x66, 0xda, 0x17, 0x1c, 0xbb, 0xb2, 0x9d, 0xb8,
- 0x34, 0x8f, 0xab, 0x1a, 0xcb, 0x4e, 0xb6, 0x58, 0x72, 0xec, 0x3a, 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x73, 0xd9, 0xe1, 0x33, 0xbf, 0xa3, 0x13, 0x8f, 0xbf, 0x23,
+ 0x39, 0x85, 0x6c, 0x65, 0x2b, 0x23, 0x1a, 0x3a, 0xf5, 0x45, 0x4c, 0xa4, 0x80, 0xa3, 0xfb, 0xca,
+ 0xa8, 0xbd, 0xec, 0x9d, 0xbf, 0xf6, 0xcf, 0xb7, 0x07, 0xec, 0x4b, 0x79, 0x35, 0xa8, 0xf6, 0x55,
+ 0xda, 0x9e, 0x66, 0x87, 0xca, 0x91, 0xf3, 0x71, 0xa1, 0x78, 0x81, 0x3c, 0xce, 0xa3, 0x61, 0xf2,
+ 0xcb, 0xf0, 0x0c, 0x66, 0xeb, 0xca, 0xc9, 0x1a, 0xed, 0x7b, 0x34, 0x1f, 0x33, 0x39, 0x87, 0xf9,
+ 0x53, 0x83, 0x36, 0x88, 0x04, 0xff, 0x1f, 0xb0, 0xcb, 0xfc, 0x13, 0x5f, 0x7f, 0x06, 0x00, 0x00,
+ 0xff, 0xff, 0x39, 0xce, 0xf5, 0x55, 0x9e, 0x01, 0x00, 0x00,
}

Powered by Google App Engine
This is Rietveld 408576698