Chromium Code Reviews
DescriptionMake output placeholders like json.output index-able by name.
Use case: in compile step, currently goma dumps its server status to a json.output, while we wanted to dump some info from ninja into another json.output. (Please refer to patchset 2 in https://codereview.chromium.org/1766873002/)
We could take the current approach of referring to the results in a positional list. However, this is not explicit, error-prone and might cause complexity when many json.outputs are added in the same step.
Alternatively, the approach in this CL is to make output placeholders like json.outputs index-able by names, which is more convenient and less error-prone.
BUG=593198
Committed: https://github.com/luci/recipes-py/commit/13a5e85f41041a66bf717521312d63f6bfc899e4
Patch Set 1 #
Total comments: 13
Patch Set 2 : Address comments. #Patch Set 3 : Rebase uppon https://codereview.chromium.org/1785543004/ #
Total comments: 6
Patch Set 4 : Address comments. #
Total comments: 14
Patch Set 5 : Address comments. #
Total comments: 2
Patch Set 6 : Rebase. #
Messages
Total messages: 32 (19 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||