-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support seed version setting (#1121)
Seed proto has `serial_number` and `version` fields. `serial_number` is used as etag value for fetching purposes, this value is not public. `version` on the other hand is a more public string that is also added to crash dumps. We should fill it with a sane value that can be used for debugging purposes. This change adds support for setting it to arbitrary string.
- Loading branch information
Showing
6 changed files
with
88 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[ | ||
{ | ||
"name": "TestStudy", | ||
"experiment": [ | ||
{ | ||
"name": "Enabled", | ||
"probability_weight": 100, | ||
"feature_association": { | ||
"enable_feature": [ | ||
"TestFeature" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "Disabled", | ||
"probability_weight": 0, | ||
"feature_association": { | ||
"disable_feature": [ | ||
"TestFeature" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "Default", | ||
"probability_weight": 0 | ||
} | ||
], | ||
"filter": { | ||
"min_version": "92.1.30.57", | ||
"channel": [ | ||
"NIGHTLY", | ||
"BETA", | ||
"RELEASE" | ||
], | ||
"platform": [ | ||
"PLATFORM_WINDOWS", | ||
"PLATFORM_MAC", | ||
"PLATFORM_LINUX", | ||
"PLATFORM_ANDROID" | ||
] | ||
} | ||
} | ||
] |