Open klahnakoski opened 5 years ago
This is the good version, I think it was the commas
from: perf
select:
- {value: result.stats.median, aggregate: average}
edges:
- result.test
- {value: repo.changeset.id12, allowNulls: false}
where:
and:
- or:
- {prefix: {repo.changeset.id: {$eval: rev1}}}
- {prefix: {repo.changeset.id: {$eval: rev2}}}
- {in: {repo.branch.name: {$eval: branch}}}
- {suffix: {result.test: {$eval: subtest}}}
- {prefix: {result.suite: "raptor-tp6-"}}
format: cube
limit: 1000
Yeah, there's only really two options, pyyaml and ruamel.yaml. People had previously recommended ruamel because pyyaml looked dead, but it recently got a new owner and seems active again.
Not sure which is better these days.
YAML is complicated, and space specific, so is prone to typos. The current query parser does not do a good job of portraying what's expected, forcing to me to use other tools to format the file correctly.
eg
result in