commit | 2f37f58c54c9d3ba76f8c5f13b7e890a72e74f24 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Thu Nov 29 18:12:34 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 29 18:12:34 2018 |
tree | ef63b2ea25b79d2c1cf14a609cff4d1a4365b086 | |
parent | c70000019ff6d81e3b2a74f85bab58d1593dd59c [diff] |
[starlark] Add 'stacktrace(skip=0)' builtin. It captures a stack trace at the moment it was called and returns it as a value, so it can be rendered at some later time. Will be used to "remember" where various lucicfg rules were defined, so that at a later time we can emit useful error messages. R=iannucci@chromium.org BUG=833946 Change-Id: I52d6cf694fc4a454c1534695a8f9ecc53e154c5c Reviewed-on: https://chromium-review.googlesource.com/c/1354521 Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@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.