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

Unified Diff: vpython/api/vpython/spec.proto

Issue 2921133002: [vpython] Add conditional packages based on PEP425 (Closed)
Patch Set: rebase 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
« no previous file with comments | « no previous file | vpython/api/vpython/spec.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/api/vpython/spec.proto
diff --git a/vpython/api/vpython/spec.proto b/vpython/api/vpython/spec.proto
index ae1b1ac8e94a42b5051071f96d8eba04b7d50138..ddc366c4b036c64932b5ba2278c119f7ef0cff74 100644
--- a/vpython/api/vpython/spec.proto
+++ b/vpython/api/vpython/spec.proto
@@ -38,6 +38,18 @@ message Spec {
// - For CIPD, this will be any recognized CIPD version (i.e., ID, tag, or
// ref).
string version = 2;
+
+ // Optional PEP425 tags to determine whether this package is included on the
+ // target system. If no match tags are specified, this package will always
+ // be included. If match tags are specified, the package will be included if
+ // any system PEP425 tags match at least one of the match tags.
+ //
+ // A match will succeed if any system PEP425 tag field matches the
+ // corresponding field in the PEP425 tag. If the match tag omits a field
+ // (partial), that field will not be considered. For example, if a match
+ // tag specifies just an ABI field, any system PEP425 tag with that ABI will
+ // be considered a successful match, regardless of other field values.
+ repeated vpython.Pep425Tag match_tag = 3;
}
repeated Package wheel = 2;
« no previous file with comments | « no previous file | vpython/api/vpython/spec.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698