commit | df33273c1a97445114b0b913252b7b0a9a4cc241 | [log] [tgz] |
---|---|---|
author | David Burger <dburger@chromium.org> | Mon Dec 17 21:44:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 17 21:44:45 2018 |
tree | bab21d58fa8d32c9a1d2c13d42c5e4f9e4b6f762 | |
parent | 1d67f22707e061e0d56955cfbe57615b3e7520f1 [diff] |
Add bug links functionality for build pages Add the ability to put links on the build pages intended to allow prefilling of bug entry forms. Configuration protos are changed to allow the entering of an optional BugTemplate for a project. The template features summary and description placeholders that get interpolated by the context of the build. If all the interpolation placeholders for a particular template are satisfied that link is rendered on the page. The template syntax follows that of the built in go templates. That is {{.placheholder}} style. The placeholders that are allowed are documented in the proto definition file. Additional placeholders are added easily if the data needed can be obtained from either query parameters or the MiloBuild data instance. Bug: 903385 Change-Id: I9f551772d14d0b90f1adcf87bfa1d029446486d3 Reviewed-on: https://chromium-review.googlesource.com/c/1355340 Reviewed-by: David Burger <dburger@chromium.org> Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: David Burger <dburger@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.