commit | 0ed1f105d7c6c668d1072cce1e63d6c6db8147a0 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Thu Jan 03 22:47:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 03 22:47:50 2019 |
tree | afcbb5a4463ef02fe1379a5f2a8ab96957b7b6f5 | |
parent | 8f20b70edb7d57e1fb618b36fc51e5add64cb6fc [diff] |
[lucicfg] Add graph.sorted_nodes function, rename 'exec' order to 'def'. Also clarify that graph.children(..., 'def') and graph.parents(..., 'def') sort nodes according to the order edges where defined, regardless of the order of definition of nodes themselves. On the other hand, sorted_nodes(..., 'def') sorts nodes by the order they were declared in the graph. R=tandrii@chromium.org, nodir@chromium.org BUG=833946 Change-Id: If3ce2580c72ca3ccf99e0c55130c699a7b03abdc Reviewed-on: https://chromium-review.googlesource.com/c/1394247 Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.