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

Unified Diff: vpython/api/vpython/spec.pb.go

Issue 2699223002: vpython: Add CIPD support. (Closed)
Patch Set: comments, path => name Created 3 years, 9 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 | « vpython/api/vpython/spec.proto ('k') | vpython/cipd/cipd.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/api/vpython/spec.pb.go
diff --git a/vpython/api/vpython/spec.pb.go b/vpython/api/vpython/spec.pb.go
index 05672eb244d0b7ddc596593418cd8995f9c52c2a..2b7f7b71e0b0b5a02ef2ddaf9fdd2a337176756d 100644
--- a/vpython/api/vpython/spec.pb.go
+++ b/vpython/api/vpython/spec.pb.go
@@ -79,10 +79,10 @@ func (m *Spec) GetVirtualenv() *Spec_Package {
// A definition for a remote package. The type of package depends on the
// configured package resolver.
type Spec_Package struct {
- // The path of the package.
+ // The name of the package.
//
// - For CIPD, this is the package name.
- Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The package version.
//
// - For CIPD, this will be any recognized CIPD version (i.e., ID, tag, or
@@ -95,9 +95,9 @@ func (m *Spec_Package) String() string { return proto.CompactTextStri
func (*Spec_Package) ProtoMessage() {}
func (*Spec_Package) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
-func (m *Spec_Package) GetPath() string {
+func (m *Spec_Package) GetName() string {
if m != nil {
- return m.Path
+ return m.Name
}
return ""
}
@@ -130,7 +130,7 @@ var fileDescriptor0 = []byte{
0xd5, 0x83, 0x1a, 0xa4, 0x07, 0x32, 0x44, 0x2f, 0x20, 0x31, 0x39, 0x3b, 0x31, 0x3d, 0x35, 0x08,
0xa2, 0x46, 0xc8, 0x94, 0x8b, 0xab, 0x2c, 0xb3, 0xa8, 0xa4, 0x34, 0x31, 0x27, 0x35, 0xaf, 0x4c,
0x82, 0x59, 0x81, 0x11, 0xb7, 0x0e, 0x24, 0x85, 0x52, 0xe6, 0x5c, 0xec, 0x50, 0x61, 0x21, 0x21,
- 0x2e, 0x96, 0x82, 0xc4, 0x92, 0x0c, 0xa8, 0x5b, 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0x76, 0x98, 0x13,
+ 0x2e, 0x96, 0xbc, 0xc4, 0xdc, 0x54, 0xa8, 0x5b, 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0x76, 0x98, 0x13,
0x99, 0xc0, 0xc2, 0x30, 0x6e, 0x12, 0x1b, 0xd8, 0x73, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0xbd, 0x63, 0x46, 0x9e, 0x16, 0x01, 0x00, 0x00,
+ 0xd2, 0x82, 0x26, 0x78, 0x16, 0x01, 0x00, 0x00,
}
« no previous file with comments | « vpython/api/vpython/spec.proto ('k') | vpython/cipd/cipd.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698