| OLD | NEW |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. | 1 // Copyright 2017 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package vpython; | 7 package vpython; |
| 8 | 8 |
| 9 import "github.com/luci/luci-go/vpython/api/vpython/pep425.proto"; | 9 import "github.com/luci/luci-go/vpython/api/vpython/pep425.proto"; |
| 10 import "github.com/luci/luci-go/vpython/api/vpython/spec.proto"; | 10 import "github.com/luci/luci-go/vpython/api/vpython/spec.proto"; |
| 11 | 11 |
| 12 | 12 |
| 13 // Environment describes a constructed VirtualEnv. | 13 // Environment describes a constructed VirtualEnv. |
| 14 message Environment { | 14 message Environment { |
| 15 // A constructed VirtualEnv. | 15 // A constructed VirtualEnv. |
| 16 vpython.Spec spec = 1; | 16 vpython.Spec spec = 1; |
| 17 | 17 |
| 18 // The resolved runtime parameters. | 18 // The resolved runtime parameters. |
| 19 Runtime runtime = 2; | 19 Runtime runtime = 2; |
| 20 | 20 |
| 21 // The PEP425 tags that were probed for this Python environment. | 21 // The PEP425 tags that were probed for this Python environment. |
| 22 repeated vpython.Pep425Tag pep425_tag = 3; | 22 repeated vpython.PEP425Tag pep425_tag = 3; |
| 23 } | 23 } |
| 24 | 24 |
| 25 | 25 |
| 26 // Runtime is the set of resolved runtime parameters. | 26 // Runtime is the set of resolved runtime parameters. |
| 27 message Runtime { | 27 message Runtime { |
| 28 // The absolute path to the resolved interpreter. | 28 // The absolute path to the resolved interpreter. |
| 29 string path = 1; | 29 string path = 1; |
| 30 // The SHA256 hash of the resolved interpreter. | 30 // The SHA256 hash of the resolved interpreter. |
| 31 string hash = 2; | 31 string hash = 2; |
| 32 // The resolved Python interpreter version. | 32 // The resolved Python interpreter version. |
| 33 string version = 3; | 33 string version = 3; |
| 34 } | 34 } |
| 35 | 35 |
| OLD | NEW |